Open sim642 opened 1 year ago
The problem was caused by our redefinition of assert
not accounting forSQLITE_DEBUG
, which is easily fixed.
Same as above, but with
goblint -v compile_commands.json --set pre.cppflags[+] '-DSQLITE_DEBUG'
Gets past the SQLite issue but crashes due to conflicting global initializers during merging:
The two initializers are:
char *netdata_configured_host_prefix = NULL;
char *netdata_configured_host_prefix = "";
I guess GCC is somehow fine with this and picks one of the two using whatever logic (linker arguments order?).
https://github.com/netdata/netdata
Initial attempt
Goblint version: heads/master-0-ge223b4f36-dirty.
Checked out git tag
v.1.36.1
and executed:Crashes due to parsing errors in vendored SQLite (somehow not a problem in #19):