VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/MdePkg/Include/Library/StackCheckFailureHookLib.h@ 108794

Last change on this file since 108794 was 108794, checked in by vboxsync, 2 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: 617 bytes
Line 
1/** @file
2 Library provides a hook called when a stack cookie check fails.
3
4 Copyright (c) Microsoft Corporation.
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6**/
7
8#ifndef STACK_COOKIE_FAILURE_HOOK_LIB_H_
9#define STACK_COOKIE_FAILURE_HOOK_LIB_H_
10
11#include <Uefi.h>
12
13/**
14 This function gets called when a compiler generated stack cookie fails. This allows a platform to hook this
15 call and perform any required actions/telemetry at that time.
16
17 @param FailureAddress The address of the function that failed the stack cookie check.
18
19**/
20VOID
21EFIAPI
22StackCheckFailureHook (
23 VOID *FailureAddress
24 );
25
26#endif
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