iOS 16.5 hook unvalid
zhouyuboo opened this issue · comments
zhouyuboo commented
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.