I'm not sure where the best place to put this is between gtirb-pprinter, gtirb-rewriting and here, so please let me know and I can reopen this in the best repo.
While developing instrumentation using gtirb-rewriting, I would like to do this:
- Use ddisasm on a PE and its PDB symbol file to generate a GTIRB IR file with symbol info
- Instrument this IR with gtirb-rewriting (maybe even by using symbol info, e.g only instrument a function with a specific name)
- Use gtirb-pprinter to output a PE binary and corresponding PDB symbol file from the instrumented IR
I haven't found any way to do this (run instrumentation that preserves symbol information in the output PE binary), is this possible?
I'm not sure where the best place to put this is between gtirb-pprinter, gtirb-rewriting and here, so please let me know and I can reopen this in the best repo.
While developing instrumentation using gtirb-rewriting, I would like to do this:
I haven't found any way to do this (run instrumentation that preserves symbol information in the output PE binary), is this possible?