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


"I am a newcomer to Linux, and I was very disappointed with "standard" UNIX editors like vi and emacs. The user interface is so unfriendly and the feature set is so antiquated. I heard about CRiSP on the comp.editors newsgroup and downloaded a free demo...It's just wonderful! Thoroughly modern, easy to use, powerful, flexible; it's what a UNIX programmer's editor should be."