OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
ELF binaries containing pointers to .dtors

aviv.bygmail.com
Date: Thu Sep 07 2006 - 14:35:19 CDT


Hello,

I'm messing around with the vortex wargame on pull the plug (pulltheplug.org/wargames/vortex) and I needed to overwrite .dtors in one of the levels.

I found out that in every ELF (gcc compiled) I found in .data a pointer to the end of the .dtors section.
Why is it there? Simply to make .dtors overwriting easier? :)

Is there a real need for this?

Thanks,
Aviv.