DynamoRIO / DynamoRIO/drmemory

handle PIE spanning 0x55..'-0x56..' segment

Open
#1,799 0 comments 0 reactions 0 assignees View on GitHub
Bug-Assert OpSys-Linux
Dominant language
C
Stars
2.7k
Forks
290
PR merge metrics
No merged PRs in 30d

Description

The PIE range where DR is loaded is [0x5555'55555000..0x5655'55555000), with simple page alignment, meaning that DR could span the 0x55..'-0x56..' segment gap. Umbra does not support segment-spanning maps. DR has functionality already implemented to reload itself at startup to a different address, so our plan is to add a DR option requesting that DR relocate itself if the kernel placed it spanning the segments.

Xref #1782, https://github.com/DynamoRIO/dynamorio/issues/1227

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.