aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2020-10-12 00:57:45 -0700
committeriximeow <me@iximeow.net>2020-10-12 00:57:45 -0700
commit06aa925affdaf9b4fbbb8ba68ec4530e662a25e7 (patch)
tree69f38ab937d75cf3cacf2aa3a3f6f6c0641d77ac /src/main.rs
parent2c29f911b43923c2b370c53f8b089053d144cbe8 (diff)
add ia640.2.2
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index d194a50..732f747 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -16,7 +16,7 @@ fn main() {
.long("--architecture")
.takes_value(true)
.possible_values(&[
- "x86_64", "x86:32", "armv7", "armv8", "avr", "mips", "msp430", "pic17",
+ "x86_64", "x86:32", "ia64", "armv7", "armv8", "avr", "mips", "msp430", "pic17",
"pic18", "m16c",
])
.help("architecture to disassemble input as."),
@@ -74,6 +74,7 @@ fn main() {
match arch_str {
"x86_64" => decode_input::<yaxpeax_x86::long_mode::Arch>(&buf, verbose),
"x86:32" => decode_input::<yaxpeax_x86::protected_mode::Arch>(&buf, verbose),
+ "ia64" => decode_input::<yaxpeax_ia64::IA64>(&buf, verbose),
"avr" => decode_input::<yaxpeax_avr::AVR>(&buf, verbose),
"armv7" => decode_input::<yaxpeax_arm::armv7::ARMv7>(&buf, verbose),
"armv8" => decode_input::<yaxpeax_arm::armv8::a64::ARMv8>(&buf, verbose),