On 2017-04-25, Peter J. Philipp <[email protected]> wrote: > Hi, > > In the past I've been examining signed binaries in the OpenBSD system. > I wrote some kernel code for this, but I'm stuck before it got good. In > particular the problem I have is adding an ELF header to a compiled > binary. So I want to ask the pros first: what areas must I modify to > get a compiled result that has an extra ELF header. I've been modifying > binutils and binutils-2.17 but didn't strike gold there. Also finding > literature on how to deal with this is *very* hard. There is a book > from 1998 or something which is probably not up-to-date anymore, 19 > years have passed. I also found a patch by matt dempsky online which > does the randomize stuff, but that didn't help me much either.
I'd look at the wxneeded commits around 2016/05/28. github mirror is probably thd easiest way to find them.

