Giter Club home page Giter Club logo

Comments (3)

bin456789 avatar bin456789 commented on August 24, 2024

我也不太懂,我都是用log.d打印变量什么的,没有试过单步调试。
有时调试要得到调用堆栈,可以hook住函数以后抛出异常并打印调用堆栈。
还有就是hook不住某个函数的话,控制台会显示异常。
就这点经验了,希望帮到你。。

from nowechatrevoke.

ycdm avatar ycdm commented on August 24, 2024

@bin456789
能交流一下你当时是怎么知道,该方法可以影响到微信撤回的呢?
思路是怎么样的?

from nowechatrevoke.

bin456789 avatar bin456789 commented on August 24, 2024

@ycdm 我想撤回的消息在数据库中里一定有什么标记,于是网上找到方法读取微信的数据库,然后发现撤回的消息的某个字段会标记为10000,于是源码中搜索10000,找到方法后hook住然后打印调用堆栈,就找到大概的位置了,所以也就有上面那点经验。

from nowechatrevoke.

Related Issues (11)

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.