Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-05-27 | Find PHDR -> PHDR dependencies | norly | |
2013-05-27 | Only establish PHDR->Scn relationship for PT_LOAD | norly | |
2013-05-27 | Restrict sh_link/sh_info evaluation where possible | norly | |
2013-05-27 | Abstract model more - break 'make check' | norly | |
Sections are now sorted by file offset and sh_link dependencies between them as well as PHDR-SHDR dependencies are deduced as much as possible. The downside is that while the output should still work just fine, 'make check' fails to establish binary equivalence of input and output if the section table is reordered. Thankfully, in normal GCC binaries it is already ordered so we don't have to worry about this. Unfortunately the ELF spec is very lax in this regard so we have to draw a line ourselves. | |||
2013-05-27 | Turn elfu_gPhdrContainsScn into a macro | norly | |
2013-05-27 | Turn elfu_gScnSizeFile into a macro | norly | |
2013-05-27 | Clean up loader code | norly | |
2013-05-27 | Validate input at libelf level | norly | |
This way we can just assume that stuff works later on and keep the code clean and simple. It especially establishes that the file has a sane format and is thus understandable and editable. | |||
2013-05-25 | Be more verbose | norly | |
2013-05-25 | Fix alignment error in mInsertSpaceBefore | norly | |
2013-05-24 | Object file injection, first part | norly | |
2013-05-24 | Move section-in-segment.c to generic/ | norly | |
2013-05-24 | Cleaner error handling with ELFU_WARN and ELFU_WARNELF | norly | |
2013-05-24 | Use explicit libelf/* path in includes | norly | |
2013-03-24 | Typos | norly | |
2013-03-22 | Clean up file handling in main.c a bit | norly | |
2013-03-21 | NOBITS expansion, for .bss etc | norly | |
GNU binutils' readelf gets confused with symbol versions. More analysis needed on that. | |||
2013-03-21 | Copy section contents into newly allocated buffers | norly | |
2013-03-20 | Typo | norly | |
2013-03-01 | Implement mInsertAfter, for post-.data injection | norly | |
2013-02-27 | Implement mInsertBefore, for pre-.interp injection | norly | |
2013-02-23 | Refactor mdoel-related code | norly | |
2013-02-23 | Clean up ELF-related files and functions | norly | |
2013-02-23 | Merge {first,last}-section-in-segment.c | norly | |
2013-02-23 | Move ELF-related files together | norly | |
2013-02-23 | Remove ELFU_BOOL | norly | |
2013-02-23 | Add run-time sanity checks | norly | |
2013-02-22 | Use CIRCLEQ_FOREACH throughout | norly | |
2013-02-22 | Add elfu_count{Section,PHDR}s | norly | |
2013-02-22 | Remove --copy, do it whenever we have -o | norly | |
2013-02-21 | Fix build on Ubuntu 12.04 | norly | |
Thanks to Cristian Cadar. | |||
2013-02-11 | PHDR self-reference fixup functionmodel-cleanup | norly | |
2013-02-11 | Model to ELF (writing) support, copy functionality | norly | |
2013-02-11 | First memory model of an ELF file | norly | |
2013-02-11 | Print ELF header/segments/sections | norly | |