Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Lustrec - public version
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LustreC
Lustrec - public version
Commits
8060f89a
Commit
8060f89a
authored
3 years ago
by
BRUN Lelio
Browse files
Options
Downloads
Patches
Plain Diff
forgotten file
parent
d8144228
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
include/arrow_spec.h
+29
-0
29 additions, 0 deletions
include/arrow_spec.h
with
29 additions
and
0 deletions
include/arrow_spec.h
0 → 100644
+
29
−
0
View file @
8060f89a
#ifndef ARROW_SPEC_H_
#define ARROW_SPEC_H_
/* ACSL arrow spec */
//@ ghost struct _arrow_mem_ghost {struct _arrow_reg _reg;};
/*@
predicate _arrow_valid(struct _arrow_mem *self) =
\valid(self);
*/
/*@
predicate _arrow_initialization(struct _arrow_mem_ghost mem_in) =
mem_in._reg._first == 1;
*/
/*@
predicate _arrow_transition(struct _arrow_mem_ghost mem_in,
integer x, integer y,
struct _arrow_mem_ghost mem_out, _Bool out) =
(mem_in._reg._first ? (mem_out._reg._first == 0
&& out == x)
: (mem_out._reg._first == mem_in._reg._first
&& out == y));
*/
/*@
predicate _arrow_ghost(struct _arrow_mem_ghost mem,
struct _arrow_mem *self) =
mem._reg._first == self->_reg._first;
*/
#endif // ARROW_SPEC_H_
This diff is collapsed.
Click to expand it.
Preview
0%
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