AddressSanitizer is a fast memory error detector. It consists of a compiler instrumentation module and a run-time library. The tool can detect the following types of bugs:xcode
Out-of-bounds accesses to heap, stack and globals
Use-after-free
Use-after-return (to some extent)
Double-free, invalid free
Memory leaks (experimental)3d
总结来讲:**用来解决内存问题的**。 当发生Crash时,打印这个Crash内存的使用记录。经过这个使用记录来调试Bug。