Skip to content

Commit

Permalink
doc(RAP_HELP): more examples for cargo arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
zjp-CN committed Oct 26, 2024
1 parent c8cec2f commit e94e68f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions rap/src/bin/cargo-rap/help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,13 @@ NOTE: multiple detections can be processed in single run by
appending the options to the arguments. Like `cargo rap -F -M`
will perform two kinds of detection in a row.
e.g. detect use-after-free and memory leak for a riscv target:
cargo rap -F -M -- --target riscv64gc-unknown-none-elf
e.g.
1. detect use-after-free and memory leak for a riscv target:
cargo rap -F -M -- --target riscv64gc-unknown-none-elf
2. detect use-after-free and memory leak for tests:
cargo rap -F -M -- --tests
3. detect use-after-free and memory leak for all members:
cargo rap -F -M -- --workspace
"#;

pub const RAP_VERSION: &str = r#"
Expand Down

0 comments on commit e94e68f

Please sign in to comment.