Giter VIP home page Giter VIP logo

Comments (4)

ele7enxxh avatar ele7enxxh commented on June 22, 2024

有例子吗?

from android-inline-hook.

clarkehe avatar clarkehe commented on June 22, 2024

有,必现的。你QQ多少,我加下你。我的QQ 2711983007

from android-inline-hook.

clarkehe avatar clarkehe commented on June 22, 2024

已经解决,是程序逻辑上的问题。
当inlineHook返回时,子线程已经开始执行了,由于在inlineHook返回后才更新程序的返回地址(初始为空),子线程中会执行HOOK替换函数,HOOK替换函数会调用返回地址,返回地址没有更新,为NULL, 就CRASH了。

一定要将你本地保存的返回地址作为引用传给registerInlineHook(第三个参数),我是传了一局部变量,在inlineHook返回后,再将局部变量赋给本地保存地址的变量。

from android-inline-hook.

ele7enxxh avatar ele7enxxh commented on June 22, 2024

good job~

from android-inline-hook.

Related Issues (20)

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.