Skip to content
This repository was archived by the owner on Aug 16, 2026. It is now read-only.

Add a CodeHook class for mid-function hooking #52

Description

@alexrp
  • Such a hook should receive a pointer to a machine context containing all register values from the target function at the point the hook is called.
  • The hook should be able to modify the context before returning and have those modifications flow to the remainder of the target function.
  • The user should be able to specify which registers (GPR, XMM/YMM/ZMM, ...) are captured/flowed to reduce the performance impact.
  • The hook should use the hook gate infrastructure.

I think all of this should be technically feasible. Probably...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: hookingIssues related to the function hooking APIs.area: samplesIssues related to the sample projects.state: approvedEnhancements and tasks that have been approved.

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions