DynamoRIO / DynamoRIO/dynamorio

xsave* also loads data

Open
#6,769 0 comments 0 reactions 0 assignees View on GitHub
OpSys-x86
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 18h
Merged PRs (30d)
30

Description

The xsave operation on x86 stores the processor state to the xsave area pointed to by the destination operand. But it also reads some data from the xsave header there. (https://www.felixcloutier.com/x86/xsave, https://www.felixcloutier.com/x86/xsaveopt). The decoder should mark it as also loading data.

Contributor guide

Open the contributing guide

Research direction

Start by locating the x86 decoder handling the xsave and xsaveopt operations, then compare its current operand data-flow classification with the linked instruction documentation. Update the classification so the xsave area is marked as also loading data, and verify the behavior with the decoder's relevant tests if available.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
reverse-engineering
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.