Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 21 May 2013 08:07:46 +0530
From: Sayantan Datta <>
Subject: Re: AMD GCN ISA development

On Sat, May 18, 2013 at 8:34 PM, Dániel Bali <>wrote:

> Does anybody know what tool I should use to do this? Should I use libelf
> itself?

It is better to use libelf-devel for modifying binaries.  Also you can't
just modify the text section unless it has the exact same size as before.
If the size is different you also need to update the symtab section. All
the necessary details are in the attached pdf. Since AMD elf objects are
elf within elf , you might also need to modify the inner elf. You can also
check my AMD-IL page if you need an example for libelf.


Content of type "text/html" skipped

Download attachment "ELF_Format.pdf.tar.gz" of type "application/x-gzip" (119925 bytes)

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ