Skip to content

Emitted assertion wrongly reduces to bottom (apparently) (csmith)

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


Id Project Category View Due Date Updated
ID0001024 Frama-C Plug-in > Eva public 2011-11-19 2014-02-12
Reporter pascal Assigned To yakobowski Resolution fixed
Priority normal Severity major Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C Nitrogen-20111001 Target Version Frama-C Oxygen-20120901 Fixed in Version Frama-C Oxygen-20120901

Description :

Soundness bug, probably caused by wrong reduction on emitted assertions.

~/ppc/bin/toplevel.opt -slevel 5 -slevel-function main:0 -no-results -val-signed-overflow-alarms -cpp-command "gcc -C -E -Iruntime -m32 " a.c -precise-unions -val ... a.c:236:[value] Assertion got status invalid (stopping propagation). [value] Recording results for func_1 [value] Done for function func_1 [value] Recording results for main [value] done for function main [value] ====== VALUES COMPUTED ======

L'analyse avec -slevel 5 dit que la fin du programme et le Frama_C_dump... n'est pas atteint. Pourtant, il l'est comme le montre l'analyse avec -slevel 5000000:

~/ppc/bin/toplevel.opt -slevel 5000000 -slevel-function main:0 -no-results -val-signed-overflow-alarms -cpp-command "gcc -C -E -Iruntime -m32 " a.c -precise-unions -val ...

     && *(unsigned short*)&g_1113 == 65535)
    End of Frama_C_dump_assert_each output

[value] Recording results for main [value] done for function main [value] ====== VALUES COMPUTED ======

Attachments

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