[grsec] gdb?

pageexec at freemail.hu pageexec at freemail.hu
Mon Oct 3 18:53:38 EDT 2005


On 3 Oct 2005 at 18:46, Mike Frysinger wrote:
> On Monday 03 October 2005 06:37 pm, jnf wrote:
> > Has anyone ever gotten gdb to work half way decently on ET_DYN binaries?
> > As PaX becomes more prevelant, this is becoming more of a problem for me.
> 
> if you disable restrictions with paxctl you should be able to use gdb on the 
> binaries (you'll prob have to run paxctl on the binary you wish to debug as 
> well as the dynamic loader and shared libraries)

uhm, just paxctl -m the executable itself, the PaX control flags
come from the main executable (i.e., what is passed to execve()).

now i don't see why ET_DYN/PIE would be any new/special though in
this regard (not being able to set breakpoints), so maybe the OP
had something else in mind?



More information about the grsecurity mailing list