twiggy icon indicating copy to clipboard operation
twiggy copied to clipboard

Support for more binary formats

Open fitzgen opened this issue 7 years ago • 2 comments

We can use goblin to parse IR nodes, but parsing IR edges might be a little trickier. The DW_TAG_call_site 0 1 attribute, if present in the DWARF debugging information, could help. Otherwise, we'll need to disassemble instructions.

  • [ ] ELF
  • [ ] Mach-O
  • [ ] PE/COFF

fitzgen avatar Feb 16 '18 13:02 fitzgen

I've got some code in ddbug that uses capstone to disassemble instructions to find calls, and a copy in findpanics too. It's currently incomplete, but I'm working on updating it. Maybe I should put this in its own crate so that twiggy can use it too?

philipc avatar Feb 02 '20 07:02 philipc

@philipc that would be greatly appreciated! Thank you for offering :slightly_smiling_face:

data-pup avatar Feb 08 '20 01:02 data-pup