CRiSP Blog

ELF rewriting - working again

I had to throw away the algorithm in my last post to work properly
for ELF32 files where the text and code do not provide a gap to stuff
the new .hash in.

The new code is working much better for ELF32 and ELF64 - but I have
a minor bug to fix ("strip"ping the executable results in damage, because
I broke a rule somewhere). I am creating a spare area just before the
.text section is loaded, and creating a dummy section to point to it,
but libbfd (as used in "strip") doesnt like me; not surprising really,
as I am being mean and nasty.


Post created by CRiSP v10.0.2c-b5918


Read more http://crtags.blogspot.com/2010/12/elf-rewriting-working-again.html

Testimonials

"When I switched from working on DOS and Windows platforms to working on UNIX, I was quickly confronted with the problem of finding a text editor that could match the power and flexibility of the Microsoft M editor...CRiSP was the only programmers editor that: worked straight out of the box...and had an extendible command language."

paypal_horiz