diff options
| author | Oliver Smith-Denny <osde@microsoft.com> | 2025-01-29 21:48:49 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-02-07 05:23:11 +0300 |
| commit | e63cdeebb829683a9b30bf60a616d5476a07e1a5 (patch) | |
| tree | d5886c47efa7d258e8fc4267037f10b4f7ab462c /MdePkg/Library/StackCheckLib/StackCheckLibCommonGcc.c | |
| parent | d9715c133f45b6eee239f4aa58e9112b7497de4b (diff) | |
| download | edk2-e63cdeebb829683a9b30bf60a616d5476a07e1a5.tar.xz | |
MdePkg: Add StackCheckLib Library Class
StackCheckLib defines the interface between a compiler
and the stack checking code. It is being converted from
a NULL library class to an actual library class to make
it easier to use for a platform and be easier to define
the expected interface with a compiler, so if there is
a compiler change it can be tracked and caught.
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
Diffstat (limited to 'MdePkg/Library/StackCheckLib/StackCheckLibCommonGcc.c')
| -rw-r--r-- | MdePkg/Library/StackCheckLib/StackCheckLibCommonGcc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MdePkg/Library/StackCheckLib/StackCheckLibCommonGcc.c b/MdePkg/Library/StackCheckLib/StackCheckLibCommonGcc.c index 4146012b90..7157e0dfe7 100644 --- a/MdePkg/Library/StackCheckLib/StackCheckLibCommonGcc.c +++ b/MdePkg/Library/StackCheckLib/StackCheckLibCommonGcc.c @@ -10,6 +10,7 @@ #include <Library/DebugLib.h>
#include <Library/BaseLib.h>
+#include <Library/StackCheckLib.h>
#include <Library/StackCheckFailureHookLib.h>
/**
@@ -28,6 +29,7 @@ VOID *__stack_chk_guard = (VOID *)(UINTN)STACK_COOKIE_VALUE; **/
VOID
+EFIAPI
__stack_chk_fail (
VOID
)
|
