gcc stack protection



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear list,

I want to do some research on buffer overflows and I need to run some
sample exploitable code. However my gcc has stack protection enabled.
Probably it would be just simpler to use an older compiler without the
stack protection, but is there another way to overcome this protection
or disable it from the compiler?

James Attard

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIntbHybKxObfS7WERAtR6AJwO0pndfuFTiOS4XTtgLo8PZVmcdQCdE3+D
Q+nj7f4DPeXZnBBPUmYzJxE=
=cADq
-----END PGP SIGNATURE-----



Relevant Pages

  • Re: buffer overflows
    ... as suggested by Fuggiano, by default, gcc has stack protection ... (StackShield). ... The inbuilt gcc protection and other means of protection were enabled. ... Giuseppe Fuggiano ...
    (Security-Basics)
  • Re: buffer overflows
    ... as suggested by Fuggiano, by default, gcc has stack protection ... (StackShield). ... The inbuilt gcc protection and other means of protection were enabled. ... Giuseppe Fuggiano ...
    (Pen-Test)

Quantcast