This project is a learning project which shows decoding of dwarf3 .debug_line section in a ELF32.
sudo apt install gcc-multilib g++-multilib
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_TARGETFILE=1 ..
cmake --build .
Note the test target file can only be built on Linux
./build/ELFLearn build/TargetFile/CMakeFiles/TargetFile.dir/targetfile.cpp.o
mkdir build_win
cd build_win
cmake -A x64 ..
cmake --build .
build_win\Debug\ELFLearn.exe path_to_elf_file
Read .debug_info
readelf --debug-dump=info ./build/TargetFile/CMakeFiles/TargetFile.dir/targetfile.cpp.o