-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update documentations #567
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
|
||
SMACK software verifier is run using the `smack` tool in the bin directory. | ||
For a given input C/C++ program, the tool checks for violations of user-provided | ||
assertions. SMACK has a number of command line options that can be used | ||
assertions (MENTION GENERATED ASSERTIONS IN MEMORY SAFETY/OVERFLOW CHECKING). SMACK has a number of command line options that can be used | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yep, good idea. |
||
to fine-tune the toolchain. Type `smack -h` for a full list of supported command | ||
line options. | ||
|
||
|
@@ -99,6 +99,8 @@ directory. SMACK defines a number of functions (one for each basic type) | |
for introducing nondeterministic (i.e., unconstrained) values, such as | ||
`__VERIFIER_nondet_int` used in this example. | ||
|
||
MENTION ASSERT/ASSUME | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good idea. |
||
|
||
Simply run the SMACK verifier on your input C file: | ||
```Shell | ||
smack simple.c | ||
|
@@ -114,5 +116,9 @@ verifier leverages to generate more informative error traces. Then, the generate | |
file is translated into Boogie code, which is in turn passed to the chosen back-end | ||
verifier. | ||
|
||
EXAMPLE ON MEMORY SAFETY | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good idea. |
||
EXAMPLE ON INTEGER OVERFLOW CHECKING | ||
EXAMPLE ON USING WHOLE-PROGRAM-LLVM | ||
|
||
For mode advanced usage scenarios, please refer to our [usage notes](usage-notes.md). | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why would you want to remove this?