"Proper" Way to Modify an ELF?

Discussion in 'Computer Software and Operating Systems' started by gudenau, Apr 13, 2017.

  1. gudenau
    OP

    gudenau Never a unique idea

    Member
    3,257
    1,224
    Jul 7, 2010
    United States
    /dev/random
    I have been trying to figure out how to create a program that can extract the segments from an ELF file then repack it. I have been unable to make it so that the ELF file is the same after it is repacked without modified segments.

    What is the "proper" way to edit an ELF and allow segments to grow?