3 ms·
yeah I think this would be very possible! I think the hardest part would be the "with its arguments" part. But there's a really useful Rust crate called gimli f
by jvns 9y ago
yeah I think this would be very possible! I think the hardest part would be the "with its arguments" part. But there's a really useful Rust crate called gimli for parsing DWARF (I found it a lot easier than the C DWARF libraries I looked into).
- elcritch 9y agoThat’d be pretty nifty! Having a program that could show the arguments would be very useful. On a related note, do you know if it’d be possible to store non-exec data in a dwarf binary and parse/load it with the rust libraries? Seems it’d be easier than doing the same in C. P.S. Great article!