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

Increasing the size of a section (rodata) in ELF binary #1388

Open
Nikhil1212 opened this issue Sep 29, 2021 · 1 comment
Open

Increasing the size of a section (rodata) in ELF binary #1388

Nikhil1212 opened this issue Sep 29, 2021 · 1 comment

Comments

@Nikhil1212
Copy link

Hi everyone,
I would like to add a new string constant to my binary (ELF). So, for that, I want to increase the size of the rodata section so that my constant string fits in rodata. May I know how we can increase the size of a particular section (rodata) using miasm.

Thanks for the help

@serpilliere
Copy link
Contributor

Hi @Nikhil1212
I am afraid the elf parser (elfesteem) is broken and may fail at doing this 😞
Maybe you give a try to Lief:
https://github.com/lief-project/LIEF

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