Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error happens when parsing the json file #1

Open
wupco opened this issue Jan 22, 2024 · 0 comments
Open

Error happens when parsing the json file #1

wupco opened this issue Jan 22, 2024 · 0 comments

Comments

@wupco
Copy link

wupco commented Jan 22, 2024

Hi!

SAVER throws this error:

- Reading error report from /home/xx/saver-1.0/infer/bin/b.json!
Uncaught Internal Error: ("Yojson.Basic.Util.Type_error(\"Expected string, got null\", 870828711)")
Error backtrace:
Raised at file "util.ml", line 15, characters 20-60
Called from file "util.ml" (inlined), line 95, characters 10-43
Called from file "util.ml" (inlined), line 19, characters 13-19
Called from file "src/saver/errReport.ml", line 309, characters 4-42
Called from file "src/saver/errReport.ml", line 386, characters 8-214
Called from file "src/saver/saver.ml" (inlined), line 39, characters 14-50
Called from file "src/infer.ml", line 281, characters 11-24
Re-raised at file "src/infer.ml", line 281, characters 11-24

The json file is:

{
  "err_type": "USE_AFTER_FREE",
  "source": { "node": {"filename": "overview-example.c", "procedure": "main", "line": 15 } },
   "sink": { "node": { "filename": "overview-example.c", "procedure": "main", "line": 16 } }
}

Could you update the JSON format description in install.md? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant