MCPcopy Create free account
hub / github.com/WithSecureLabs/CallStackSpoofer / CalculateFunctionStackSize

Function CalculateFunctionStackSize

VulcanRaven/VulcanRaven.cpp:286–389  ·  view source on GitHub ↗

Calculates the total stack space used by the fake stack frame. Uses a minimal implementation of RtlVirtualUnwind to parse the unwind codes for target function and add up total stack size. Largely based on: https://github.com/hzqst/unicorn_pe/blob/master/unicorn_pe/except.cpp#L773

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected