Skip to content
This repository was archived by the owner on Oct 15, 2021. It is now read-only.
This repository was archived by the owner on Oct 15, 2021. It is now read-only.

API for hooking typed Swift functions #3

Description

@maltek

We want a wrapper around Interceptor.attach that's given the type signature of the hooked function and provides the installed hooks with the nice high-level proxies from #1 for parameters and return value. In other words, we need to implement reading parameters and return values according to the Swift calling convention for all the different kinds of types.

Maybe it'll become possible later to find the types of (some) functions automatically, but we'll still need this API as a building block.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions