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 the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs

[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux