Date: Tue, 21 May 2013 19:00:46 +0400 From: Solar Designer <solar@...nwall.com> To: john-dev@...ts.openwall.com Subject: Re: AMD GCN ISA development Sayantan, Daniel - On Tue, May 21, 2013 at 08:07:46AM +0530, Sayantan Datta wrote: > 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. Why don't we use a hack, at least initially: simply generate a large enough (inner) ELF for a dummy kernel, and be replacing its contents? Since our actual code size will need to be smaller in all cases, we'll simply pad it with zeroes or whatever. Would this work? Alexander
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.