For Frama-C and the WP plugin, how can a user assert that a point in a program is unreachable?
Looking for something like:
//@ assert \unreachable;
For Frama-C and the WP plugin, how can a user assert that a point in a program is unreachable?
Looking for something like:
//@ assert \unreachable;
You can use
//@ assert \false;for an assertion that a point is unreachable because:via Introduction to C program proof with Frama-C and its WP plugin by Allan Blanchard.
e.g. For a given file
main.c:To verify that the assertion is proved:
The above is using
frama-cversion 25.0 (Manganese).