TianoCore EDK2 master
Loading...
Searching...
No Matches
StackCheckFailureHook.c File Reference
#include <Base.h>
#include <Uefi.h>

Go to the source code of this file.

Functions

VOID EFIAPI StackCheckFailureHook (VOID *FailureAddress)
 

Detailed Description

Library provides a hook called when a stack cookie check fails.

Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file StackCheckFailureHook.c.

Function Documentation

◆ StackCheckFailureHook()

VOID EFIAPI StackCheckFailureHook ( VOID *  FailureAddress)

This function gets called when a compiler generated stack cookie fails. This allows a platform to hook this call and perform any required actions/telemetry at that time.

Parameters
FailureAddressThe address of the function that failed the stack cookie check.

Definition at line 20 of file StackCheckFailureHook.c.