-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Semantic search returns no results.
Steps to reproduce the issue:
- Run Goblint & start an HTTP server in the
run
directory:
$ ./goblint --enable gobview tests/regression/03-practical/06-callback.c && cd run && python3 -m http.server
- Open the web UI. Scroll down until you see "Switch to JSON editor" and click it.
- Enter the following query and click "Execute":
{"kind":["var"],"target":["name","x"],"find":["uses"],"expression":"x == 5","mode":["Must"]}
If you save the same query in a file (e.g., query.json
) and execute the semantic search in the terminal like this, it returns the expected results:
$ ./goblint tests/regression/03-practical/06-callback.c --set 'trans.activated[+]' expeval --set trans.expeval.query_file_name query.json
tests/regression/03-practical/06-callback.c:9:3-9:8 [16587]
tests/regression/03-practical/06-callback.c:19:3-19:17 [16685]
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working