From 429edb71087f6af043ada99f90d67ca1fb3c97ec Mon Sep 17 00:00:00 2001 From: iximeow Date: Mon, 23 Mar 2020 00:53:52 -0700 Subject: update yaxpeax-dis decoders plus x86:32 decoding --- src/main.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index b59ebb2..62fd390 100644 --- a/src/main.rs +++ b/src/main.rs @@ -12,7 +12,7 @@ fn main() { .short("a") .long("--architecture") .takes_value(true) - .possible_values(&["x86_64", "armv7", "armv8", "mips", "msp430", "pic17", "pic18", "m16c"]) + .possible_values(&["x86_64", "x86:32", "armv7", "armv8", "mips", "msp430", "pic17", "pic18", "m16c"]) .help("architecture to disassemble input as.")) /* .arg(Arg::with_name("file") @@ -36,7 +36,8 @@ fn main() { let verbose = matches.occurrences_of("verbose") > 0; match arch_str { - "x86_64" => decode_input::(buf, verbose), + "x86_64" => decode_input::(buf, verbose), + "x86:32" => decode_input::(buf, verbose), "armv7" => decode_input::(buf, verbose), "armv8" => decode_input::(buf, verbose), "mips" => decode_input::(buf, verbose), -- cgit v1.1