Analizing MIPS binaries: is there a Python library for parsing binary data?

前端 未结 6 1530
小鲜肉
小鲜肉 2020-12-28 21:00

I\'m working on a utility which needs to resolve hex addresses to a symbolic function name and source code line number within a binary. The utility will run on Linux on x86,

6条回答
  •  我在风中等你
    2020-12-28 21:35

    I've been developing a DWARF parser using Construct. Currently fairly rough, and parsing is slow. But I thought I should at least let you know. It may suit your needs, with a bit of work.

    I've got the code in Mercurial, hosted at bitbucket:

    • http://bitbucket.org/cmcqueen1975/pythondwarf/
    • http://bitbucket.org/cmcqueen1975/construct/ (necessary modifications to Construct library)

    Construct is a very interesting library. DWARF is a complex format (as I'm discovering) and pushes Construct to its limits I think.

提交回复
热议问题