Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify existing elf? #446

Closed
MabezDev opened this issue Jun 26, 2022 · 2 comments
Closed

Modify existing elf? #446

MabezDev opened this issue Jun 26, 2022 · 2 comments

Comments

@MabezDev
Copy link
Contributor

I'd like to read an existing elf, change some things, add new sections etc. I can't seem to find a way to create an ELF writer from an existing elf file?

I saw the elfcopy example, but the heavy lifting function seems quite large:

fn copy_file<Elf: FileHeader<Endian = Endianness>>(
is there a simpler API, or a better way to achieve this?

@philipc
Copy link
Contributor

philipc commented Jun 27, 2022

Nothing exists for this yet. There has been a desire for this sort of thing in the past (#148) but no one has done the work yet, and I don't have time currently.

@philipc
Copy link
Contributor

philipc commented Mar 28, 2024

Implemented in #618

@philipc philipc closed this as completed Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants