atosl(for linux) for java
- libelf
sudo apt-get install libelf-dev
- Iberty
- Ubuntu 14.04
sudo apt-get install libiberty-dev
- Ubuntu 12.04
sudo apt-get install binutils-dev
- Ubuntu 14.04
- libdwarf
- Download from Official Website
- Unzip source, then
./configure --enable-shared
make
- copy
libdwarf.so
file to/usr/lib
- copy
libdwarf.h
anddwarf.h
to atosl-java folder
make
symbolicate(String arch, String executable, String[] addresses, int addressLength);
code | status |
---|---|
0 | success |
-1 | unsupported architecture |
-2 | unable to open dSYM file |
-3 | unable to read dSYM file |
-4 | unable to read architecture |
-5 | unable to seek |
-6 | architecture not found |
-7 | invalid magic for architecture |
-8 | invalid memory address |
- Example file is in
/test
folder- Data from facebook/atosl | Issue #4