fishhook
fishhook copied to clipboard
iOS 15 crash
There's Crash on iOS 15。iPhone7
Exception Type: EXC_BAD_ACCESS (SIGKILL) Exception Subtype: KERN_PROTECTION_FAILURE at 0x00000001d4424da8 VM Region Info: 0x1d4424da8 is in 0x1d44249b8-0x1d4450278; bytes after start: 1008 bytes before end: 177359 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL __DATA_CONST 1d43fc5c0-1d44249b8 [ 161K] r--/rw- SM=COW ...k/MediaRemote ---> __DATA_CONST 1d44249b8-1d4450278 [ 174K] r--/rw- SM=COW ...ork/CoreUtils __DATA_CONST 1d4450278-1d4453430 [ 12K] r--/rw- SM=COW .../FamilyCircle
Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d Termination Description: SPRINGBOARD, <RBSTerminateContext| domain:10 code:0x8BADF00D explanation:scene-create watchdog transgression: application<ctrip.com>:444 exhausted real (wall clock) time allowance of 19.91 seconds | ProcessVisibility: Foreground | ProcessState: Running | WatchdogEvent: scene-create | WatchdogVisibility: Foreground | WatchdogCPUStatistics: ( | "Elapsed total CPU time (seconds): 19.580 (user 14.590, system 4.990), 16% CPU", | "Elapsed application CPU time (seconds): 0.034, 0% CPU" | ) reportType:CrashLog maxTerminationResistance:Interactive> Triggered by Thread: 0 perform_rebinding_with_section + 7177404 (fishhook.c:149) perform_rebinding_with_section + 7177312 (fishhook.c:143) rebind_symbols_for_image + 7176556 (fishhook.c:222)
在低端设备上似乎是必现崩溃
iPhone8 plus ios15 crash
There's Crash on iOS 15。iPhone7
Exception Type: EXC_BAD_ACCESS (SIGKILL) Exception Subtype: KERN_PROTECTION_FAILURE at 0x00000001d4424da8 VM Region Info: 0x1d4424da8 is in 0x1d44249b8-0x1d4450278; bytes after start: 1008 bytes before end: 177359 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL __DATA_CONST 1d43fc5c0-1d44249b8 [ 161K] r--/rw- SM=COW ...k/MediaRemote ---> __DATA_CONST 1d44249b8-1d4450278 [ 174K] r--/rw- SM=COW ...ork/CoreUtils __DATA_CONST 1d4450278-1d4453430 [ 12K] r--/rw- SM=COW .../FamilyCircle
Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d Termination Description: SPRINGBOARD, <RBSTerminateContext| domain:10 code:0x8BADF00D explanation:scene-create watchdog transgression: application<ctrip.com>:444 exhausted real (wall clock) time allowance of 19.91 seconds | ProcessVisibility: Foreground | ProcessState: Running | WatchdogEvent: scene-create | WatchdogVisibility: Foreground | WatchdogCPUStatistics: ( | "Elapsed total CPU time (seconds): 19.580 (user 14.590, system 4.990), 16% CPU", | "Elapsed application CPU time (seconds): 0.034, 0% CPU" | ) reportType:CrashLog maxTerminationResistance:Interactive> Triggered by Thread: 0 perform_rebinding_with_section + 7177404 (fishhook.c:149) perform_rebinding_with_section + 7177312 (fishhook.c:143) rebind_symbols_for_image + 7176556 (fishhook.c:222)
try this https://github.com/facebook/fishhook/pull/62
@whde You tried, no problem? I tried it, but the hook function won't work.
@whde You tried, no problem? I tried it, but the hook function won't work.
I tried #87 and #84, it worked on 14.6 and 15.0
@annyfun iphone7, I tried, but still crash, The function is sigaction
@whde You tried, no problem? I tried it, but the hook function won't work.
I tried #87 and #84, it worked on 14.6 and 15.0
yes. it‘s ok https://raw.githubusercontent.com/facebook/fishhook/31e51827675cbdee0a8ed2533d1dd700ea4c8306/fishhook.c
@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 on 14.6 and 15.0。
Can you give a demo that hook sigaction ~ thanks~