FMemory::EnablePurgatoryTests

Called once main is started and we have -purgatorymallocproxy.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HAL/UnrealMemory.h

Include

#include "HAL/UnrealMemory.h"

Source

/Engine/Source/Runtime/Core/Private/HAL/UnrealMemory.cpp

Syntax

static void EnablePurgatoryTests()

Remarks

Called once main is started and we have -purgatorymallocproxy. This uses the purgatory malloc proxy to check if things are writing to stale pointers.