Created attachment 8467
sample code demonstrating the bug.
Using check-264.tar.bz2 from http://clang-analyzer.llvm.org/
In the attached code, the call to memcpy() on line 26 is clearly an error, but
is never reached because of the preceding call to die() on line 23. 'scan-
build' flags line 26 as an error.
Changing the call to die() on link 23 to die0() results in the expected
behavior from scan-build; scan-build does not flag line 26 as an error.
Of course, declaring die() with "__attribute__ ((noreturn))" results in the
expected behavior; scan-build does not flag line 26 as an error.
foo.c
(390 bytes, application/octet-stream)