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
8dca3e3b
Commit
8dca3e3b
authored
7 months ago
by
Cécile Ruet-Cros
Committed by
Loïc Correnson
6 months ago
Browse files
Options
Downloads
Patches
Plain Diff
[region] remove region_of_ptr_term
parent
dc5461df
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/plugins/region/Region.ml
+2
-1
2 additions, 1 deletion
src/plugins/region/Region.ml
src/plugins/region/Region.mli
+0
-1
0 additions, 1 deletion
src/plugins/region/Region.mli
with
2 additions
and
2 deletions
src/plugins/region/Region.ml
+
2
−
1
View file @
8dca3e3b
...
...
@@ -50,6 +50,7 @@ let field (map:map) (region:region) (field:fieldinfo) : region =
let
index
(
_
:
map
)
(
_
:
region
)
(
_
:
typ
)
:
region
=
(* TODO *)
raise
Not_found
(*
let region_of_ptr_term (map:map) (ptr:term) : region =
match ptr.term_node with
(* same constructs as exp *)
...
...
@@ -83,7 +84,7 @@ let region_of_ptr_term (map:map) (ptr:term) : region =
| Tcomprehension _ -> raise (Invalid_argument "Region:Region.ml:region_of_ptr_term: Tcomprehension")
| Trange _ -> raise (Invalid_argument "Region:Region.ml:region_of_ptr_term: Trange")
| Tlet _ -> raise (Invalid_argument "Region:Region.ml:region_of_ptr_term: Tlet")
*)
let
points_to
(
map
:
map
)
(
region
:
region
)
:
region
option
=
Option
.
map
(
Memory
.
region
map
.
map
)
@@
Memory
.
cpointed
map
.
map
region
.
Memory
.
node
...
...
This diff is collapsed.
Click to expand it.
src/plugins/region/Region.mli
+
0
−
1
View file @
8dca3e3b
...
...
@@ -38,7 +38,6 @@ val cvar : map -> varinfo -> region
val
field
:
map
->
region
->
fieldinfo
->
region
val
index
:
map
->
region
->
typ
->
region
val
region_of_ptr_term
:
map
->
term
->
region
(* API POINTERS *)
val
points_to
:
map
->
region
->
region
option
...
...
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