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
4c5f1cdf
Commit
4c5f1cdf
authored
8 years ago
by
Kostyantyn Vorobyov
Browse files
Options
Downloads
Patches
Plain Diff
Get rid of unnecessary prefixes
parent
1fc4b1ba
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/e-acsl/exit_points.ml
+3
-3
3 additions, 3 deletions
src/plugins/e-acsl/exit_points.ml
with
3 additions
and
3 deletions
src/plugins/e-acsl/exit_points.ml
+
3
−
3
View file @
4c5f1cdf
...
...
@@ -24,7 +24,7 @@ open Cil_types
open
Cil_datatype
let
statement_locals
:
Cil_types
.
varinfo
list
Stmt
.
Hashtbl
.
t
=
Stmt
.
Hashtbl
.
create
17
varinfo
list
Stmt
.
Hashtbl
.
t
=
Stmt
.
Hashtbl
.
create
17
(* Mapping of statements to local variables available within that statement's
scope. The mappings of this structure are used to determine variables which
need to be removed before goto jumps. Generally, if some goto (with
...
...
@@ -34,7 +34,7 @@ let statement_locals:
tracked, they need to be removed from tracking. *)
let
exit_context
:
Cil_types
.
stmt
Stmt
.
Hashtbl
.
t
=
Stmt
.
Hashtbl
.
create
17
stmt
Stmt
.
Hashtbl
.
t
=
Stmt
.
Hashtbl
.
create
17
(* Statement to statement mapping indicating source/destination of a jump.
For instance, break statements are mapped to switches or loops they jump
out from and goto statements are mapped to their labeled statements. Notably,
...
...
@@ -43,7 +43,7 @@ let exit_context:
done for consistency, so all required information is stored uniformly. *)
let
labelled_jumps
:
Cil_types
.
stmt
Stmt
.
Hashtbl
.
t
=
Stmt
.
Hashtbl
.
create
17
stmt
Stmt
.
Hashtbl
.
t
=
Stmt
.
Hashtbl
.
create
17
(* Map labelled statements back to gotos which lead to them *)
let
clear
()
=
...
...
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