Google traces: LOAD-STORE-BRANCH

11 views
Skip to first unread message

Heiner Litz

unread,
Mar 28, 2025, 3:21:07 AMMar 28
to DynamoRIO Users
Hi,
Google v2 traces contain instructions for which the following 3 categories are set:

DR_INSTR_CATEGORY_LOAD &&
DR_INSTR_CATEGORY_STORE &&
DR_INSTR_CATEGORY_BRANCH

store & branch respectively load & branch, I assume map to CALL respectively RET, but I am not aware of any x86 or ARM instruction that does load & store & branch.

I need to map these instructions to an x86-like IR so that they can be executed on a simulator; any help in understanding what these instructions are would be appreciated.

Heiner 

--

Derek Bruening

unread,
Mar 28, 2025, 9:48:15 AMMar 28
to Heiner Litz, DynamoRIO Users
Indirect call with target in memory.  Did you check the record type?  That would solve this for you.  Branch types are identified with separate record types: TRACE_TYPE_INSTR_INDIRECT_CALL, with a TRACE_MARKER_TYPE_BRANCH_TARGET with its target.

--
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 visit https://groups.google.com/d/msgid/dynamorio-users/CAJbgVnXdxt1J0d2BzotW%2BiPgCK2NVN9PHPi_AkNcfUtjvWFbSA%40mail.gmail.com.

Heiner Litz

unread,
Mar 28, 2025, 11:40:54 AMMar 28
to Derek Bruening, DynamoRIO Users
Hi Derek,
I thought this info had been stripped from the traces, yes that makes it much easier! Thanks for answering this and my last question so promptly.
Heiner
--
Reply all
Reply to author
Forward
0 new messages