jmpews / Dobby

a lightweight, multi-platform, multi-architecture hook framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

arm : DobbyHook

marlkiller opened this issue · comments

commented

On macOS, ARM architecture, the tmp parameter in the DobbyHook function call must be passed a valid non-null, value, otherwise it will result in an error. However, on the x86 architecture, passing a null value for tmp does not cause an error.

DobbyHook((void *)_sub_0x10030b9a5, ret, &tmp);

image
commented

Regarding the ARM environment:

Introducing a .dylib can cause this problem, but introducing a .a does not have this issue.