Skip to content

r12951, sliced program does not terminate

ID0000802: This issue was created automatically from Mantis Issue 802. Further discussion may take place here.


Id Project Category View Due Date Updated
ID0000802 Frama-C Plug-in > slicing public 2011-04-20 2011-10-10
Reporter pascal Assigned To Anne Resolution fixed
Priority normal Severity minor Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C GIT, precise the release id Target Version - Fixed in Version Frama-C Nitrogen-20111001

Description :

The original program terminates:

gcc -I runtime -m32 show_each.c nonterminatingslice/s.20153409.4.c

./a.out [value] Called Frama_C_show_each({1696784233; }) [value] Called Frama_C_show_each({538004427; }) [value] Called Frama_C_show_each({3729539076; }) [value] Called Frama_C_show_each({3984566477; }) [value] Called Frama_C_show_each({2563812225; }) [value] Called Frama_C_show_each({1179156549; }) [value] Called Frama_C_show_each({1179156549; })

The sliced one doesn't.

The slicing command was:

~/ppc/bin/toplevel.opt -val-signed-overflow-alarms nonterminatingslice/s.20153409.4.c -cpp-command "gcc -m32 -C -E -D__FRAMAC -I. -I$CSMITH/runtime " -slice-calls Frama_C_show_each -slevel 5000 -slevel-function crc32_gentab:0 -then-on 'Slicing export' -print -ocode s.c

Attachments

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information