Reputation: 51
I'm writing a program that adds a section to an elf binary using libelf. Is there a way to modify the contents of the shstrndx?
Upvotes: 2
Views: 677
Reputation: 6740
I think this example here, found in the main repo of libelf
, is exactly what you are looking for.
Upvotes: 1