The Wayback Machine - https://web.archive.org/web/20201202004106/https://github.com/alexeikh/android-ndk-backtrace-test
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
jni
 
 
 
 
 
 
 
 

README.adoc

Backtrace Testing App

Native command-line app for Android. Android NDK is required for buiding.

Tests backtracing of native C code from a signal handler.

The following methods of backtracing are implmented:

  • Using Android NDK’s built-in libunwind with registers from ucontext_t (ARM32 only).

  • Using _Unwind_Backtrace() function with registers from ucontext_t (ARM32 only).

  • Using _Unwind_Backtrace() function with frame skipping (all architectures).

Implementation is in pure C, but some already-compiled C++ libraries from Android NDK are used, such as libunwind and libc++abi.

Build as:

make build

Run as:

make run

About

Backtrace Testing App

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.