lethalbit / lethalbit/Slice-N-Splice
Flexible ELF editing / generation
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 6
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Currently you can only load an ELF file as an elf_t in read-only mode, It doesn't allow for editing.
In addition to this, the instantiation of an elf_t requires a physical file on disk to be loaded, this isn't the exact behaviour we'd like.
The ideal is to be able to flexibly edit and create any ELF file we'd like, serialized to/from disk if need be, but not as rigid as it currently is.
This also means that we need to implement all the machinery for generating updated offsets from moved and altered parts of the object file.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the current elf_t implementation and how it loads ELF files. Define the editing and creation scope before changing it, including serialization to and from disk and offset regeneration after parts move or change. Done means ELF files can be flexibly created, edited, and serialized without requiring an existing physical file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100