panda-re / panda

Platform for Architecture-Neutral Dynamic Analysis
https://panda.re
Other
2.47k stars 474 forks source link

New Dwarf2 plugin that supports x64 binary #1439

Closed HighW4y2H3ll closed 5 months ago

HighW4y2H3ll commented 7 months ago

The idea of this patch is to add x64 support for taint analysis of DWARF symbols. The pri_dwarf plugin is rewritten into dwarf2 plugin to support the extension of new architectures. Now the pri_dwarf plugin is split into two parts: the first part is a Python script that reformats the outputs of dwarfdump command into a few JSON files, and the second part is the dwarf2 plugin which takes in the pre-processed DWARF info.

In conclusion, this patch includes:

lacraig2 commented 6 months ago

This PR isn't passing tests for reasons unrelated to it.

It does pass test_installer which indicates that it all compiles.

I will be merging this without tests if no one objects within a day or so.