Giter Club home page Giter Club logo

Comments (2)

steven-michaud avatar steven-michaud commented on May 11, 2024

Your question is very unclear. For the sake of argument, though, I'll assume you're asking something like this:

Which part of HookCase's code removes Apple's restrictions on the use of DYLD_INSERT_LIBRARIES?

The answer is "none of it". HookCase doesn't remove Apple's restrictions on DYLD_INSERT_LIBRARIES. Instead, as the README file says, it "re-implements and extends Apple's DYLD_INSERT_LIBRARIES functionality". It comes at the problem from a completely different direction -- a kernel extension. This bypasses the code (mostly in /usr/lib/dyld) that Apple uses to implement DYLD_INSERT_LIBRARIES, and "re-implements" it, without using any of Apple's code. Because HookCase is built from scratch (from the ground up), it can bypass Apple's restrictions and add new functionality.

As extensive as it is, the code in HookCase is very parsimonious. Pretty much all of it is needed to accomplish its task (of re-implementing and extending Apple's DYLD_INSERT_LIBRARIES functionality). Remove almost any part of it and HookCase will no longer work at all. The only exception is the part that implements watchpoints. This can be disabled without effecting the rest of HookCase's functionality.

from hookcase.

steven-michaud avatar steven-michaud commented on May 11, 2024

HookCase doesn't work like that.

HookCase is open-source, and well-documented (especially if you include the code comments). You clearly haven't read, or haven't understood, any of it. There's nothing I can do to help you.

from hookcase.

Related Issues (20)

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.