UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Defines.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#define INSTRUMENTATION_FUNCTION_ATTRIBUTES __declspec(safebuffers) __attribute__((disable_sanitizer_instrumentation))
6
7
// Reserves 12 NOPs before the function and 2 NOPs at function entry so that we can patch atomically
8
#define INSTRUMENTATION_HOTPATCH_TOTAL_NOPS 14
9
#define INSTRUMENTATION_HOTPATCH_PREFIX_NOPS 12
10
11
#define INSTRUMENTATION_FUNCTION_HOTPATCHABLE __attribute__((patchable_function_entry(INSTRUMENTATION_HOTPATCH_TOTAL_NOPS, INSTRUMENTATION_HOTPATCH_PREFIX_NOPS)))
Engine
Source
Runtime
Instrumentation
Internal
Instrumentation
Defines.h
Generated by
1.9.8