GithubHelp home page GithubHelp logo

daidoujichen / daimethodtracing Goto Github PK

View Code? Open in Web Editor NEW
187.0 187.0 25.0 75 KB

This is a tool for understanding your methods. You can monitor the input / output value, method relationships, method process time.

Objective-C 99.68% C++ 0.32%

daimethodtracing's People

Contributors

daidoujichen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

daimethodtracing's Issues

arm64 下 crash 的問題

參考

重點節錄

Your Objective-C method is not variadic. Therefore any C implementation that you install using class_addMethod() must also be non-variadic. The call site (using the Objective-C method declaration) and the implementation (in your C function) must match. You must write a non-variadic C function to implement the non-variadic Objective-C method declaration, or you must write a variadic C function to implement a variadic Objective-C method declaration.

On arm64, variadic parameters and non-variadic parameters are passed differently. The expected result for a mismatch is undefined noise. Your reverse-order result is a coincidence and is likely to change with different code or compiler optimization. (This is true to some extent on some other architectures as well, but arm64 makes it even worse.)

固定參數數量的 IMP 只可以去接固定參數數量的 Method,
不固定參數數量的 IMP 只可以去接不固定參數數量的 Method,
亂接是不正確的行為.....

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.