当前位置:网站首页>OC-error prompt

OC-error prompt

2022-08-02 07:50:00 Peng classmate her deskmate

EXC_BAD_ACCESS

Indicates that you send a message to an object that has been freed. Whenever your application tries to reference a corrupted pointer, an exception is thrown by the kernel

The essence of EXC_BAD_ACCESS

EXC is an exception.BAD ACCESS means that the application cannot access the memory area, that is, the area you want to access has been released

Zombie Mode

insert image description here
Hook the address Sanitizer
object to be releasedIt is a zombie object
The pointer to the zombie object is a wild pointer, and sending a message to a wild pointer will EXC_BAD_ACCESS
A null pointer means that the pointer is nil. Sending a message to a null pointer will not respond.

原网站

版权声明
本文为[Peng classmate her deskmate]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/214/202208020650462989.html