You are not logged in.

#1 2012-08-01 12:19:23

sie
Member
From: Latvia
Registered: 2010-06-30
Posts: 33

Updating section data with libelf.

How does one update section headers(and/or data) effectively and write the ELF back to the same file with libelf from elfutils?

I'm trying gelf_update_shdr(Elf_Scn* section, GElf_Shdr &my_section_hdr), but although it returns something true, it doesn't really work. Do I really have to recreate the section to make it update it?

Also can you show me some projects that are using libelf for modifying elfs?


a &

Offline

Board footer

Powered by FluxBB