Giter Site home page Giter Site logo

shaopx / mydlopendemo Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 106 KB

通过读取/proc/self/maps文件, 来加载so文件, 并解析函数符号, 最终定位目标函数调用地址的方法. 演示了调用art::Thread::DumpJavaStack()方法, 来打印堆栈信息的方法;

CMake 10.59% C++ 65.15% C 8.24% Kotlin 9.76% Java 6.25%

mydlopendemo's Introduction

MyDLOpenDemo

  1. 演示了一种通过读取/proc/self/maps文件, 来找到进程加载的so文件, 并解析函数符号, 最终定位目标函数调用地址的方法.
  2. 演示了通过调用art::Thread::DumpJavaStack()方法, 来打印(收集)堆栈信息的方法, 同样的思路也可以实现对native堆栈的打印
  3. 演示了如何获取当前线程对应的art::Thread的方法

mydlopendemo's People

Contributors

shaopx avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.