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
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
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
Charles Southerland
frama-c
Commits
92480bd5
Commit
92480bd5
authored
4 years ago
by
Virgile Prevosto
Browse files
Options
Downloads
Patches
Plain Diff
[aorai] fixes assigns in test serial.c
parent
8e67886e
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/aorai/tests/ya/serial.c
+2
-2
2 additions, 2 deletions
src/plugins/aorai/tests/ya/serial.c
with
2 additions
and
2 deletions
src/plugins/aorai/tests/ya/serial.c
+
2
−
2
View file @
92480bd5
...
@@ -17,13 +17,13 @@ OPT: -cpp-extra-args="-DFOR_WP" -aorai-automata @PTEST_DIR@/@PTEST_NAME@_wp.ya -
...
@@ -17,13 +17,13 @@ OPT: -cpp-extra-args="-DFOR_WP" -aorai-automata @PTEST_DIR@/@PTEST_NAME@_wp.ya -
#define BW_AND3 <=
#define BW_AND3 <=
#endif
#endif
/*@ assigns \result
\from \nothing
;
/*@ assigns \result
,Frama_C_entropy_source \from Frama_C_entropy_source
;
ensures 0 <= \result < 0x100; */
ensures 0 <= \result < 0x100; */
int
input_status
(
void
)
{
int
input_status
(
void
)
{
return
Frama_C_interval
(
0x00
,
0xff
);
return
Frama_C_interval
(
0x00
,
0xff
);
}
}
/*@ assigns \result
\from \nothing
;
/*@ assigns \result
,Frama_C_entropy_source \from Frama_C_entropy_source
;
ensures 0 <= \result < 0x100; */
ensures 0 <= \result < 0x100; */
int
input_data
(
void
)
{
int
input_data
(
void
)
{
return
Frama_C_interval
(
0x00
,
0xff
);
return
Frama_C_interval
(
0x00
,
0xff
);
...
...
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