Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Frama-C
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LustreC
Frama-C
Commits
108c8881
Commit
108c8881
authored
Apr 1, 2022
by
David Bühler
Browse files
Options
Downloads
Patches
Plain Diff
[callgraph] Uses Eva.Results instead of Db.Value.
parent
00b2b916
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/plugins/callgraph/cg.ml
+1
-1
1 addition, 1 deletion
src/plugins/callgraph/cg.ml
tests/value/oracle/loopfun.0.res.oracle
+9
-9
9 additions, 9 deletions
tests/value/oracle/loopfun.0.res.oracle
with
10 additions
and
10 deletions
src/plugins/callgraph/cg.ml
+
1
−
1
View file @
108c8881
...
...
@@ -205,7 +205,7 @@ let syntactic_compute g =
let
semantic_compute
g
=
Globals
.
Functions
.
iter
(
fun
kf
->
let
callers
=
!
Db
.
Value
.
calle
r
s
kf
in
let
callers
=
Eva
.
Results
.
call
sit
es
kf
in
let
must_add
=
callers
<>
[]
(* the function is called *)
||
is_entry_point
kf
...
...
This diff is collapsed.
Click to expand it.
tests/value/oracle/loopfun.0.res.oracle
+
9
−
9
View file @
108c8881
...
...
@@ -42,23 +42,27 @@
[eva] Recording results for main
[eva] done for function main
[eva] ====== VALUES COMPUTED ======
[from] Computing for function main
[from] Done for function main
[from] Computing for function main2
[from] Done for function main2
[from] Computing for function test
[from] Done for function test
[from] Computing for function main
[from] Done for function main
[from] ====== DEPENDENCIES COMPUTED ======
These dependencies hold at termination for the executions that terminate:
[from] Function main:
FROMTOP
\result FROM ANYTHING(origin:Unknown)
[from] Function main2:
FROMTOP
[from] Function test:
FROMTOP
\result FROM ANYTHING(origin:Unknown)
[from] Function main:
FROMTOP
\result FROM ANYTHING(origin:Unknown)
[from] ====== END OF DEPENDENCIES ======
[inout] Out (internal) for function main:
ANYTHING(origin:Unknown)
[inout] Inputs for function main:
ANYTHING(origin:Unknown)
[inout] Out (internal) for function main2:
\nothing
[inout] Inputs for function main2:
...
...
@@ -67,7 +71,3 @@
tmp; a
[inout] Inputs for function test:
a
[inout] Out (internal) for function main:
ANYTHING(origin:Unknown)
[inout] Inputs for function main:
ANYTHING(origin:Unknown)
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