TianoCore EDK2 master
Loading...
Searching...
No Matches
StackCheckFailureHookLib.h File Reference
#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 StackCheckFailureHookLib.h.

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.