Forgive my ignorance. I need to do calculate backward slices for a project. After some searching, I came across frama-c. I downloaded the package on my ubuntu system which got me Frama-c Version: Fluorine-20130601. I am trying to use it for the first time. When finding out the undefined functions in my project almost all library functions are undefined, even printf, scanf etc(Neither code nor specification for function printf). According to the tutorial, I have to add stubs for all the undefined functions. Do I really have to add code for every library function that I am using even printf? Please guide.
相关问题
- Prolog Family Relation, unexpected failure
- what's the meaning of the circle node in pdgs
- Printing path in Prolog
- Understanding Frama-C slicer results
- frama-c malloc Neon-20140301 fatal error
相关文章
- Understanding Frama-C slicer results
- frama-c malloc Neon-20140301 fatal error
- Frama-C-Plugin: Set value of variable in plugin
- Adding Code of missing functions in frama-c
- How do I prove code with a real axiomatic in Frama
- Dynamic array with Frama-C and Eva
- Something wrong with predicate in prolog-same resu
- Syntax error in Frama-C due to custom machdep
You should update to Frama-C Phosphorus, which brings tons of improvements regarding Variadic functions. In particular, specifications are automatically generated for printf/scanf-like functions when they are called on a constant format string. For non-variadic functions, some basic implementations are available in the directory
$FRAMA_C_INSTALL/share/libc/*.c
(in recent releases of Frama-C).