Re: Wanted: simple, safe x86 stack overflow detection
- From: "Thiago Galesi" <thiagogalesi@xxxxxxxxx>
- Date: Wed, 28 Feb 2007 13:31:40 -0300
I guess most stack corruptions touch only a small part of the stack.
These kinds of corruptions can only be detected from inside the
program.
Anyway, going beyond the program's stack boundaries would fault the program.
Checking the threadinfo constantly it'll be (IMHO) mostly useless...
On 2/28/07, Chuck Ebbert <cebbert@xxxxxxxxxx> wrote:
Can we just put a canary in the threadinfo and check it on every
task switch? What are the drawbacks?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
--
-
Thiago Galesi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- Wanted: simple, safe x86 stack overflow detection
- From: Chuck Ebbert
- Wanted: simple, safe x86 stack overflow detection
- Prev by Date: Re: lanana: Add major/minor entries for PPC QE UART devices
- Next by Date: 2.6.21-rc2 radeon backlight
- Previous by thread: Wanted: simple, safe x86 stack overflow detection
- Next by thread: Re: Wanted: simple, safe x86 stack overflow detection
- Index(es):
Relevant Pages
- Re: 2.6.19-rc6 : Spontaneous reboots, stack overflows - seems to implicate xfs, scsi, networ
... softirqs DO run on their own stack! ... More majordomo info at
http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/
... (Linux-Kernel) - Re: zero copy
... > features.So stack should be making a copy of data. ... > More majordomo
info at http://vger.kernel.org/majordomo-info.html ... > Please read the FAQ at
http://www.tux.org/lkml/ ... (Linux-Kernel) - Re: larger default page sizes...
... version of malloc()) ... ... code, stack, mmap'd files are all ...
More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ
at http://www.tux.org/lkml/ ... (Linux-Kernel) - Re: [PATCH] pop previous section in alternative.c
... that the section is the same after #NO_APP as before #APP ... Not as simple
as the section stack would have to be traversed to check ... More majordomo info
at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/
... (Linux-Kernel) - Re: Interview Questions
... This depends on the platform and maybe the Operating System. ... implementation
to have a stack or heap. ... C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html alt.comp.lang.learn.c-c++ faq: ... (comp.lang.cpp)