Comments (3)
我也不太懂,我都是用log.d打印变量什么的,没有试过单步调试。
有时调试要得到调用堆栈,可以hook住函数以后抛出异常并打印调用堆栈。
还有就是hook不住某个函数的话,控制台会显示异常。
就这点经验了,希望帮到你。。
from nowechatrevoke.
@bin456789
能交流一下你当时是怎么知道,该方法可以影响到微信撤回的呢?
思路是怎么样的?
from nowechatrevoke.
@ycdm 我想撤回的消息在数据库中里一定有什么标记,于是网上找到方法读取微信的数据库,然后发现撤回的消息的某个字段会标记为10000,于是源码中搜索10000,找到方法后hook住然后打印调用堆栈,就找到大概的位置了,所以也就有上面那点经验。
from nowechatrevoke.
Related Issues (11)
- 不同版本的微信跟撤回相关的className和functionName都不一样? HOT 1
- 建议撤回得消息标示出:(已撤回消息) HOT 5
- 同理会有noqqrevoke嚒 HOT 1
- 1.10版,微信6.3.8无效,QQ6.1无效 HOT 3
- 可否利用同样的原理开发抢红包插件 HOT 1
- 微信6.3.9防止撤回失效 HOT 5
- 消息栏提示*****已撤回!是否点击时能进入群里 HOT 1
- 今天更新了6.3.13 HOT 2
- 建议QQ标出撤回消息! HOT 2
- 如何使用能有个说明吗
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nowechatrevoke.