cargo-asm icon indicating copy to clipboard operation
cargo-asm copied to clipboard

Cannot find #[no_mangle] functions

Open gnzlbg opened this issue 6 years ago • 3 comments

Currently cargo asm is unable to find #[no_mangle] functions.

gnzlbg avatar Mar 09 '18 09:03 gnzlbg

Any progress on this? :P

bbqsrc avatar Nov 05 '19 23:11 bbqsrc

Not really, but shouldn't be too hard to fix. In the code that gets a symbol name, and tries to demangle it, and see if it matches, we can just also try to see if the symbol name matches "as is".

Wanna give it a try?

gnzlbg avatar Nov 06 '19 12:11 gnzlbg

See https://github.com/gnzlbg/cargo-asm/pull/153. :smile:

bbqsrc avatar Nov 06 '19 13:11 bbqsrc