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
a06efc74
Commit
a06efc74
authored
1 year ago
by
Andre Maroneze
Browse files
Options
Downloads
Patches
Plain Diff
[Eva] Fixes a comment in the memcpy builtin.
parent
3114b0f9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/eva/domains/cvalue/builtins_memory.ml
+1
-1
1 addition, 1 deletion
src/plugins/eva/domains/cvalue/builtins_memory.ml
with
1 addition
and
1 deletion
src/plugins/eva/domains/cvalue/builtins_memory.ml
+
1
−
1
View file @
a06efc74
...
@@ -163,7 +163,7 @@ let imprecise_copy ~name ~src_loc ~dst_loc ~dst_lval state =
...
@@ -163,7 +163,7 @@ let imprecise_copy ~name ~src_loc ~dst_loc ~dst_lval state =
return [bottom]. In this case, return the previously computed state *)
return [bottom]. In this case, return the previously computed state *)
if
Model
.
is_reachable
new_state
then
new_state
else
state
if
Model
.
is_reachable
new_state
then
new_state
else
state
(* Creates the location {loc + [0..size]} of size char. *)
(* Creates the location {loc + [0..
max_
size
-1
]} of size char. *)
let
char_location
loc
max_size
=
let
char_location
loc
max_size
=
let
size_char
=
Bit_utils
.
sizeofchar
()
in
let
size_char
=
Bit_utils
.
sizeofchar
()
in
let
max
=
Int
.
sub
max_size
size_char
in
let
max
=
Int
.
sub
max_size
size_char
in
...
...
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