Skip to content

r11920: Analyses -> Show callgraph requires a main function

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


Id Project Category View Due Date Updated
ID0000723 Frama-C Graphical User Interface public 2011-02-15 2014-02-12
Reporter pascal Assigned To signoles Resolution fixed
Priority normal Severity major 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 :

Launch the GUI on a C file without a main(): bin/viewer.opt tests/idct/idct.c

Select Analyses -> Show callgraph

Result: [kernel] preprocessing with "gcc -C -E -I. tests/idct/idct.c" [cg] beginning analysis [gui] user error: cannot find entry point main'. Please use option -main' for specifying a valid entry point.

Considering that the syntactic callgraph is most useful to find which function is the entry point, this is annoying.

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