DynamoRIO / DynamoRIO/dynamorio

support Intel Safer Mode Extensions CPL0 behavior

Open
#1,313 0 comments 0 reactions 0 assignees View on GitHub
Migrated Priority-Low Type-Feature
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 15h
Merged PRs (30d)
31

Description

_From [bruen...@google.com](https://code.google.com/u/109494838902877177630/) on November 06, 2013 12:31:01_

For now I'm only adding ISA support for CPL>0 effects of OP_getsec.
This issue covers handling the others, for supporting CPL 0.

/\* XXX i#: various getsec leaf funcs at CPL 0 write to all kinds of processor state
- including eflags and eip. Leaf funcs are indicated by eax value, though.
- Here we only model the CPL > 0 effects, which conditionally write to ebx + ecx,
- modeled as read + write (ebx is a real input too).
_/
/_ XXX i#: if we support CPL0 in the future we'll need to dynamically
\* handle the leaf functions here, which can change eip and other
\* state.
*/

_Original issue: http://code.google.com/p/dynamorio/issues/detail?id=1313_

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.