Skip to content
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

cli: [fix] Invalid argument in CLI tfuzz mode #109

Merged
merged 2 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ src/x86/*.json
*.code-workspace
*.o
src/generated.asm
generated.asm
generated
src/x86/executor/.cache.mk
src/x86/executor/measurement.o.ur-safe
dbg/
Expand Down
2 changes: 1 addition & 1 deletion docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ The following command-line arguments are supported in `analyse` mode:
The template to use for generating test cases
--timeout TIMEOUT Run fuzzing with a time limit [seconds]. No timeout when set to zero.
--nonstop Don't stop after detecting an unexpected result
--enable-store-violations ENABLE_STORE_VIOLATIONS
--save-violations SAVE_VIOLATIONS
If set, store all detected violations in working directory.
```

Expand Down
2 changes: 1 addition & 1 deletion src/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def main() -> int:
parser_tfuzz.add_argument(
'--nonstop', action='store_true', help="Don't stop after detecting an unexpected result")
parser_tfuzz.add_argument(
'--enable-store-violations',
'--save-violations',
type=arg2bool,
default=True,
help="If set, store all detected violations in working directory.",
Expand Down