miasm
miasm copied to clipboard
Increasing the size of a section (rodata) in ELF binary
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
Hi @Nikhil1212 I am afraid the elf parser (elfesteem) is broken and may fail at doing this :disappointed: Maybe you give a try to Lief: https://github.com/lief-project/LIEF