lethalbit / lethalbit/Slice-N-Splice

Flexible ELF editing / generation

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ELF enhancement
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.