GS cookie check fix for debugger stackwalks port
authorJuan Sebastian Hoyos Ayala <juan.hoyos@microsoft.com>
Mon, 9 Jul 2018 21:28:57 +0000 (14:28 -0700)
committerJuan Sebastian Hoyos Ayala <juan.hoyos@microsoft.com>
Tue, 10 Jul 2018 17:36:19 +0000 (10:36 -0700)
commit32741b9e97f901242394dfc682c228a5d810f454
tree140cbd03e6077f46ce3f12459622e1ddbf9fcb3a
parent6de41e2f4ffd8971d767e2aadb195f8c51286479
GS cookie check fix for debugger stackwalks port

This bug fix is a port from the equivalent fix in framework. The
debugger tried performing a stackwalk in the epilog due to the JIT
incorrectly reporting epilogue information. This caused an invalid
GS cookie to be checked and caused the debugger to crash. A flag was
added to allow debug stackwalks to skip the cookie check.
src/debug/daccess/dacimpl.h
src/debug/ee/debugger.cpp
src/debug/ee/frameinfo.cpp
src/vm/stackwalk.cpp
src/vm/threads.h