LibObjectFile
LibObjectFile copied to clipboard
LibObjectFile is a .NET library to read, manipulate and write linker and executable object files (e.g ELF, DWARF, ar...)
go build a elf file elf.write error: Invalid ElfObjectFile Error LB0154: Invalid PT_LOAD segment alignment requirements: (VirtualAddress - Range.Offset) & (Alignment - 1) == 128 while it must be ==...
This is from `libstdc++.so` - 45 index higher than 31 (which is latest) section. 
in DwarfAbbreviation.cs line 87; `public bool TryFindByCode(ulong code, out DwarfAbbreviationItem item) { item = null; if (code == 0) { return `false; } code--; if (_mapItems.Count > 0) { return...
with LibObjectFile lib is it possible to extract from an elf file (ARM-Cortex 32bit gcc) the list of variables, their address, their size, but above all, their typology and their...
The ELF reader/writer is missing some features: - [ ] Dynamic Linking Table (`SHT_DYNAMIC`) - [ ] Version Symbol Table (`SHT_VERSYM`) - [ ] Version Needs Table (`SHT_VERNEED`) - [...
Checksum is supported, but the signing with PKCS#7 would require some work. Should be relatively straightforward to support with https://learn.microsoft.com/en-us/dotnet/api/system.security.cryptography.pkcs.cmssigner Also see [Windows Authenticode Portable Executable Signature Format (.docx)](https://download.microsoft.com/download/9/c/5/9c5b2167-8017-4bae-9fde-d599bac8184a/Authenticode_PE.docx)
It would be nice to be able to read/write hacked PE files like Tiny PE file [here](https://github.com/xoofx/LibObjectFile/blob/b21ed3ff25c746bbc33df0346e250492130698dd/src/LibObjectFile.Tests/PE/PEReaderTests.cs#L256-L282) or the one described in http://www.phreedom.org/research/tinype/ This test was working at some point...
LibObjectFile only support version 4, but partially: - [ ] Version 4: support for `.debug_types`, `.debug_frame`, `.debug_loc`, `.debug_ranges`, `.debug_pubnames`, `.debug_pubtypes`, `.debug_macinfo` section - [ ] Version 5 Version 5 is...
PE has been added recently, but COFF can be a beast on its one. Some parts of PE could be reused, but it will still require quite some work. It...