Closed laundmo closed 9 months ago
Hey, I did a quick & dirty integration of rust-demangle.c to rdebug, but would need some test cases - if you're can provide me with some simple rust programs for testing I could likely add that quickly.
Hey, I did a quick & dirty integration of rust-demangle.c to rdebug, but would need some test cases - if you're can provide me with some simple rust programs for testing I could likely add that quickly.
Here you go: This binary does nothing but constantly reallocate 8 bytes in a uncapped loop without command-line arguments, and if you pass the leak
argument it leaks those 8 bytes (never frees them)
there is basically no functions here, but it should work to test demangling (it shows them mangled in my mtuner install)
Thanks! Just published MTuner v4.7 which includes Rust demangler. Seems to work with your example.
This is one of the few tools which works well for looking at them memory allocations of Rust programs on windows.
Would be be possible to build in symbol demangling for Rust (only necessary for
release
-optimised builds)? There is a C99 lib to demangle Rust symbols here: https://github.com/LykenSol/rust-demangle.cThank you for making this!