RE: [GD-Windows] autodocument max stack usage
Brought to you by:
vexxed72
From: Jon W. <hp...@mi...> - 2001-10-18 19:30:38
|
> Is there a way to make Visual C linker output the maximum stack allocation > (including local stack locks and unlocks within function calls) > of an entire > linked executable? I take it you're not a fan of alloca() :-) Unfortunately, pretty much any executable will link against the standard C library, which uses recursion in parts, so even if your program doesn't use recursion, there's no way of proving that your stack size is enough (and no way for a tool to report on potential maximum stack usage). Cheers, / h+ |