Changes in Aleph1 Smashing the Stack...

From: Florencio Cano (fcano_at_ono.com)
Date: 11/26/04

  • Next message: Alex R: "RE: More Browser on Macosx flaws: nested array sort() loop Stack overflow exception"
    Date: Fri, 26 Nov 2004 22:31:37 +0100
    To: vuln-dev@securityfocus.com
    
    

    Hello,

    I'm studying how buffer overflows work. While reading the famous article
    by Aleph1 Smashing the Stack for Fun and Profit I have got some problems.
    I think my problems are caused by changes in new versions of gcc so,
    where I can find information about how changes in new versions of gcc
    affect the stack when a function are called or how new versions affect
    the programming of bofs.
    Thanks in advance and sorry if the question is so basic.

    -- 
    Florencio Cano <fcano@ono.com>
    

  • Next message: Alex R: "RE: More Browser on Macosx flaws: nested array sort() loop Stack overflow exception"

    Relevant Pages

    • gcc inlining heuristics was Re: [PATCH -v7][RFC]: mutex: implement adaptive spinning
      ... Rigth now, it does sound like gcc simply doesn't try to balance AT ALL, or ... The gcc 4.3 inliner takes stack growth into account by default (without ... grow the static stack usage of the function we inline into, ... So "stop inlining when you hit a stack limit" IS THE WRONG THING TO ...
      (Linux-Kernel)
    • Re: Changes in Aleph1 Smashing the Stack...
      ... will depend on which version of gcc you're using (e.g. see Chris Eagle's ... on buffer overflows, just that it'll get you started and up to speed as ... > by Aleph1 Smashing the Stack for Fun and Profit I have got some problems. ...
      (Vuln-Dev)
    • Re: What does the FreeBSD/i386 ABI say about stack alignment?
      ... on FreeBSD 8.1, but it's been crashing during startup with a SIGBUS. ... It turns out that the problem is that gcc is issuing SSE ... force gcc to align the stack to what it wants, ... I'll rebuild to make sure it is all sane... ...
      (freebsd-hackers)
    • Re: Renesas HEW
      ... Here is gcc/config/m32c/m32c.abi from the gcc sources. ... which it uses as additional real registers. ... | outgoing args (opt) ... it's passed on the stack. ...
      (comp.arch.embedded)
    • Re: The Speed, Size, and Dependability of Programming Languages
      ... Comparing GForth/bigForth and GCC are ... Gforth they used for the tests? ... capabilities of the cpu but is instead emulating a virtual FORTH cpu via ... designed for one stack. ...
      (comp.lang.forth)