RE: Detect Stack Overflows?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

> 
> Kernel configuration has an option to "check for stack overflows"
> under kernel hacking section. Is that what you are looking for ?
> grep your .config for DEBUG_STACKOVERFLOW
> 

On examination, I found that this option only adds a check for stack overflow only at the time an IRQ occurs. But there is a lot more scope for stack overflow in scenarios other than IRQ. For instance, a function call sequence may become large enough, a function may allocate too much automatic variables etc. IS there a way to detect that?

Thanks,

Rajat


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux