adplus-dvertising
frame-decoration

Question

How are user-mode stacks allocated in Windows?

a.

By creating a memory-mapped file

b.

By calling HeapAlloc Win32 API

c.

By allocating private blocks using the VirtualAlloc API

d.

The system allocates a stack automatically for every thread while it is being created

Posted under Reverse Engineering

Answer: (d).The system allocates a stack automatically for every thread while it is being created Explanation:User-mode stacks are essentially regular private allocations, and the system allocates a stack automatically for every thread while it is being created.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How are user-mode stacks allocated in Windows?