puncover
puncover copied to clipboard
Investigate if pyelftools + capstone can remove dependencies to GCC
Today, developers need to specify the path to the proper GCC toolchain and the code heavily relies on the specific text layout objdump
and nm
produce. This already breaks on macOS where the default GCC you can download via homebrew doesn't support either of these tools.
Instead of making the parsing more flexible it's worth looking into a solution based on libraries such as
- https://github.com/eliben/pyelftools
- http://www.capstone-engine.org