TianoCore EDK2 master
Loading...
Searching...
No Matches
StackCheckLibCommonGcc.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 *__stack_chk_guard = (VOID *)(UINTN)STACK_COOKIE_VALUE;
24
30VOID
32 VOID
33 )
34{
35 DEBUG ((DEBUG_ERROR, "Stack cookie check failed at address 0x%llx!\n", RETURN_ADDRESS (0)));
38}
UINT64 UINTN
#define RETURN_ADDRESS(L)
Definition: Base.h:1379
#define DEBUG(Expression)
Definition: DebugLib.h:434
VOID EFIAPI StackCheckFailureHook(VOID *FailureAddress)
VOID __stack_chk_fail(VOID)
VOID TriggerStackCookieInterrupt(VOID)