Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
DBG: Fix function boundary computation when getting x64 stack frames #2255
The function end address in the
The current lookup method results in incorrect stack frames on entry into a function "B" that starts immediately after another function "A", resulting in function A's unwind metadata incorrectly getting used to unwind the stack instead of function B's.
RUNTIME_FUNCTION range: [BeginAddress, EndAddress) Old code: Find `func` where: `func.BeginAddress <= rva <= func.EndAddress` New code: Find `func` where: `func.BeginAddress <= rva < func.EndAddress`