Giter VIP home page Giter VIP logo

dsce's Introduction

dsce

Incomplete macOS 11+ dyld cache extractor with a focus on Metal-related dylibs.

credits

status

  • copy header and load commands
  • copy segments/sections, updating offsets and addresses
  • process cache rebase chain
    • generate opcodes
  • generate bind opcodes
    • from symbol pointer sections
    • by scanning whole image and resolving external pointers
  • generate exports trie
    • regular
    • re-export
    • stub and resolver
  • copy symbols, indirect symbols, and string table
  • fix Objective-C structures
    • revert selector uniquing
    • revert protocol uniquing
    • fix class, category, and protocol method lists
  • mark UUIDs for testing
  • produce fully compliant images
    • satisfy install_name_tool -id test
    • satisfy codesign -fs -
    • satisfy dyld_info -objc
    • satisfy Stubber (nm, Objective-C runtime, linker)
    • satisfy lldb
  • produce working images
    • work normally with selected images extracted and installed
      • 12.0 DP6 - GeForce bundles
      • 12.5 DP2 - MetalPerformanceShaders and sub-frameworks
      • 12.5 DP3 - QuartzCore, CoreGraphics, Carbon, AppKit
      • 12.5 - AMDMTLBronzeDriver, AMDShared, Metal, MetalPerformanceShaders, MTLCompiler, GPUCompiler
      • 13.0 DP4 - QuartzCore, CoreGraphics, Carbon
      • 13.0 DP4 - AppKit
    • work normally with all images extracted and cache removed
  • support Big Sur
  • support Monterey
  • support Ventura
    • without the __objc_imageinfo hack
  • use sane amounts of RAM and CPU
  • write automated tests to detect regressions

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.