Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
d5eff429
Commit
d5eff429
authored
4 years ago
by
David Bühler
Browse files
Options
Downloads
Patches
Plain Diff
[variadic] In tests, uses the Eva parameter -eva-unroll-recursive-calls.
Instead of the deprecated parameter -eva-ignore-recursive-calls.
parent
fb6421ec
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/plugins/variadic/tests/defined/oracle/recursive.res.oracle
+2
-6
2 additions, 6 deletions
...lugins/variadic/tests/defined/oracle/recursive.res.oracle
src/plugins/variadic/tests/defined/recursive.i
+1
-1
1 addition, 1 deletion
src/plugins/variadic/tests/defined/recursive.i
with
3 additions
and
7 deletions
src/plugins/variadic/tests/defined/oracle/recursive.res.oracle
+
2
−
6
View file @
d5eff429
...
@@ -6,15 +6,11 @@
...
@@ -6,15 +6,11 @@
[eva] Analyzing a complete application starting at main
[eva] Analyzing a complete application starting at main
[eva] Computing initial state
[eva] Computing initial state
[eva] Initial state computed
[eva] Initial state computed
[eva] tests/defined/recursive.i:8: Warning:
[eva] tests/defined/recursive.i:8: detected recursive call of function f.
recursive call during value analysis
of f (f <- f :: tests/defined/recursive.i:12 <- main). Assuming the call has
no effect. The analysis will be unsound.
[eva] using specification for function f
[eva] done for function main
[eva] done for function main
[eva] ====== VALUES COMPUTED ======
[eva] ====== VALUES COMPUTED ======
[eva:final-states] Values at end of function f:
[eva:final-states] Values at end of function f:
__retres ∈
[--..--]
__retres ∈
{42}
[eva:final-states] Values at end of function main:
[eva:final-states] Values at end of function main:
/* Generated by Frama-C */
/* Generated by Frama-C */
...
...
This diff is collapsed.
Click to expand it.
src/plugins/variadic/tests/defined/recursive.i
+
1
−
1
View file @
d5eff429
/* run.config
/* run.config
STDOPT: +"-eva-
ignore
-recursive-calls"
STDOPT: +"-eva-
unroll
-recursive-calls
10
"
*/
*/
int
f
(
int
a
,
...)
{
int
f
(
int
a
,
...)
{
if(a <= 0)
if(a <= 0)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment