VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/MdePkg/Library/StackCheckLibNull/StackCheckLibNullGcc.c@ 109091

Last change on this file since 109091 was 108794, checked in by vboxsync, 5 weeks ago

Devices/EFI/FirmwareNew: Merge edk2-stable202502 from the vendor branch and make it build for the important platforms, bugref:4643

  • Property svn:eol-style set to native
File size: 470 bytes
Line 
1/** @file
2 Defines the stack cookie variable for GCC and Clang compilers.
3
4 Copyright (c) Microsoft Corporation.
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6**/
7
8#include <Uefi.h>
9#include <Library/StackCheckLib.h>
10
11VOID *__stack_chk_guard = (VOID *)(UINTN)0x0;
12
13/**
14 This function gets called when a gcc/clang generated stack cookie fails. This implementation does nothing when
15 a stack cookie failure occurs.
16
17**/
18VOID
19EFIAPI
20__stack_chk_fail (
21 VOID
22 )
23{
24}
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette