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
6f11c879
Commit
6f11c879
authored
5 years ago
by
Valentin Perrelle
Committed by
David Bühler
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[Dive] Add type information to each node
parent
ee3a9b25
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/dive/imprecision_graph.ml
+13
-5
13 additions, 5 deletions
src/plugins/dive/imprecision_graph.ml
with
13 additions
and
5 deletions
src/plugins/dive/imprecision_graph.ml
+
13
−
5
View file @
6f11c879
...
...
@@ -267,12 +267,20 @@ struct
(
"label"
,
Json
.
of_string
label
)
;
(
"kind"
,
output_node_kind
node
.
node_kind
)
;
(
"locality"
,
output_node_locality
node
.
node_locality
)
;
(
"explored"
,
Json
.
of_bool
node
.
node_deps_computed
)
(
"explored"
,
Json
.
of_bool
node
.
node_deps_computed
)
;
]
@
match
node
.
node_values
with
|
None
->
[]
|
Some
node_values
->
[(
"values"
,
output_node_values
node_values
)]
)
begin
match
node
.
node_values
with
|
None
->
[]
|
Some
node_values
->
[(
"values"
,
output_node_values
node_values
)]
end
@
begin
match
Node_kind
.
to_lval
node
.
node_kind
with
|
None
->
[]
|
Some
lval
->
let
typ
=
Cil
.
typeOfLval
lval
in
let
str
=
Pretty_utils
.
to_string
Cil_printer
.
pp_typ
typ
in
[(
"type"
,
Json
.
of_string
str
)]
end
)
let
output_dep
(
n1
,
dep
,
n2
)
=
Json
.
of_fields
[
...
...
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