How do functions like alloca allocate memory from the stack?
- A little while ago, I talked about how compilers ensure that large stack allocations do not skip over the guard page.
- Shawn Van Ness was curious how this works with _alloca.
- “Does it do the necessary _chkstk() probing?
Unverified
- A little while ago, I talked about how compilers ensure that large stack allocations do not skip over the guard page.
- Shawn Van Ness was curious how this works with _alloca.
- “Does it do the necessary _chkstk() probing?
Sources: Microsoft