r13089 sliced program computes differently from original (csmith)
ID0000808: This issue was created automatically from Mantis Issue 808. Further discussion may take place here.
Id | Project | Category | View | Due Date | Updated |
---|---|---|---|---|---|
ID0000808 | Frama-C | Plug-in > slicing | public | 2011-04-29 | 2014-02-12 |
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 :
~/ppc/bin/toplevel.opt -val-signed-overflow-alarms s.29114540.2.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.29114540.2.s.c
original compiled as 32-bit produces:
each: 1877464688 each: 923383238 each: 3118711398 each: 2770598846 each: 3750958151 each: 1873579612 each: 1348507732 each: 1348507732
sliced program produces:
each: 1877464688 each: 923383238 each: 3118711398 each: 2770598846 each: 130171288 each: 3207316278 each: 3201788839 each: 3201788839
It seems that the sliced program does not preserve the value of g_14 (see sequence of calls to transparent_crc() in main()).