Run output through rustfilt
(or similar)
#5218
Labels
Component: Demangler
Effort: Low
Issue should take < 1 week
Impact: Low
Issue is a papercut or has a good, supported workaround
Type: Enhancement
Issue is a small enhancement to existing functionality
What is the feature you'd like to have?
I am trying to run some Rust-compiled binaries through BinaryNinja (via Dogbolt), but, while some of the "standard" symbols from the Rust library get unmangled, "user-defined" symbols don't (and also some standard ones as well!).
I hope this links works, but here's an example:
You can see that some symbols are unmangled (e.g.,
std::io::stdio::_print::h9ced0fe1fdc237eb
), but others (e.g.,_RNvMs0_NtCsf8BuoUQGJw9_4core3fmtNtB5_9Arguments6new_v1Cs3D4dQeFb3sN_4rust
) aren't.Examples:
_RNvMs0_NtCsf8BuoUQGJw9_4core3fmtNtB5_9Arguments6new_v1Cs3D4dQeFb3sN_4rust
==<core::fmt::Arguments>::new_v1
_RNvCs3D4dQeFb3sN_4rust5quack
==rust::quack
Is your feature request related to a problem?
No; this is a "quality of life" improvement
Are any alternative solutions acceptable?
I can copy the output out of Dogbolt and run in through
rustfilt
myself.Additional Information:
I originally reported this "idea" here:
rustfilt
? decompiler-explorer/decompiler-explorer#157I am happy to share binaries if it helps (but I believe that tool vendors on Dogbolt already have access to the binaries I submit).
The text was updated successfully, but these errors were encountered: