title: Heap corruption detection for iOS device programming
body: <p>Is there any function which detects heap corruption like <a href="https://msdn.microsoft.com/ko-kr/library/2xse74he.aspx" rel="nofollow">_heapchk</a> for iOS device, not simulator?</p>
  
  <p><a href="https://developer.apple.com/library/mac/documentation/Performance/Conceptual/ManagingMemory/Articles/MallocDebug.html" rel="nofollow">Guard Malloc</a> is nearst, but it works in iOS Simulator, not iOS device. My app causes EXC_BAD_ACCESS by accessing null pointer only in device.</p>
  
  <hr>