You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
在调用实例中的该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];
}
The text was updated successfully, but these errors were encountered:
}
The text was updated successfully, but these errors were encountered: