DynamoRIO / DynamoRIO/dynamorio
support 2-byte pc-relative immediates
Open
Component-IR
Migrated
Priority-Low
Type-Feature
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 30
Description
_From [bruen...@google.com](https://code.google.com/u/109494838902877177630/) on November 06, 2013 15:09:41_
The "Jz" operand type supports a 2-byte pc-relative immediate.
This applied to OP_jmp, OP_call, OP_jcc, and OP_xbegin.
Our IR has no way of encoding this, as we don't use PREFIX_DATA
post-decode.
Thus a user must use raw bits.
instr_length() assumes no data prefix for Jz operands.
This issue covers adding a way to build a level 4 2-byte pc-relative
operand.
_Original issue: http://code.google.com/p/dynamorio/issues/detail?id=1315_
Contributor guide
Assessment
This issue has not been assessed yet.