Skip to content

Instantly share code, notes, and snippets.

@nwg
Created December 31, 2018 21:09
Show Gist options
  • Save nwg/cdb21b64db4142d9e75abe3a908b6b8f to your computer and use it in GitHub Desktop.
Save nwg/cdb21b64db4142d9e75abe3a908b6b8f to your computer and use it in GitHub Desktop.
$rip=0x0000000112aff31b
memory region $rip
[0x0000000112aff000-0x0000000112b1a000) rwx
malloc_history 28499 0x0000000112aff31b
VM_ALLOC 0x112aff000-0x112b00fff [size=8192]: [thread 0x700000aa4000]: | 0x102f9f160 (snap-test2) mmapForLinker | 0x7fff5f38e97c (libsystem_kernel.dylib) mmap
vmmap 28499
VM_ALLOCATE 0000000112a6f000-000000011303c000 [ 5940K 5940K 5940K 0K] rwx/rwx SM=PRV
How does the vmmap VM_ALLOCATE have a larger region than the malloc_history VM_ALLOC. Is there a VM_REALLOC?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment