V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
nicolemeimei
V2EX  ›  程序员

请问大佬们知道怎么拿到 android 手机运行程序的内存访问信息吗

  •  
  •   nicolemeimei · Jul 7, 2022 · 1671 views
    This topic created in 1404 days ago, the information mentioned may be changed or developed.

    如题,我需要拿到 android 手机运行二进制文件时的内存 load 和 store 地址信息,尝试了两个比较有名的支持 aarch64 的插桩工具,Valgrind 和 DynamoRIO ,前者可以通过 lackey 这个工具拿到相关数据,但我发现在手机上跑在pthread_mutex_lock()时发生死锁;后者尝试在 linux 系统上 cross compilation 但一直以失败告终。不知道有没有大佬尝试拿过手机端的 memory trace 信息,或者有什么可能可以实现这个需求的工具推荐?非常感谢!

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5768 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 06:51 · PVG 14:51 · LAX 23:51 · JFK 02:51
    ♥ Do have faith in what you're doing.