Summary: Ran into this issue on Debian Testing, in which assert.h is probably different due to a more recent toolchain. Without this change I get the following CFG for `assert(e)`: ``` start |-> prune (e) -> join |-> prune (!e) -> __infer_fail("ASSERTION_FAILURE") -> exit ``` Notice that the first branch does not get to the exit, so infer must think that the assertion is *always* violated, and reports `error: ASSERTION_FAILURE`. This is broken. Reviewed By: dulmarod Differential Revision: D7067822 fbshipit-source-id: a2bf5acmaster
parent
bb8ba0e7a4
commit
c2c9c94d5e
Loading…
Reference in new issue