Fail to run Human-Readable View on memtrace

39 views
Skip to first unread message

Eugene Abramsky

unread,
Sep 21, 2022, 7:52:15 AM9/21/22
to DynamoRIO Users
Hi,

I try to run the following command and get error.
[GGL_traces] >DynamoRIO-Linux-9.0.1/bin64/drrun -t drcachesim -simulator_type view -infile ./trace1/merced_trace-1_13378400607429273214.462774.memtrace.gz
ERROR: failed to initialize analyzer: Failed to create analysis tool: Tool failed to initialize: Failed to initialize directory: Failed to open module file ./trace1/raw/modules.log

[GGL_traces] >zcat ./trace1/merced_trace-1_13378400607429273214.462774.memtrace.gz rc | od -A x -t x2 -w12 | awk '{printf "%s | %s %s %s%s%s%s\n", $1, $2, $3, $7, $6, $5, $4}' | head
000000 | 0019 0000 0000000000000003
00000c | 001c 000c 0000000000000003
000018 | 001c 0009 0000000000000040
000024 | 0016 0004 0000000000070fb6
000030 | 0018 0004 0000000000070f90
00003c | 001c 000a 0000000000000040
000048 | 001c 0002 002f3080afa11613
000054 | 001c 0003 0000000000000049
000060 | 000a 0003 00007f6cae908a29
00006c | 000a 0006 00007f6cae908a2c

[GGL_traces] >ll -a trace1
total 50980
drwxrwsr-x 2 user     4096 Sep 21 04:39 .
drwxrwsr-x 5 user     4096 Sep 21 04:39 ..
-rwxrw-r-- 1 user     5565 Sep 21 04:37 merced_trace-1_13378400607429273214.462774.memtrace.gz
-rwxrwxr-x 1 user 47940912 Sep  6 05:42 whiskey_trace-1_1748052322638680856.1036803.memtrace
-rwxrwxr-x 1 user  4034308 Sep  6 05:42 whiskey_trace-1_1748052322638680856.1036803.memtrace.gz

Thanks,
Eugene

Eugene Abramsky

unread,
Sep 21, 2022, 8:56:32 AM9/21/22
to DynamoRIO Users
Where can I download "modules.log" file?

DynamoRIO-Linux-9.0.1/docs/html/view__create_8h.html:<p>Creates an analysis tool which prints out the disassembled instructions from the binary in the order they are present in the trace. This tool needs access to the modules.log and original libraries and binaries from the traced execution. It does not support online analysis. </p>

Derek Bruening

unread,
Sep 21, 2022, 2:41:23 PM9/21/22
to Eugene Abramsky, DynamoRIO Users
The view tool was later augmented: please try a more recent version from https://github.com/DynamoRIO/dynamorio/releases.

--
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/9734e50e-e8a8-496f-9ac7-5110da60fc3en%40googlegroups.com.

Eugene Abramsky

unread,
Sep 22, 2022, 2:00:11 AM9/22/22
to DynamoRIO Users
Thanks:)
Reply all
Reply to author
Forward
0 new messages