-
Notifications
You must be signed in to change notification settings - Fork 141
Open
Description
Problem:
- After running and producing results, the cwe_checker crashes with
thread 'main' panicked at src/caller/src/main.rs:374:13:
not yet implemented
- no results are saved to output :(
How was the binary called?
$ cwe_checker -v --statistics -j -o CWE_results.json ./path/to/a/proprietary_binaryExpected outcome:
- Catch "not implemented" before running / check on start-up not mid-runtime OR ignore flag and log
- Not discard all results due to "todo"-marker
Offending code:
cwe_checker/src/caller/src/main.rs
Lines 371 to 375 in 3c042e6
| if args.statistics { | |
| // TODO: Fix the `--statistics` flag. | |
| //cwe_checker_lib::utils::log::add_debug_log_statistics(&mut all_logs); | |
| todo!() | |
| } |
Proposed solution:
- replace panic-inducing "not yet implemented" with verbosely ignoring a set
--statisticsflag
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels