Open wxyawang opened 10 months ago
在调用实例中的该crash类型,SDK本身会出现crash,如上截图所示
(void) useCorruptObject { // From http://landonf.bikemonkey.org/2011/09/14
// Random data void pointers[] = {NULL, NULL, NULL}; void randomData[] = { (void)"a", (void)"b", (void)pointers, (void)"d", (void)"e", (void)"f"};
// A corrupted/under-retained/re-used piece of memory struct {void* isa;} corruptObj = {randomData};
// Message an invalid/corrupt object. // This will deadlock if called in a crash handler. [(__bridge id)&corruptObj class]; }
在调用实例中的该crash类型,SDK本身会出现crash,如上截图所示
(void) useCorruptObject { // From http://landonf.bikemonkey.org/2011/09/14
// Random data void pointers[] = {NULL, NULL, NULL}; void randomData[] = { (void)"a", (void)"b", (void)pointers, (void)"d", (void)"e", (void)"f"};
// A corrupted/under-retained/re-used piece of memory struct {void* isa;} corruptObj = {randomData};
// Message an invalid/corrupt object. // This will deadlock if called in a crash handler. [(__bridge id)&corruptObj class]; }