Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/HAL
Inheritance Hierarchy
- FUseSystemMallocForNew
- FExec
- FMalloc
- FMallocCallstackHandler
- FMallocDoubleFreeFinder
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/HAL/MallocDoubleFreeFinder.h |
| Include | #include "HAL/MallocDoubleFreeFinder.h" |
Syntax
class FMallocDoubleFreeFinder : public FMallocCallstackHandler
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< const void *const, TrackedAllocationData > | TrackedCurrentAllocations | ||
| TMap< const void *const, TrackedAllocationData > | TrackedFreeAllocations |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMallocDoubleFreeFinder
(
FMalloc* InMalloc |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FMalloc * | OverrideIfEnabled
(
FMalloc* InUsedAlloc |
||
| void | TrackSpecial
(
void* Ptr |
If you get an allocation/memory error outside of the allocator you can call this directly It will dump a callstack of the last allocator free most likely to have caused the problem to the log, if you have symbols loaded Might be useful to pass an access violation ptr to this! |
Overridden from FMallocCallstackHandler
| Type | Name | Description | |
|---|---|---|---|
| void | Init () |
||
| void | |||
| void | TrackMalloc
(
void* Ptr, |
Classes
| Type | Name | Description | |
|---|---|---|---|
| TrackedAllocationData |