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
34fbc721
Commit
34fbc721
authored
2 years ago
by
Loïc Correnson
Browse files
Options
Downloads
Patches
Plain Diff
[div] fixed api
parent
55b28285
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
+3
-1
3 additions, 1 deletion
src/plugins/dive/dive_graph.ml
src/plugins/server/kernel_ast.ml
+1
-1
1 addition, 1 deletion
src/plugins/server/kernel_ast.ml
with
4 additions
and
2 deletions
src/plugins/dive/dive_graph.ml
+
3
−
1
View file @
34fbc721
...
...
@@ -270,7 +270,9 @@ let ouptput_to_dot out_channel g =
module
JsonPrinter
=
struct
let
output_stmt
=
Server
.
Kernel_ast
.
Stmt
.
to_json
let
output_stmt
stmt
=
let
kf
=
Kernel_function
.
find_englobing_kf
stmt
in
Server
.
Kernel_ast
.
Location
.
to_json
(
kf
,
PStmtStart
(
kf
,
stmt
))
let
output_kinstr
=
function
|
Cil_types
.
Kglobal
->
`String
"global"
...
...
This diff is collapsed.
Click to expand it.
src/plugins/server/kernel_ast.ml
+
1
−
1
View file @
34fbc721
...
...
@@ -244,7 +244,7 @@ struct
let
jtype
=
Marker
.
jtype
let
to_json
st
=
let
kf
=
Kernel_function
.
find_englobing_kf
st
in
Marker
.
to_json
(
PStmt
(
kf
,
st
))
Marker
.
to_json
(
PStmt
Start
(
kf
,
st
))
let
of_json
js
=
let
open
Printer_tag
in
match
Marker
.
of_json
js
with
...
...
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