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
5751a824
"README.md" did not exist on "f55bf38631bcbb590d03ac6a5b8f8d78cef1eb17"
Commit
5751a824
authored
3 years ago
by
Virgile Prevosto
Browse files
Options
Downloads
Patches
Plain Diff
[MdR] Sarif has a .mli
parent
a6dc8b9b
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
headers/header_spec.txt
+1
-0
1 addition, 0 deletions
headers/header_spec.txt
src/plugins/markdown-report/sarif.ml
+17
-0
17 additions, 0 deletions
src/plugins/markdown-report/sarif.ml
src/plugins/markdown-report/sarif.mli
+1140
-0
1140 additions, 0 deletions
src/plugins/markdown-report/sarif.mli
with
1158 additions
and
0 deletions
headers/header_spec.txt
+
1
−
0
View file @
5751a824
...
...
@@ -976,6 +976,7 @@ src/plugins/markdown-report/parse_remarks.mli: CEA_LGPL
src/plugins/markdown-report/sarif_gen.ml: CEA_LGPL
src/plugins/markdown-report/sarif_gen.mli: CEA_LGPL
src/plugins/markdown-report/sarif.ml: CEA_LGPL
src/plugins/markdown-report/sarif.mli: CEA_LGPL
src/plugins/markdown-report/share/acsl.xml: CEA_LGPL
src/plugins/metrics/Metrics.mli: CEA_LGPL_OR_PROPRIETARY
src/plugins/metrics/css_html.ml: CEA_LGPL_OR_PROPRIETARY
...
...
This diff is collapsed.
Click to expand it.
src/plugins/markdown-report/sarif.ml
+
17
−
0
View file @
5751a824
...
...
@@ -26,12 +26,19 @@
by default: we must thus silence spurious let rec warning (39). *)
[
@@@
warning
"-39"
]
type
'
a
dict
=
(
string
*
'
a
)
list
module
type
Json_type
=
sig
type
t
val
of_yojson
:
Yojson
.
Safe
.
t
->
t
Ppx_deriving_yojson_runtime
.
error_or
val
to_yojson
:
t
->
Yojson
.
Safe
.
t
end
module
type
Json_default
=
sig
include
Json_type
val
default
:
t
end
module
Json_string
:
Json_type
with
type
t
=
string
=
struct
type
t
=
string
...
...
@@ -93,6 +100,8 @@ module ArtifactLocation = struct
uriBaseId
:
(
string
[
@
default
""
])
}[
@@
deriving
yojson
]
type
_t
=
t
let
create
~
uri
?
(
uriBaseId
=
""
)
()
=
{
uri
;
uriBaseId
}
let
default
=
create
~
uri
:
""
()
...
...
@@ -119,6 +128,8 @@ module Properties = struct
additional_properties
:
Custom_properties
.
t
}
type
_t
=
t
let
default
=
{
tags
=
[]
;
additional_properties
=
[]
}
let
create
additional_properties
=
...
...
@@ -153,6 +164,8 @@ module Message = struct
properties
:
(
Properties
.
t
[
@
default
Properties
.
default
]);
}[
@@
deriving
yojson
]
type
_t
=
t
let
create
?
(
text
=
""
)
?
(
id
=
""
)
...
...
@@ -182,6 +195,8 @@ module MultiformatMessageString = struct
properties
:
(
Properties
.
t
[
@
default
Properties
.
default
])
}[
@@
deriving
yojson
]
type
_t
=
t
let
create
~
text
?
(
markdown
=
""
)
?
(
properties
=
Properties
.
default
)
()
=
{
text
;
markdown
;
properties
}
...
...
@@ -201,6 +216,8 @@ module ArtifactContent = struct
}
[
@@
deriving
yojson
]
type
_t
=
t
let
create
?
(
text
=
""
)
?
(
binary
=
""
)
?
(
rendered
=
MultiformatMessageString
.
default
)
?
(
properties
=
Properties
.
default
)
()
=
...
...
This diff is collapsed.
Click to expand it.
src/plugins/markdown-report/sarif.mli
0 → 100644
+
1140
−
0
View file @
5751a824
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