Skip to content

Commit

Permalink
cli: [fix] Invalid argument in CLI tfuzz mode (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianfu committed Jul 30, 2024
1 parent 255d63d commit b056144
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
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

0 comments on commit b056144

Please sign in to comment.