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

"I'd rather flip burgers than use vi. Before CRiSP text editor came along I created FTP scripts to transfer files from my Sun to PC just so I could use Brief. CRiSP has been a lifesaver for me."

paypal_horiz