DynamoRIO / DynamoRIO/dynamorio

AArch64 decoder doesn't set the raw bits

Open
#5,176 2 comments 0 reactions 1 assignee Claimed by @AssadHashmi View on GitHub
Component-IR OpSys-AArch64
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 15h
Merged PRs (30d)
31

Description

It looks like if we use decode_from_copy() to decode from address X as though it were at address Y (for purposes of PC-relative operands), something that is common for drmemtrace address trace post-processing and analysis, the AArch64 decoder sets the translation target (obtainable via instr_get_app_pc()) to Y as expected but does not set the raw bits and thus instr_get_raw_bits() returns NULL rather than X.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.