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
03c5d654
Commit
03c5d654
authored
2 years ago
by
Valentin Perrelle
Browse files
Options
Downloads
Patches
Plain Diff
[Kernel] Fix a typo in functions name
parent
d23b1281
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/kernel_services/analysis/logic_deps.ml
+2
-2
2 additions, 2 deletions
src/kernel_services/analysis/logic_deps.ml
src/kernel_services/analysis/logic_deps.mli
+2
-2
2 additions, 2 deletions
src/kernel_services/analysis/logic_deps.mli
src/plugins/pdg/annot.ml
+3
-3
3 additions, 3 deletions
src/plugins/pdg/annot.ml
with
7 additions
and
7 deletions
src/kernel_services/analysis/logic_deps.ml
+
2
−
2
View file @
03c5d654
...
...
@@ -47,10 +47,10 @@ type t = {before:bool ; ki:stmt ; zone:Locations.Zone.t}
type
zone_info
=
(
t
list
)
option
type
decl
=
{
var
:
Varinfo
.
Set
.
t
;
lbl
:
Logic_label
.
Set
.
t
}
let
mk_ctx_func_contrat
?
before
kf
=
let
mk_ctx_func_contra
c
t
?
before
kf
=
{
before
;
site
=
FunctionContract
;
kf
}
let
mk_ctx_stmt_contrat
?
before
kf
stmt
=
let
mk_ctx_stmt_contra
c
t
?
before
kf
stmt
=
{
before
;
site
=
StatementContract
stmt
;
kf
}
let
mk_ctx_stmt_annot
kf
stmt
=
...
...
This diff is collapsed.
Click to expand it.
src/kernel_services/analysis/logic_deps.mli
+
2
−
2
View file @
03c5d654
...
...
@@ -26,11 +26,11 @@ val compute_term_deps: (stmt -> term -> Locations.Zone.t option) ref
type
ctx
val
mk_ctx_func_contrat
:
?
before
:
bool
->
kernel_function
->
ctx
val
mk_ctx_func_contra
c
t
:
?
before
:
bool
->
kernel_function
->
ctx
(** To build an interpretation context relative to function
contracts. *)
val
mk_ctx_stmt_contrat
:
?
before
:
bool
->
kernel_function
->
stmt
->
ctx
val
mk_ctx_stmt_contra
c
t
:
?
before
:
bool
->
kernel_function
->
stmt
->
ctx
(** To build an interpretation context relative to statement
contracts. *)
...
...
This diff is collapsed.
Click to expand it.
src/plugins/pdg/annot.ml
+
3
−
3
View file @
03c5d654
...
...
@@ -76,13 +76,13 @@ let find_nodes_for_function_contract pdg f_interpret =
let
find_fun_precond_nodes
(
pdg
:
PdgTypes
.
Pdg
.
t
)
p
=
let
f_interpret
kf
=
let
f_ctx
=
Logic_deps
.
mk_ctx_func_contrat
~
before
:
true
kf
in
let
f_ctx
=
Logic_deps
.
mk_ctx_func_contra
c
t
~
before
:
true
kf
in
Logic_deps
.
from_pred
p
f_ctx
in
find_nodes_for_function_contract
pdg
f_interpret
let
find_fun_postcond_nodes
pdg
p
=
let
f_interpret
kf
=
let
f_ctx
=
Logic_deps
.
mk_ctx_func_contrat
~
before
:
false
kf
in
let
f_ctx
=
Logic_deps
.
mk_ctx_func_contra
c
t
~
before
:
false
kf
in
Logic_deps
.
from_pred
p
f_ctx
in
let
nodes
,
deps
=
find_nodes_for_function_contract
pdg
f_interpret
in
let
nodes
=
...
...
@@ -97,7 +97,7 @@ let find_fun_postcond_nodes pdg p =
let
find_fun_variant_nodes
pdg
t
=
let
f_interpret
kf
=
let
f_ctx
=
Logic_deps
.
mk_ctx_func_contrat
~
before
:
true
kf
in
let
f_ctx
=
Logic_deps
.
mk_ctx_func_contra
c
t
~
before
:
true
kf
in
Logic_deps
.
from_term
t
f_ctx
in
find_nodes_for_function_contract
pdg
f_interpret
...
...
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