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
44196c3c
Commit
44196c3c
authored
4 years ago
by
Michele Alberti
Browse files
Options
Downloads
Patches
Plain Diff
[Eva] Again on rebasing on new server API.
parent
602f9624
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/value/api/values_request.ml
+8
-9
8 additions, 9 deletions
src/plugins/value/api/values_request.ml
with
8 additions
and
9 deletions
src/plugins/value/api/values_request.ml
+
8
−
9
View file @
44196c3c
...
@@ -25,11 +25,9 @@ open Data
...
@@ -25,11 +25,9 @@ open Data
open
Cil_types
open
Cil_types
module
Md
=
Markdown
module
Md
=
Markdown
let
chapter
=
`Plugin
"Eva"
let
package
=
let
package
=
Package
.
package
Package
.
package
~
plugin
:
"
E
va"
~
plugin
:
"
e
va"
~
name
:
"eva"
~
name
:
"eva"
~
title
:
"Eva Values"
~
title
:
"Eva Values"
~
readme
:
"eva.md"
~
readme
:
"eva.md"
...
@@ -70,11 +68,10 @@ let get_after_value =
...
@@ -70,11 +68,10 @@ let get_after_value =
(
function
Unchanged
->
"unchanged"
|
Reduced
eval
->
get_value
eval
)
(
function
Unchanged
->
"unchanged"
|
Reduced
eval
->
get_value
eval
)
module
CallStackId
=
module
CallStackId
=
Data
.
Index
(
Value_types
.
Callstack
.
Map
)
Data
.
Index
(
Value_types
.
Callstack
.
Map
)
(
struct
(
struct
let
page
=
page
let
name
=
"eva-callstack-id"
let
name
=
"eva-callstack-id"
let
descr
=
Md
.
plain
"CallStack"
end
)
end
)
(* This pretty-printer drops the toplevel kf, which is always the function
(* This pretty-printer drops the toplevel kf, which is always the function
...
@@ -129,12 +126,14 @@ module CallStack = struct
...
@@ -129,12 +126,14 @@ module CallStack = struct
(
val
(
val
(
Record
.
publish
(
Record
.
publish
~
package
~
package
~
name
:
"eva
-c
allstack"
~
name
:
"eva
C
allstack"
~
descr
:
(
Md
.
plain
"CallStack"
)
~
descr
:
(
Md
.
plain
"CallStack"
)
record
)
:
Record
.
S
with
type
r
=
record
)
record
)
:
Record
.
S
with
type
r
=
record
)
type
t
=
Value_types
.
callstack
option
type
t
=
Value_types
.
callstack
option
let
jtype
=
R
.
jtype
let
pp_callstack
~
short
=
function
let
pp_callstack
~
short
=
function
|
None
->
"all"
|
None
->
"all"
|
Some
callstack
->
|
Some
callstack
->
...
@@ -205,7 +204,7 @@ let array =
...
@@ -205,7 +204,7 @@ let array =
in
in
States
.
register_array
States
.
register_array
~
package
~
package
~
name
:
"eva
.v
alues"
~
name
:
"eva
V
alues"
~
descr
:
(
Md
.
plain
"Abstract values inferred by the Eva analysis"
)
~
descr
:
(
Md
.
plain
"Abstract values inferred by the Eva analysis"
)
~
key
:
(
fun
(
cs
,
_
)
->
CallStack
.
key
cs
)
~
key
:
(
fun
(
cs
,
_
)
->
CallStack
.
key
cs
)
~
iter
~
iter
...
@@ -351,7 +350,7 @@ let () =
...
@@ -351,7 +350,7 @@ let () =
Server
.
Request
.
register
Server
.
Request
.
register
~
package
~
package
~
kind
:
`GET
~
kind
:
`GET
~
name
:
"
eva.values.compute
"
~
name
:
"
getEvaValues
"
~
descr
:
(
Md
.
plain
"Get the abstract values computed for an expression or lvalue"
)
~
descr
:
(
Md
.
plain
"Get the abstract values computed for an expression or lvalue"
)
~
input
:
(
module
Kernel_ast
.
Marker
)
~
input
:
(
module
Kernel_ast
.
Marker
)
~
output
:
(
module
Junit
)
~
output
:
(
module
Junit
)
...
...
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