summaryrefslogtreecommitdiff
path: root/include/libelfu/types.h
AgeCommit message (Collapse)Author
2015-02-24GPLv2 releasenorly
2013-06-28Annotate doxygen-styledoxygennorly
2013-06-27Remove unneeded struct member and fix references to itnorly
2013-06-20Clean up code using ElfuScnnorly
2013-06-15Merge symbol tables. (Not fully ELF conformant)norly
Also, remove that nameptr member from symbols. It just *had* to cause trouble. Symbols are simply appended to the target's symbol table, which means that LOCAL symbols are not inserted at the beginning and we are thus ignoring an ELF spec. Might change that in the future, it's good enough for now and it's sure not to break anything with the old symbols. The code currently assumes that the target *has* a symbol table. We'll have to fix that, and also remove undefined and duplicate symbols.
2013-06-15Flatten symtab to file - gdb works, check breaks.norly
2013-06-15Make symtab and reltab resident in ElfuScnnorly
2013-06-03Guess where unknown functions are in .rel.pltnorly
2013-06-03Basic 32-bit SYMTAB and REL (not RELA) supportnorly
2013-06-03Simplify includesnorly
2013-05-30Redesign data structures, make basic reladd work.newparsernorly
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-02-23Remove ELFU_BOOLnorly
2013-02-11Print ELF header/segments/sectionsnorly