edk2/MdePkg/Library/StackCheckLibNull/StackCheckLibNullGcc.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
488 B
C
Raw Permalink Normal View History

/** @file
Defines the stack cookie variable for GCC and Clang compilers.
Copyright (c) Microsoft Corporation.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Uefi.h>
#include <Library/StackCheckLib.h>
__UINTPTR_TYPE__ __stack_chk_guard = 0;
/**
This function gets called when a gcc/clang generated stack cookie fails. This implementation does nothing when
a stack cookie failure occurs.
**/
VOID
EFIAPI
__stack_chk_fail (
VOID
)
{
}