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.
Adding Code of missing functions in frama-c
102 Views Asked by Jina Lee At
1
There are 1 best solutions below
Related Questions in FRAMA-C
- cannot prove function in frama-C
- Using Frama-C to slice from a large project
- Frama-c cannot prove loop implemented by goto
- Export SAT/SMT-Equations sent to the solver by FRAMA-C/WP
- Why WP with Z3 proves \false when access to struct field is defined?
- Has Frama-C been verified?
- IDEs / Workflows for Frama-C? (notably, for the WP plugin)
- How to demonstrate prerequisites set by instantiate plugin with WP
- Defining hardware "storage" for processing by Frama-C EVA
- Error while installing libgnomecanvas in MacOS Ventura (Frama-C pre-requisite) using brew on terminal
- How to instruct WP not to analyze dead or unreachable code
- Tracking chained usage in huge legacy C codebase with Frama-C
- How to increase Frama-C's GUI font/text size?
- __e_acsl_assert is not getting added for all given assert in .i file
- Failed to verifying the occurrence of a value in an array with logic function
Related Questions in PROGRAM-SLICING
- Using Frama-C to slice from a large project
- Is there any way to remove letters from a word starting with a Vowel? Python
- Trouble implementing greater-than/inequality sudoku solver in SWI-Prolog
- Basic string slicing from indices
- SIice a numpy array based on an interval?
- Python: Given a list of integers x, write a single expression that returns True if all odd index values are twice their preceding values
- frama-c slicing plugin appears to discard used stack values
- Solving a puzzle in Prolog about time constraints
- How does the program-slicing plug-in Indus and kaveri work in eclipse?
- How to use WALA for Forward Slicing
- Using FlowDroid programmatically with the Soot framework?
- Program slicing in python
- Slicing a C code with Frama-c
- Slicing with Frama-c
- How to install Impact Analysis Plug-in for Frama-c on Ubuntu 14.04?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
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).