-
Notifications
You must be signed in to change notification settings - Fork 338
Open
Description
您好,对于hook_Objc_msgSend我有三个问题需要咨询一下:
1、在save()以及load()的汇编方法中,目前对于lr的存储是通过push_call_record及pop_call_record处理的。为何使用以下的汇编把lr及fp入栈,在hook_Objc_msgSend调用结束时再出栈,会出现crash。请问您对此是否有什么心得?
stp fp, lr, [sp, #-16]!
ldp fp, lr, [sp], #16
2、如果我需要针对部分方法不做拦截,是否有什么办法可以处理?目前发现hook_Objc_msgSend与google的GRPC库(GRPCWrappedCall的startBatchWithOperations:(NSArray *)operations errorHandler:(void (^)(void))errorHandler方法)有冲突,会出现crash。
3、对于模拟器您是否有试过hook_Objc_msgSend做拦截处理?
Metadata
Metadata
Assignees
Labels
No labels