Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dyld shared cache parsing #308

Merged
merged 8 commits into from
May 27, 2021
Merged

Add dyld shared cache parsing #308

merged 8 commits into from
May 27, 2021

Commits on May 24, 2021

  1. Add DyldCache.

    This implements just enough to get the path and header offset of each contained image.
    It also adds a function to get an "any" File object for the image, so that the caller
    doesn't need to write code twice for 32 and 64 bit images and can instead benefit from
    the enum-based dynamic dispatch.
    This commit also adds two "examples", for printing the list of images in the cache and
    for dumping an object from inside the cache.
    mstange authored and philipc committed May 24, 2021
    Configuration menu
    Copy the full SHA
    2655179 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f225852 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2021

  1. Configuration menu
    Copy the full SHA
    715101f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6776db1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    95f890e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    10e39c1 View commit details
    Browse the repository at this point in the history
  5. readobj: dyld cache support

    philipc committed May 26, 2021
    Configuration menu
    Copy the full SHA
    3c0504b View commit details
    Browse the repository at this point in the history

Commits on May 27, 2021

  1. read: add read_bytes_at_until

    Use this for dyld cache image paths. The main benefit is avoiding
    an artificial limit for mapped data.
    philipc committed May 27, 2021
    Configuration menu
    Copy the full SHA
    f4cf58f View commit details
    Browse the repository at this point in the history