Skip to content

Instantly share code, notes, and snippets.

@podhmo
Last active September 13, 2025 14:00
Show Gist options
  • Save podhmo/f5be98fd0d3c659fec89513b2079ed59 to your computer and use it in GitHub Desktop.
Save podhmo/f5be98fd0d3c659fec89513b2079ed59 to your computer and use it in GitHub Desktop.

再現方法は go-scanリポジトリで make -C examples/find-orphans

エラーログのグルーピング (全79行)

グループ1: 未解決の関数の間接参照エラー (計52回)

stringsfmtencoding/jsonstrconv パッケージ内の型や関数が解決できないままポインタとして参照しようとしたため、大量のエラーが発生しています。

  • エラーメッセージ: invalid indirect of <Unresolved Function: ...> (type *object.UnresolvedFunction)
  • 発生箇所:
    • .../examples/minigo/main.go:31:2 (6回)
    • .../examples/minigo/main.go:32:2 (12回)
    • .../examples/minigo/main.go:33:2 (32回)
    • .../examples/minigo/main.go:34:2 (2回)
  • 詳細: このエラーは2つのタイムスタンプ (22:41:00.06022:41:00.221...222) で、全く同じ内容が2回繰り返されています (それぞれ26回ずつ)。

グループ2: サポートされていない単項演算子 (計10回)

SYMBOLIC_PLACEHOLDER という特殊な型に対して、単項マイナス演算子 - を使用しようとしたため、エラーが発生しています。

  • エラーメッセージ: unary operator - not supported for type SYMBOLIC_PLACEHOLDER
  • 発生箇所:
    • .../minigo/evaluator/evaluator.go:761:10 (関数: evalMinusPrefixOperatorExpression)
  • 詳細: 5つの異なるタイムスタンプで2回ずつ、計10回発生しています。

グループ3: 識別子が見つからないエラー (計9回)

変数や定数などの識別子 varDecls または constDecls が見つからないというエラーです。

  • エラーメッセージ:
    • identifier not found: varDecls (6回)
    • identifier not found: constDecls (3回)
  • 発生箇所:
    • .../minigo/evaluator/evaluator.go:2623:26 (関数: registerDecls)
  • 詳細: 3つの異なるタイムスタンプで3回ずつ、計9回発生しています。

グループ4: 実行失敗の要約メッセージ (計4回)

先行する具体的なエラー(グループ1, 3, 5)の結果として、シンボリック実行全体が失敗したことを示す要約メッセージです。

  • エラーメッセージ: symbolic execution failed for entry point
  • 詳細: このメッセージは、他の根本原因となるエラーに付随して出力されています。
    • ...got UNRESOLVED_FUNCTION に関連して2回
    • undefined method: Value... に関連して1回
    • identifier not found: varDecls に関連して1回

グループ5: セレクタの左辺に関するエラー (計2回)

セレクタ (.) の左辺の型が期待されるものではないというエラーです。

  • エラーメッセージ: expected a package, instance, or pointer on the left side of selector, but got UNRESOLVED_FUNCTION
  • 発生箇所:
    • .../examples/deps-walk/main.go:94:12 (関数: run)
    • .../examples/convert/main.go:91:12 (関数: run)

グループ6: 未定義のメソッド呼び出し (計1回)

特定の型に定義されていないメソッドを呼び出そうとしたエラーです。

  • エラーメッセージ: undefined method: Value on github.com/podhmo/go-scan/minigo.Result
  • 発生箇所:
    • .../examples/docgen/loader.go:53:12 (関数: As)

グループ7: サポートされていない fallthrough ステートメント (計1回)

switch 文で fallthrough が使用されていますが、実行環境がそれをサポートしていないエラーです。

  • エラーメッセージ: unsupported branch statement: fallthrough
  • 発生箇所:
    • .../examples/find-orphans/main.go:272:9 (関数: analyze)

合計

  • グループ1: 52回
  • グループ2: 10回
  • グループ3: 9回
  • グループ4: 4回
  • グループ5: 2回
  • グループ6: 1回
  • グループ7: 1回
  • 総合計: 79回
time=2025-09-13T22:40:59.906+09:00 level=ERROR msg="expected a package, instance, or pointer on the left side of selector, but got UNRESOLVED_FUNCTION" in_func=run in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/deps-walk/main.go:94:12 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=460798
time=2025-09-13T22:40:59.906+09:00 level=ERROR msg="symbolic execution failed for entry point" function=github.com/podhmo/go-scan/examples/deps-walk.main error="symgo runtime error: expected a package, instance, or pointer on the left side of selector, but got UNRESOLVED_FUNCTION
time=2025-09-13T22:40:59.923+09:00 level=ERROR msg="unsupported branch statement: fallthrough" in_func=analyze in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/find-orphans/main.go:272:9 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=823861
time=2025-09-13T22:40:59.946+09:00 level=ERROR msg="identifier not found: varDecls" in_func=registerDecls in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/minigo/evaluator/evaluator.go:2623:26 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1194222
time=2025-09-13T22:40:59.946+09:00 level=ERROR msg="identifier not found: constDecls" in_func=registerDecls in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/minigo/evaluator/evaluator.go:2623:26 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1194283
time=2025-09-13T22:40:59.946+09:00 level=ERROR msg="identifier not found: varDecls" in_func=registerDecls in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/minigo/evaluator/evaluator.go:2623:26 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1194321
time=2025-09-13T22:41:00.001+09:00 level=ERROR msg="unary operator - not supported for type SYMBOLIC_PLACEHOLDER" in_func=evalMinusPrefixOperatorExpression in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/minigo/evaluator/evaluator.go:761:10 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=0
time=2025-09-13T22:41:00.001+09:00 level=ERROR msg="unary operator - not supported for type SYMBOLIC_PLACEHOLDER" in_func=evalMinusPrefixOperatorExpression in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/minigo/evaluator/evaluator.go:761:10 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=0
time=2025-09-13T22:41:00.028+09:00 level=ERROR msg="undefined method: Value on github.com/podhmo/go-scan/minigo.Result" in_func=As in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/docgen/loader.go:53:12 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=923215
time=2025-09-13T22:41:00.028+09:00 level=ERROR msg="symbolic execution failed for entry point" function=github.com/podhmo/go-scan/examples/docgen.main error="symgo runtime error: undefined method: Value on github.com/podhmo/go-scan/minigo.Result
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: strings.Builder> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:31:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1440636
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: strings.Reader> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:31:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1440704
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: strings.Replacer> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:31:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1440771
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: fmt.Formatter> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:32:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1375910
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: fmt.GoStringer> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:32:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1375974
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: fmt.ScanState> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:32:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1376039
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: fmt.Scanner> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:32:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1376103
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: fmt.State> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:32:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1376165
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: fmt.Stringer> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:32:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1376225
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.Decoder> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1371257
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.Delim> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1371329
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.Encoder> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1371399
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.InvalidUTF8Error> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1371471
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.InvalidUnmarshalError> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1371552
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.Marshaler> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1371638
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.MarshalerError> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1371712
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.Number> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1371791
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.RawMessage> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1371862
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.SyntaxError> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1371937
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.Token> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1372013
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.UnmarshalFieldError> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1372083
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.UnmarshalTypeError> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1372167
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.Unmarshaler> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1372250
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.UnsupportedTypeError> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1372326
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.UnsupportedValueError> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1372411
time=2025-09-13T22:41:00.060+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: strconv.NumError> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:34:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1435291
time=2025-09-13T22:41:00.115+09:00 level=ERROR msg="unary operator - not supported for type SYMBOLIC_PLACEHOLDER" in_func=evalMinusPrefixOperatorExpression in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/minigo/evaluator/evaluator.go:761:10 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=0
time=2025-09-13T22:41:00.115+09:00 level=ERROR msg="unary operator - not supported for type SYMBOLIC_PLACEHOLDER" in_func=evalMinusPrefixOperatorExpression in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/minigo/evaluator/evaluator.go:761:10 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=0
time=2025-09-13T22:41:00.195+09:00 level=ERROR msg="unary operator - not supported for type SYMBOLIC_PLACEHOLDER" in_func=evalMinusPrefixOperatorExpression in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/minigo/evaluator/evaluator.go:761:10 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=0
time=2025-09-13T22:41:00.195+09:00 level=ERROR msg="unary operator - not supported for type SYMBOLIC_PLACEHOLDER" in_func=evalMinusPrefixOperatorExpression in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/minigo/evaluator/evaluator.go:761:10 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=0
time=2025-09-13T22:41:00.221+09:00 level=ERROR msg="identifier not found: varDecls" in_func=registerDecls in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/minigo/evaluator/evaluator.go:2623:26 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1194222
time=2025-09-13T22:41:00.221+09:00 level=ERROR msg="identifier not found: constDecls" in_func=registerDecls in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/minigo/evaluator/evaluator.go:2623:26 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1194283
time=2025-09-13T22:41:00.221+09:00 level=ERROR msg="identifier not found: varDecls" in_func=registerDecls in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/minigo/evaluator/evaluator.go:2623:26 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1194321
time=2025-09-13T22:41:00.221+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: strings.Builder> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:31:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1440636
time=2025-09-13T22:41:00.221+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: strings.Reader> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:31:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1440704
time=2025-09-13T22:41:00.221+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: strings.Replacer> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:31:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1440771
time=2025-09-13T22:41:00.221+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: fmt.Formatter> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:32:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1375910
time=2025-09-13T22:41:00.221+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: fmt.GoStringer> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:32:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1375974
time=2025-09-13T22:41:00.221+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: fmt.ScanState> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:32:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1376039
time=2025-09-13T22:41:00.221+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: fmt.Scanner> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:32:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1376103
time=2025-09-13T22:41:00.221+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: fmt.State> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:32:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1376165
time=2025-09-13T22:41:00.221+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: fmt.Stringer> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:32:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1376225
time=2025-09-13T22:41:00.222+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.Decoder> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1371257
time=2025-09-13T22:41:00.222+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.Delim> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1371329
time=2025-09-13T22:41:00.222+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.Encoder> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1371399
time=2025-09-13T22:41:00.222+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.InvalidUTF8Error> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1371471
time=2025-09-13T22:41:00.222+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.InvalidUnmarshalError> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1371552
time=2025-09-13T22:41:00.222+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.Marshaler> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1371638
time=2025-09-13T22:41:00.222+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.MarshalerError> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1371712
time=2025-09-13T22:41:00.222+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.Number> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1371791
time=2025-09-13T22:41:00.222+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.RawMessage> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1371862
time=2025-09-13T22:41:00.222+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.SyntaxError> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1371937
time=2025-09-13T22:41:00.222+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.Token> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1372013
time=2025-09-13T22:41:00.222+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.UnmarshalFieldError> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1372083
time=2025-09-13T22:41:00.222+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.UnmarshalTypeError> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1372167
time=2025-09-13T22:41:00.222+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.Unmarshaler> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1372250
time=2025-09-13T22:41:00.222+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.UnsupportedTypeError> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1372326
time=2025-09-13T22:41:00.222+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: encoding/json.UnsupportedValueError> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:33:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1372411
time=2025-09-13T22:41:00.222+09:00 level=ERROR msg="invalid indirect of <Unresolved Function: strconv.NumError> (type *object.UnresolvedFunction)" in_func=Install in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/minigo/main.go:34:2 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1435291
time=2025-09-13T22:41:00.297+09:00 level=ERROR msg="unary operator - not supported for type SYMBOLIC_PLACEHOLDER" in_func=evalMinusPrefixOperatorExpression in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/minigo/evaluator/evaluator.go:761:10 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=0
time=2025-09-13T22:41:00.297+09:00 level=ERROR msg="unary operator - not supported for type SYMBOLIC_PLACEHOLDER" in_func=evalMinusPrefixOperatorExpression in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/minigo/evaluator/evaluator.go:761:10 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=0
time=2025-09-13T22:41:00.376+09:00 level=ERROR msg="unary operator - not supported for type SYMBOLIC_PLACEHOLDER" in_func=evalMinusPrefixOperatorExpression in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/minigo/evaluator/evaluator.go:761:10 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=0
time=2025-09-13T22:41:00.376+09:00 level=ERROR msg="unary operator - not supported for type SYMBOLIC_PLACEHOLDER" in_func=evalMinusPrefixOperatorExpression in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/minigo/evaluator/evaluator.go:761:10 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=0
time=2025-09-13T22:41:00.402+09:00 level=ERROR msg="identifier not found: varDecls" in_func=registerDecls in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/minigo/evaluator/evaluator.go:2623:26 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1194222
time=2025-09-13T22:41:00.402+09:00 level=ERROR msg="identifier not found: constDecls" in_func=registerDecls in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/minigo/evaluator/evaluator.go:2623:26 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1194283
time=2025-09-13T22:41:00.402+09:00 level=ERROR msg="identifier not found: varDecls" in_func=registerDecls in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/minigo/evaluator/evaluator.go:2623:26 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=1194321
time=2025-09-13T22:41:00.402+09:00 level=ERROR msg="symbolic execution failed for entry point" function=github.com/podhmo/go-scan/examples/convert-define.main error="symgo runtime error: identifier not found: varDecls
time=2025-09-13T22:41:00.423+09:00 level=ERROR msg="expected a package, instance, or pointer on the left side of selector, but got UNRESOLVED_FUNCTION" in_func=run in_func_pos=$HOME/ghq/github.com/podhmo/go-scan/examples/convert/main.go:91:12 exec_pos=$HOME/ghq/github.com/podhmo/go-scan/symgo/evaluator/evaluator.go:2730 pos=239074
time=2025-09-13T22:41:00.423+09:00 level=ERROR msg="symbolic execution failed for entry point" function=github.com/podhmo/go-scan/examples/convert.main error="symgo runtime error: expected a package, instance, or pointer on the left side of selector, but got UNRESOLVED_FUNCTION
@podhmo
Copy link
Author

podhmo commented Sep 13, 2025

unsupported branch statement: fallthrough

これは対応楽

@podhmo
Copy link
Author

podhmo commented Sep 13, 2025

invalid indirect of <Unresolved Function: ...> (type *object.UnresolvedFunction)

これを片付けたい。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment