DynamoRIO / DynamoRIO/dynamorio

pre-xl8 raw_mcontext for signals holds post-xl8 simd state

Open
#1,615 0 comments 0 reactions 0 assignees View on GitHub
Component-API OpSys-Linux
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 18h
Merged PRs (30d)
30

Description

The dr_restore_state_info_t.raw_mcontext is supposed to hold the
pre-translation machine state in a dr_mcontext_t. However, the
signal-handling code only keeps a copy of the sigcontext_t prior to
translation. For x86, the simd state is shared between the pre- and
post- translation contexts. Thus if a client modifies simd state on
translation, the wrong values will be in raw_mcontext.

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.