updated version of the binwalk firmware analysis tool, re-written in Rust
This commit is contained in:
parent
89dd255c74
commit
15bd75493d
7 changed files with 527 additions and 0 deletions
15
sysutils/binwalk/patches/patch-src_cliparser_rs
Normal file
15
sysutils/binwalk/patches/patch-src_cliparser_rs
Normal file
|
@ -0,0 +1,15 @@
|
|||
Index: src/cliparser.rs
|
||||
--- src/cliparser.rs.orig
|
||||
+++ src/cliparser.rs
|
||||
@@ -56,5 +56,11 @@ pub struct CliArgs {
|
||||
}
|
||||
|
||||
pub fn parse() -> CliArgs {
|
||||
+ let args = std::env::args().collect::<Vec<String>>();
|
||||
+
|
||||
+ if args.len() == 1 {
|
||||
+ CliArgs::parse_from(["", "--help"]);
|
||||
+ }
|
||||
+
|
||||
CliArgs::parse()
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue