|
Message-ID: <CA+TsHUBEvd3aY-3jmgLRZaJ9dHP4w3xjrDgz=npmK9=sbk6rQw@mail.gmail.com> Date: Tue, 21 May 2013 08:07:46 +0530 From: Sayantan Datta <std2048@...il.com> To: john-dev@...ts.openwall.com Subject: Re: AMD GCN ISA development On Sat, May 18, 2013 at 8:34 PM, Dániel Bali <balijanosdaniel@...il.com>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. Regards, Sayantan 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
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.