nccgroup / Cartographer

Code Coverage Exploration Plugin for Ghidra
Apache License 2.0
317 stars 26 forks source link

WIP drcov v2 support #1

Closed datalocaltmp closed 3 months ago

datalocaltmp commented 1 year ago

This is my poor attempt at adding in support for drcov v2 format.

In this format I don't believe it provides the parentId so I have set that to 0. I also initialize the base to 0 as the bbs binary data contains the module ID which is loaded in Ghidra which will have a known offset.

I have tested this with the sample shared object and coverage file from here: https://github.com/datalocaltmp/frida-cov/tree/main/samples

Happy to change anything; really love the tool!