jmpews / Dobby

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iOS 16.5 hook unvalid

zhouyuboo opened this issue · comments

void *msg_send = DobbySymbolResolver("libobjc.A.dylib", "objc_msgSend"); pthread_key_create(&MsgSend_key, NULL); pthread_setspecific(MsgSend_key, &MsgSend_key); int hookResult = DobbyInstrument((void *)((mach_vm_address_t)msg_send + 8), zyb_msgSend_callBack);

'hookResult' is 0, but assemble code are not changed.