xoofx / LibObjectFile

LibObjectFile is a .NET library to read, manipulate and write linker and executable object files (e.g ELF, PE, DWARF, ar...)
BSD 2-Clause "Simplified" License
159 stars 11 forks source link

ELF files load with 12 erros #9

Closed bruno-garcia closed 4 years ago

bruno-garcia commented 4 years ago

The files failing to load as requested on #5

https://github.com/bruno-garcia/elf-parsing-repro/blob/master/Console/Files/libchrome.so

https://github.com/bruno-garcia/elf-parsing-repro/blob/master/Console/Files/libdl.so

xoofx commented 4 years ago

This should be fixed by commit 4db8888 (I only tested libchrome.so) and should be available shortly in 0.3.3

bruno-garcia commented 4 years ago

I tried on both files of my repro and it works now! Thanks a lot @xoofx

At some point I'll swap again ELFSharp for LibObjectFile on SymbolCollector and see how it works. Now it requires Mach-O too so I think I'll need to figure out debug-id/code-id here first.