nccgroup / Cartographer

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

Ghidra 11.1 required update and adding Drcov additional support #8

Closed datalocaltmp closed 1 month ago

datalocaltmp commented 2 months ago

Requesting this to be merged in as Cartographer cannot currently be built for Ghidra 11.1 with the removal of the DECOMPILER PluginCategoryNames.

This pull request also includes support for Drcov versions from 2 through 5; based on the lighthouse tool https://github.com/gaasedelen/lighthouse/blob/562595be9bd99e8a5dfef6017d608467f5706630/plugins/lighthouse/reader/parsers/drcov.py#L413

I am curious why the base is required when Ghidra sets it to 0? I had to change the base to 0 for drcov v2 to have the log files load properly - perhaps this is required for all Drcov versions? Happy to make the change to the pull request.

datalocaltmp commented 2 months ago

Also added in a change to the listing/decompiler theme as it was fairly harsh in darkmode - Happy to leave it be though ha

Screenshot 2024-06-10 at 12 08 07 PM Screenshot 2024-06-10 at 12 14 54 PM