TianoCore EDK2 master
Loading...
Searching...
No Matches
StackCheckLibCommonMsvc.c
Go to the documentation of this file.
1
9#include <Base.h>
10
11#include <Library/DebugLib.h>
12#include <Library/BaseLib.h>
14
18VOID
20 VOID
21 );
22
23VOID *__security_cookie = (VOID *)(UINTN)STACK_COOKIE_VALUE;
24
32VOID
34 VOID *ActualCookieValue
35 )
36{
37 DEBUG ((DEBUG_ERROR, "Stack cookie check failed at address 0x%llx!\n", RETURN_ADDRESS (0)));
40}
UINT64 UINTN
#define RETURN_ADDRESS(L)
Definition: Base.h:1379
#define DEBUG(Expression)
Definition: DebugLib.h:434
VOID EFIAPI StackCheckFailureHook(VOID *FailureAddress)
VOID StackCheckFailure(VOID *ActualCookieValue)
VOID TriggerStackCookieInterrupt(VOID)