A backend which uses Fishhook to hook functions.
Other hook requests are forwarded to the
This backend conditionally conforms to
UnderlyingBackend does as well.
WarningThis backend does not support hooking functions by their address. It is also subject to the pitfalls of Fishhook, for example calls to hooked functions from within the image in which the function is declared may still use the original implementation. In addition, all instances of symbols with the same name as the target function are hooked, not just the one in the requested image.
Initializes the Fishhook backend with the provided underlying backend.
public init(underlyingBackend: UnderlyingBackend)
The backend to fall back to for non-function hooking.