diff options
Diffstat (limited to 'MdePkg/Library/StackCheckLibNull/StackCheckLibNullMsvc.c')
-rw-r--r-- | MdePkg/Library/StackCheckLibNull/StackCheckLibNullMsvc.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/MdePkg/Library/StackCheckLibNull/StackCheckLibNullMsvc.c b/MdePkg/Library/StackCheckLibNull/StackCheckLibNullMsvc.c new file mode 100644 index 0000000000..ba9a4e6f3c --- /dev/null +++ b/MdePkg/Library/StackCheckLibNull/StackCheckLibNullMsvc.c @@ -0,0 +1,10 @@ +/** @file
+ Defines the stack cookie variable for GCC, Clang and MSVC compilers.
+
+ Copyright (c) Microsoft Corporation.
+ SPDX-License-Identifier: BSD-2-Clause-Patent
+**/
+
+#include <Uefi.h>
+
+VOID *__security_cookie = (VOID *)(UINTN)0x0;
|