Git Product home page Git Product logo

Comments (3)

asmjmp0 avatar asmjmp0 commented on September 23, 2024

不太懂你说的意思,能不能举例说明?

from fridamemoryaccesstrace.

DingcuiYu avatar DingcuiYu commented on September 23, 2024

例如某个应用运行的过程中CPU通过Load/Store读了地址0x1的数据,写了地址0x2的数据,可以通过这个工具捕获到吗?

from fridamemoryaccesstrace.

asmjmp0 avatar asmjmp0 commented on September 23, 2024

这个工具不行,这个工具只能对某片地址的访问进行trace,以Linux系统,arm64架构为例,如果需要对指令级别进行trace这里可以给出两种解决方案:

  1. 对于能进入调试状态的程序,使目标进程进入调试状态,单步调试,trace指令,过滤ldr,str指令,对于lldb调试器参考https://github.com/yangyss/lldb-trace
  2. 对于不能进入调试状态的程序,且没有加固的程序,可以使用二进制插桩技术,程序.text段的全部ldr,str指令进行hook插桩。
    注意,对于多线程需要对线程的访问序列进行过滤。

from fridamemoryaccesstrace.

Related Issues (3)

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.