Re: FYI: dh_upx compresses i386 executables
John H. Robinson, IV wrote:
>i would strongly object to this. how would it affect other tools, such
>as ident, ldd, and strings?
It would be easy enough to copy the DT_NEEDED records into the compressed
executable, which would probably be sufficient for ldd to report the right
answers. But ident and strings are clearly going to be a dead loss on
compressed executables. That doesn't strike me as a complete disaster so long
as there is some way to un-UPX a binary and get your original executable back
should you need to start poking at it with these tools. (Stripped binaries
don't seem to be especially contentious, and they're also pretty much useless
when it comes to debugging.)
p.
Reply to: