Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h | ||
---|---|---|
243 ↗ | (On Diff #163953) | Type needs to be updated. |
Comment Actions
The interesting part here is that you immediately see in which order nodes were created, which is great for debugging exploration order.
clang/lib/StaticAnalyzer/Core/ExprEngine.cpp | ||
---|---|---|
3150 ↗ | (On Diff #163953) | Formatting. |
Comment Actions
Hey guys, the assertion is being triggered for me (I'm using clang r342322):
$ cat ~/main.c void foo(unsigned width) { int base; int i = 0; if (i % width == 0) base = 1; assert(base == 1); } $ clang -cc1 -analyze -analyzer-checker=core ~/main.c -analyzer-viz-egraph-graphviz -trim-egraph /home/mramalho/main.c:9:3: warning: implicit declaration of function 'assert' is invalid in C99 assert(base == 1); ^ Writing '/tmp/TrimmedExprEngine-5b12da.dot'... clang: ../tools/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp:288: int64_t clang::ento::ExplodedNode::getID(clang::ento::ExplodedGraph*) const: Assertion `Out && "Wrong allocator used"' failed. Aborted (core dumped)