Skip to content

Use PDB files in rewriting process #74

Open
@avncharlie

Description

@avncharlie

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions