logoalt Hacker News

dezgegyesterday at 11:49 PM1 replyview on HN

Some stricter interpretations also require that maximum stack usage can be statically analyzed (ie. no recursion, no function pointers, no VLAs/alloca).


Replies

ueckertoday at 7:01 AM

VLA usage can also be analyzed (e.g. when bounded in a simple way by a function argumen) and then may allow reduced stack usage compared to fixed-size arrays sized for a worst case.

show 1 reply