lighthouse icon indicating copy to clipboard operation
lighthouse copied to clipboard

"drcov version: 3" is unsupported

Open BlueAmulet opened this issue 3 years ago • 3 comments

"Version 3 changes module offsets to be offsets from the module segment, rather than the whole module base as in version 2."

https://github.com/DynamoRIO/dynamorio/pull/5094 https://github.com/DynamoRIO/dynamorio/pull/5136

BlueAmulet avatar Dec 18 '21 21:12 BlueAmulet

Lighthouse cannot support drcov-version-3. I tried lighthouse lighthouse-0.9.2, dynamorio DynamoRIO-Windows-9.0.1, not ok. I tried lighthouse lighthouse-0.9.2, dynamorio DynamoRIO-Windows-8.0.18873, ok.

luoyanghero avatar Mar 02 '22 01:03 luoyanghero

I got the same issue

adrian-rt avatar Mar 16 '22 22:03 adrian-rt

I am currently too lazy to write a parser for Lighthouse to handle drcov v3 but here is a dumb python script that converts drcov 3 to drcov 2. I wrote it to help me and maybe it can help you, while this issue remains open :)

https://gist.github.com/wumb0/de671cc5051353fd32af4aecc811a282

wumb0 avatar Apr 14 '22 17:04 wumb0

I comment the line assert self.version == 2, "Only drcov version 2 log files supported" in drcov.py then it is able to load new drcov log version. Is there any potential problem ?

zeltrax00 avatar Nov 25 '22 03:11 zeltrax00

sounds fine

On Thu, Nov 24, 2022 at 10:29 PM Tung Nguyen @.***> wrote:

I comment the line assert self.version == 2, "Only drcov version 2 log files supported" in drcov.py then it is able to load new drcov log version. Is there any potential problem ?

— Reply to this email directly, view it on GitHub https://github.com/gaasedelen/lighthouse/issues/112#issuecomment-1326987553, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHV3WZGZEAMLU2TRGUV75DWKAW75ANCNFSM5KLDMDMA . You are receiving this because you commented.Message ID: @.***>

wumb0 avatar Nov 25 '22 15:11 wumb0

hello sir the convert script not working anymore for the last version DynamoRIO-9.93.19510 I got Wrong version or bad format error once i use it

mounirthabet avatar Jun 05 '23 11:06 mounirthabet

Can you post the output from that version of DR?

On Mon, Jun 5, 2023, 12:05 PM mounirthabet @.***> wrote:

hello sir the convert script not working anymore for the last version DynamoRIO-9.93.19510 I got Wrong version or bad format error once i use it

— Reply to this email directly, view it on GitHub https://github.com/gaasedelen/lighthouse/issues/112#issuecomment-1576581596, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHV3WYGO333GRCL74KFJXLXJW4KHANCNFSM5KLDMDMA . You are receiving this because you commented.Message ID: @.***>

wumb0 avatar Jun 05 '23 11:06 wumb0

PR #137 solves this

PavelBlinnikov avatar Jan 10 '24 10:01 PavelBlinnikov

#137 has been merged into the develop branch, fixing this issue.

gaasedelen avatar Jan 19 '24 00:01 gaasedelen