Skip to content

Instantly share code, notes, and snippets.

@david8lumen
Last active March 2, 2022 04:55
Show Gist options
  • Save david8lumen/0a221db472952fe60ffe07fe7338e5e4 to your computer and use it in GitHub Desktop.
Save david8lumen/0a221db472952fe60ffe07fe7338e5e4 to your computer and use it in GitHub Desktop.

Useful resources that were used to build the memory graph application. This is also a set of interesting materials which are related to memory understanding.

Source code

  1. The Memory Graph Project builds the memory graph of the application
  2. Python implementation of searching object's references and other interesting features via (lldb) script import lldb.macosx.heap
  3. C++ implementation of searching object's references
  4. FLEX set of in-app debugging and exploration tools for iOS development

Materials and media

  1. WWDC 2018 session iOS Memory Deep Dive
  2. Mac OS X Internals - A Systems Approach book - explains how OSX memory works, how malloc works and others under the hoods.
  3. Articles that explaining how to verify arbitrary object belongs to Cocoa:
  1. Article explains changes to the isa field on iOS for arm64
  2. Article explains how Objective-C classes work.
  3. Algorithms books:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment