Inspecting results¶
HTML¶
- Run Goblint with additional
--htmlargument. - Run
python3 -m http.server --directory result 8080ornpx http-server -c-1 result. - Inspect results at http://localhost:8080/index.xml.
Modern browsers' security settings forbid some file access which is necessary for the HTML output to work, hence the need for serving the results via Python's http.server (or similar).
g2html (legacy)¶
If there are problems with the above HTML output, the legacy g2html output (using an external Java component) is still possible. The frontend of the above HTML output is reused from g2html, so the two look the same (except for code highlighting).
- First time run:
make jar. - Run Goblint with additional
--set result g2htmlarguments. - Run
python3 -m http.server --directory result 8080ornpx http-server -c-1 result. - Inspect results at http://localhost:8080/index.xml.
Modern browsers' security settings forbid some file access which is necessary for g2html to work, hence the need for serving the results via Python's http.server (or similar).
GobView¶
Note: GobView is not compatible with OCaml 4 any more. Use OCaml 5.0.0 or newer.
For the initial setup:
- Install Node.js (preferably ≥ 12.0.0) and npm (≥ 5.2.0)
- Run
make setup_gobviewin the analyzer directory
To build GobView (also for development):
- Run
make viewin the analyzer directory to build the web UI - The executable
goblint_http.exetakes the analyzer directory and additional Goblint configurations such as the files to be analyzed as parameters. Run it e.g. with the following command:\./goblint_http.exe tests/regression/00-sanity/01-assert.c - Visit http://localhost:8080