toys/dwarfcxx
anjingyu 58f49c36bc feat: append section .interp for shared object, output version inforation like libQt5Core.so 2024-10-20 22:46:05 +08:00
..
examples feat: dwarfcxx based on gimli 2024-08-10 23:31:22 +08:00
include feat: build on Windows 2024-08-12 11:39:49 +08:00
source feat: append section .interp for shared object, output version inforation like libQt5Core.so 2024-10-20 22:46:05 +08:00
src fix: correct struct parsing process for the empty struct 2024-10-15 21:47:03 +08:00
test feat: dwarfcxx based on gimli 2024-08-10 23:31:22 +08:00
test-data feat: build on Windows 2024-08-12 11:39:49 +08:00
.clang-format feat: dwarfcxx based on gimli 2024-08-10 23:31:22 +08:00
.gitignore feat: build on Windows 2024-08-12 11:39:49 +08:00
CMakeLists.txt feat: append section .interp for shared object, output version inforation like libQt5Core.so 2024-10-20 22:46:05 +08:00
Cargo.toml fix: fixed bugs 2024-08-13 16:12:24 +08:00
README.md chore: README 2024-08-12 11:42:47 +08:00
build.rs feat: dwarfcxx based on gimli 2024-08-10 23:31:22 +08:00

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 or dll.

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