![]() |
||
---|---|---|
.. | ||
examples | ||
include | ||
source | ||
src | ||
test | ||
test-data | ||
.clang-format | ||
.gitignore | ||
CMakeLists.txt | ||
Cargo.toml | ||
README.md | ||
build.rs |
README.md
DWARF Parser Based on Rust gimli
with C++ Binding
NOTE: This library only extract all the GLOBAL variables from a ELF file, so that the other tools can generate
A2L
, or just retrieve the offset address for XCP.
NOTE: Only support output as
so
ordll
.
How to Build & Test
# Build library and test program, on Linux
# with llvm
CXX=clang++ CC=clang admake build -r
# or without llvm
admake build -r
admake build -t -r
# Build test-data
cd test-data
make
# Do test
LD_LIBRARY_PATH=${PWD}/.build/linux/x64/lib/Release admake test -- ./main