[DRCOV2LCOV] Warning(1): Failed to enumerate lines

85 views
Skip to first unread message

2ourc3 1er

unread,
Nov 21, 2023, 11:14:08 AM11/21/23
to DynamoRIO Users
Hi there!
I've use drrun -t drcov -- binary.exe to create a file.log
Now i'm trying to use drcov2lcov to make it readable but it doesn't seems to work.

...
[DRCOV2LCOV] WARNING(1): Failed to enumerate lines for C:\Windows\SysWOW64\propsys.dll
[DRCOV2LCOV] WARNING(1): Failed to enumerate lines for C:\Windows\SysWOW64\OnDemandConnRouteHelper.dll
[DRCOV2LCOV] WARNING(1): Failed to enumerate lines for C:\Windows\SysWOW64\gpapi.dll
[DRCOV2LCOV] WARNING(1): Failed to enumerate lines for C:\Windows\SysWOW64\imagehlp.dll
[DRCOV2LCOV] WARNING(1): Failed to enumerate lines for C:\Windows\SysWOW64\wbemcomn.dll
[DRCOV2LCOV] WARNING(1): Failed to enumerate lines for C:\Windows\SysWOW64\wbem\wbemprox.dll
[DRCOV2LCOV] WARNING(1): Failed to enumerate lines for C:\Windows\SysWOW64\wbem\wbemsvc.dll
[DRCOV2LCOV] WARNING(1): Failed to enumerate lines for C:\Windows\SysWOW64\wbem\fastprox.dll
[DRCOV2LCOV] WARNING(1): Failed to enumerate lines for C:\Windows\SysWOW64\amsi.dll
...


Any help?
2ourc3

Derek Bruening

unread,
Nov 21, 2023, 11:16:19 AM11/21/23
to 2ourc3 1er, DynamoRIO Users
You would not expect to get line number info from the system libraries you are showing so those particular warnings are normal.  You would only expect line info from libraries/executables where you actually have full debug info.

--
You received this message because you are subscribed to the Google Groups "DynamoRIO Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dynamorio-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dynamorio-users/852ba104-deff-48d2-a143-af28c64c29c8n%40googlegroups.com.

2ourc3 1er

unread,
Nov 21, 2023, 11:29:30 AM11/21/23
to DynamoRIO Users
Thanks Derek.
However when running drcov2lcov the result file somehow corrupted. I use the perl script genhtml to create an html of the output and it's displaying this:
bugdrcov.PNG

Derek Bruening

unread,
Dec 9, 2023, 6:46:16 PM12/9/23
to 2ourc3 1er, DynamoRIO Users
I'm not sure what you're asking: the files for the tool itself end up on the list of libraries, IIRC, and they will never have reported executions by the application, so seeing a 0 lines executed count for drtable.c seems normal.

Reply all
Reply to author
Forward
0 new messages