Skip to content

Support for relocation of RIP-relative instructions in FunctionHook #35

@alexrp

Description

@alexrp

This is quite a difficult problem to solve, but it is possible. Instructions that use RIP-relative displacements have to be rewritten to equivalent sequences using absolute addresses. The tricky part is picking a volatile scratch register to use in the rewritten code that won't conflict with the original code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: hookingIssues related to the function hooking APIs.cpu: x86 64Issues that are specific to x86 (64-bit).state: approvedEnhancements and tasks that have been approved.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions