Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-06-12 | Rename elfedit to centaur, model to modelops | norly | |
2013-06-03 | Do not insert STRTAB sections explicitly | norly | |
2013-06-03 | Insert NOBITS sections (.bss), ignore empty sections | norly | |
2013-06-03 | Guess where unknown functions are in .rel.plt | norly | |
2013-06-03 | Basic 32-bit SYMTAB and REL (not RELA) support | norly | |
2013-06-03 | Simplify includes | norly | |
2013-06-01 | Insert section names (with fixed prefix) | norly | |
Ideally, the filename of the original .o file being inserted would be used as a prefix for the sections copied over. However for now that prefix is simply "reladd". | |||
2013-05-31 | Auto-layout file after --reladd | norly | |
2013-05-31 | Pull out existing re-layouting code | norly | |
2013-05-30 | Redesign data structures, make basic reladd work.newparser | norly | |
The memory ELF model is now a tree structure: ELF +--> PHDRs +--> PHDR +--> Section | | +--> Section | | ... | | \--> Section | | | +--> PHDR +--> Section | | ... | ... | \--> Orphaned sections +--> Section ... \--> Section This effectively introduces semantics into the binary blob we are editing, and allows us to re-layout its contents much more easily while keeping as close as possible to what is assumed to be the original semantics. As a side-effect, a first meta-function had to be introduced (elfu_mScnForall) in order to traverse all leaves of the tree. Much old code has been removed given the leaner environment available now, and automated insertion of .text and .data sections from object files into executables now works. However nothing else is inserted (such as string tables or .bss) and no relocation takes place yet. | |||
2013-05-27 | Turn elfu_gScnSizeFile into a macro | norly | |
2013-05-25 | Be more verbose | norly | |
2013-05-24 | Object file injection, first part | norly | |