Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pub
frama-c
Commits
e50be496
Commit
e50be496
authored
Oct 02, 2020
by
Virgile Prevosto
Browse files
[MdR] put list of invocations in correct order
parent
2c514004
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/markdown-report/sarif_gen.ml
View file @
e50be496
...
...
@@ -47,6 +47,10 @@ let get_remark remarks label =
|
None
->
[]
|
Some
l
->
l
(* keep track of command line arguments for all invocations of Frama-C during
a save/load sequence. Note that the list is in reverse order
(newest invocation first).
*)
module
Analysis_cmdline
=
State_builder
.
List_ref
(
Datatype
.
List
(
Datatype
.
String
))
(
struct
...
...
@@ -70,7 +74,7 @@ let gen_invocation () =
let
arguments
=
List
.
tl
cl
in
Invocation
.
create
~
commandLine
~
arguments
()
in
List
.
map
gen_one
cls
List
.
rev_
map
gen_one
cls
let
gen_remark
alarm
=
let
open
Markdown
in
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment