Coder Social home page Coder Social logo

locus's Introduction

logo

home page

当滑动列表的时候,控制会打印LCUS为前缀的所有调用,可以看到滑动的过程中究竟调用了哪些方法

When the list is swiped, the control prints all calls that are prefixed by LCUS, and you can see which methods were called during the sliding process.

console

介绍

objective-c行为记录器,跟踪objc_msgSend

Objective-c behavior recorder, tracking objc_msgSend

使用说明

  • 模拟器使用, 勾选hook_objc_msgSend_x86.s参与编译 (Use by the simulator, check hook_objc_msgSend_x86.s to compile)
  • 真机使用5s以上机型,勾选hook_objc_msgSend.s参与编译 (Real machine use 5s or more models, check hook_objc_msgSend.s to compile)

注意事项

  • 过滤器LCSFilterBlock中不能再次调用objc_send, 也就是调用oc方法(包括NSLog),会导致无限循环。( The objc_send cannot be called again in the filter LCSFilterBlock, that is, calling the oc method (including NSLog) will result in an infinite loop.)
  • 目前此实现目的仅用于调试,不要用于线上代码。( Currently this implementation is only for debugging purposes, not for online code.)

大家使用有问题,欢迎提issues (There is a problem with everyone, welcome to mention issues)

locus's People

Contributors

familymrfan avatar hzfanfei avatar

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.