maniac

Results 6 comments of maniac

I found some case that vm_protect return KERN_SUCCESS , but memory don't set VM_PROT_WRITE success. like mprotect method ------- `oldProtection = get_protection(rebindings); `is wrong, It save `struct rebindings_entry *rebindings` memory...

> @leirenbaobao it seems that he hook the dispatch_sync. > And I try to hook malloc / realloc get same crash report. > > I'm pretty sure the iOS 14.5...

> When will the crash be fixed? > > I used #84 code and it worked.But it's not merged into the main branch,so can I use it? you can use...

`oldProtection = get_protection(rebindings);` is wrong, It save `struct rebindings_entry *rebindings` memory protection. We should save section protection. I commit code that `oldProtection = get_protection((void *)trunc_address);`. and I found a problem...

> @annyfun iphone7, I tried, but still crash, The function is sigaction I tried hook `int sigaction(int, const struct sigaction * __restrict, struct sigaction * __restrict);` use https://github.com/facebook/fishhook/pull/84, it worked...

I found some case that vm_protect return KERN_SUCCESS , but memory don't set VM_PROT_WRITE success. like mprotect method