Skip to content

Crash when selecting the calls to an unterminating functions

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


Id Project Category View Due Date Updated
ID0001445 Frama-C Plug-in > slicing public 2013-06-13 2014-03-13
Reporter signoles Assigned To patrick Resolution fixed
Priority high Severity crash Reproducibility always
Platform - OS - OS Version -
Product Version - Target Version Frama-C Fluorine-20130501 Fixed in Version Frama-C Neon-20140301

Description :

$ less bug.i int x = 0;

int main() { while(1) x=0; return 0; } $ frama-c.byte -slice-calls main bug.i [slicing] slicing requests in progress... [value] Analyzing a complete application starting at main [value] Computing initial state [value] Initial state computed [value] Values of globals at initialization x ? {0} bug.i:4:[value] entering loop for the first time [value] Recording results for main [value] done for function main [slicing] making slicing project 'Slicing'... [slicing] interpreting slicing requests from the command line... [pdg] computing for function main bug.i:6:[pdg] warning: no final state. Probably unreachable... [pdg] done for function main [kernel] Current source was: bug.i:5 The full backtrace is: Raised at file "src/slicing/register.ml", line 150, characters 23-35 Called from file "src/slicing/slicingCmds.ml", line 200, characters 25-96

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