Giter VIP home page Giter VIP logo

Comments (1)

gsdios avatar gsdios commented on August 19, 2024

这个是SDMagicHook的调用链检查机制检测到你在进行hook操作之后没有调用原始方法报出的警告。
很多人在hook时候忘记调用hook之前的原始方法导致整个调用链断裂,然后影响了在你之前hook这同一个方法的其他人的代码导致他们的hook实现会被调用了,出现各种暗坑。
如果确定不需要调用原始方法或者想要屏蔽掉调用检查警告,可以按如下方式操作下:
/// debug模式下会自动检查hook操作是否忘记调用原始方法,如果发现未调用原始方法会暂停当前进程帮助你定位问题,
/// 如果你不希望在检测到异常时暂停当前进程请将此tag置为NO。
extern BOOL SDMagicHookDebugFlag;

from sdmagichook.

Related Issues (14)

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.