Giter Site home page Giter Site logo

native crash at android 13 about bhook HOT 2 CLOSED

bytedance avatar bytedance commented on August 14, 2024
native crash at android 13

from bhook.

Comments (2)

caikelun avatar caikelun commented on August 14, 2024
  1. 从崩溃 backtrace 看不出和 bytehook 有直接的关系,只能从侧面验证排查。
  2. write() 的返回值类型是 ssize_t,不是 size_t,这个首先需要改掉。
  3. 如果线上还有问题,可以把 LogLockTrace 函数当中的 JNI 调用先去掉,甚至把 C++ std 也都去掉,先验证稳定性。因为 hook 后插入的 proxy 逻辑对于原逻辑是个“意外”,比如 JNI 系统流程中如果有 write,这时被你 hook 了,在 proxy 中又调用了 JNI 函数,这种行为可能破坏了原逻辑中的一些逻辑假设。

from bhook.

hongyang-hua-20230331 avatar hongyang-hua-20230331 commented on August 14, 2024

感谢回复🙏,我试试看

from bhook.

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.