Closed messense closed 3 years ago
OK, I think I should use Mach::parse
instead of MultiArch::parse
.
Ok but this is still really undesirable behavior panicking in the debug printer. Would be nice to change that unwrap to an unwra_or(“NO_ARCHES”) or something
Ideally it should return an
Err
instead of panicking?thin_x86_64
file thin_x86_64.ziphttps://github.com/m4b/goblin/blob/8d91dd76a1950882301481d92f053e8649faaae7/src/mach/mod.rs#L413