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
ad68ddf1
Commit
ad68ddf1
authored
2 years ago
by
David Bühler
Browse files
Options
Downloads
Patches
Plain Diff
[Dive] Fixes a typo, and minor style changes.
parent
e9f8c9f1
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/dive/dive_graph.ml
+1
-1
1 addition, 1 deletion
src/plugins/dive/dive_graph.ml
src/plugins/dive/node_kind.ml
+5
-5
5 additions, 5 deletions
src/plugins/dive/node_kind.ml
with
6 additions
and
6 deletions
src/plugins/dive/dive_graph.ml
+
1
−
1
View file @
ad68ddf1
...
...
@@ -339,7 +339,7 @@ struct
let
output_taint
=
function
|
Eva
.
Results
.
Direct
->
`String
"direct"
|
Indirect
->
`String
"ind
d
irect"
|
Indirect
->
`String
"indirect"
|
Untainted
->
`String
"untainted"
let
output_node
node
=
...
...
This diff is collapsed.
Click to expand it.
src/plugins/dive/node_kind.ml
+
5
−
5
View file @
ad68ddf1
...
...
@@ -70,7 +70,7 @@ struct
Datatype
.
Int
.
compare
i1
i2
|
String
_
,
_
->
1
|
_
,
String
_
->
-
1
|
Const
(
e1
)
,
Const
(
e2
)
->
|
Const
e1
,
Const
e2
->
Cil_datatype
.
Exp
.
compare
e1
e2
|
Const
_
,
_
->
1
|
_
,
Const
_
->
-
1
...
...
@@ -90,7 +90,7 @@ struct
Stmt
.
equal
stmt1
stmt2
&&
Alarms
.
equal
alarm1
alarm2
|
AbsoluteMemory
,
AbsoluteMemory
->
true
|
String
(
i
,_
)
,
String
(
j
,_
)
->
Datatype
.
Int
.
equal
i
j
|
Const
(
e1
)
,
Const
(
e2
)
->
Cil_datatype
.
Exp
.
equal
e1
e2
|
Const
e1
,
Const
e2
->
Cil_datatype
.
Exp
.
equal
e1
e2
|
Error
s1
,
Error
s2
->
Datatype
.
String
.
equal
s1
s2
|
_
->
false
...
...
@@ -107,8 +107,8 @@ struct
Hashtbl
.
hash
(
5
,
Stmt
.
hash
stmt
,
Alarms
.
hash
alarm
)
|
AbsoluteMemory
->
6
|
String
(
i
,
_
)
->
Hashtbl
.
hash
(
7
,
i
)
|
Const
(
e
)
->
Hashtbl
.
hash
(
7
,
Cil_datatype
.
Exp
.
hash
e
)
|
Error
s
->
Hashtbl
.
hash
(
8
,
s
)
|
Const
e
->
Hashtbl
.
hash
(
8
,
Cil_datatype
.
Exp
.
hash
e
)
|
Error
s
->
Hashtbl
.
hash
(
9
,
s
)
end
include
Datatype
.
Make
(
DatatypeInput
)
...
...
@@ -137,7 +137,7 @@ let pretty fmt = function
Format
.
fprintf
fmt
"%S"
s
|
String
(
_
,
CSWstring
s
)
->
Format
.
fprintf
fmt
"L
\"
%s
\"
"
(
Escape
.
escape_wstring
s
)
|
Const
(
e
)
->
|
Const
e
->
Format
.
fprintf
fmt
"%a"
Cil_printer
.
pp_exp
e
|
Error
s
->
Format
.
fprintf
fmt
"%s"
s
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