UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FApplePlatformStackWalk Struct Reference

#include <ApplePlatformStackWalk.h>

+ Inheritance diagram for FApplePlatformStackWalk:

Static Public Member Functions

static bool ProgramCounterToHumanReadableString (int32 CurrentCallDepth, uint64 ProgramCounter, ANSICHAR *HumanReadableString, SIZE_T HumanReadableStringSize, FGenericCrashContext *Context=nullptr)
 
static void ProgramCounterToSymbolInfo (uint64 ProgramCounter, FProgramCounterSymbolInfo &out_SymbolInfo)
 
static uint32 CaptureStackBackTrace (uint64 *BackTrace, uint32 MaxDepth, void *Context=nullptr)
 
static uint32 CaptureThreadStackBackTrace (uint64 ThreadId, uint64 *BackTrace, uint32 MaxDepth, void *Context=nullptr)
 
static void ThreadStackWalkAndDump (ANSICHAR *HumanReadableString, SIZE_T HumanReadableStringSize, int32 IgnoreCount, uint32 ThreadId)
 
static int32 GetProcessModuleCount ()
 
static int32 GetProcessModuleSignatures (FStackWalkModuleInfo *ModuleSignatures, const int32 ModuleSignaturesSize)
 
- Static Public Member Functions inherited from FGenericPlatformStackWalk
static CORE_API void Init ()
 
static bool InitStackWalking ()
 
static bool InitStackWalkingForProcess (const FProcHandle &Process)
 
static CORE_API bool ProgramCounterToHumanReadableString (int32 CurrentCallDepth, uint64 ProgramCounter, ANSICHAR *HumanReadableString, SIZE_T HumanReadableStringSize, FGenericCrashContext *Context=nullptr)
 
static CORE_API bool SymbolInfoToHumanReadableString (const FProgramCounterSymbolInfo &SymbolInfo, ANSICHAR *HumanReadableString, SIZE_T HumanReadableStringSize)
 
static CORE_API bool SymbolInfoToHumanReadableStringEx (const FProgramCounterSymbolInfoEx &SymbolInfo, FString &out_HumanReadableString)
 
static void ProgramCounterToSymbolInfo (uint64 ProgramCounter, FProgramCounterSymbolInfo &out_SymbolInfo)
 
static void ProgramCounterToSymbolInfoEx (uint64 ProgramCounter, FProgramCounterSymbolInfoEx &out_SymbolInfo)
 
static CORE_API uint32 CaptureStackBackTrace (uint64 *BackTrace, uint32 MaxDepth, void *Context=nullptr)
 
static CORE_API uint32 CaptureThreadStackBackTrace (uint64 ThreadId, uint64 *BackTrace, uint32 MaxDepth, void *Context=nullptr)
 
CORE_API static FORCENOINLINE void StackWalkAndDump (ANSICHAR *HumanReadableString, SIZE_T HumanReadableStringSize, int32 IgnoreCount, void *Context=nullptr)
 
static CORE_API void StackWalkAndDump (ANSICHAR *HumanReadableString, SIZE_T HumanReadableStringSize, void *ProgramCounter, void *Context=nullptr)
 
static CORE_API TArray< FProgramCounterSymbolInfoGetStack (int32 IgnoreCount, int32 MaxDepth=100, void *Context=nullptr)
 
static void ThreadStackWalkAndDump (ANSICHAR *HumanReadableString, SIZE_T HumanReadableStringSize, int32 IgnoreCount, uint32 ThreadId)
 
static CORE_API void StackWalkAndDumpEx (ANSICHAR *HumanReadableString, SIZE_T HumanReadableStringSize, int32 IgnoreCount, uint32 Flags, void *Context=nullptr)
 
static CORE_API void StackWalkAndDumpEx (ANSICHAR *HumanReadableString, SIZE_T HumanReadableStringSize, void *ProgramCounter, uint32 Flags, void *Context=nullptr)
 
static FORCEINLINE int32 GetProcessModuleCount ()
 
static FORCEINLINE int32 GetProcessModuleSignatures (FStackWalkModuleInfo *ModuleSignatures, const int32 ModuleSignaturesSize)
 
static CORE_API TMap< FName, FString > GetSymbolMetaData ()
 
static CORE_API void CopyVirtualPathToLocal (char *Dest, int32 DestCapacity, const char *Source)
 

Additional Inherited Members

- Public Types inherited from FGenericPlatformStackWalk
typedef FGenericPlatformStackWalk Base
 
- Static Protected Member Functions inherited from FGenericPlatformStackWalk
static CORE_API bool WantsDetailedCallstacksInNonMonolithicBuilds ()
 

Detailed Description

Apple platform implementation of the misc OS functions

Member Function Documentation

◆ CaptureStackBackTrace()

uint32 FApplePlatformStackWalk::CaptureStackBackTrace ( uint64 BackTrace,
uint32  MaxDepth,
void Context = nullptr 
)
static

◆ CaptureThreadStackBackTrace()

uint32 FApplePlatformStackWalk::CaptureThreadStackBackTrace ( uint64  ThreadId,
uint64 BackTrace,
uint32  MaxDepth,
void Context = nullptr 
)
static

◆ GetProcessModuleCount()

int32 FApplePlatformStackWalk::GetProcessModuleCount ( )
static

◆ GetProcessModuleSignatures()

int32 FApplePlatformStackWalk::GetProcessModuleSignatures ( FStackWalkModuleInfo ModuleSignatures,
const int32  ModuleSignaturesSize 
)
static

◆ ProgramCounterToHumanReadableString()

bool FApplePlatformStackWalk::ProgramCounterToHumanReadableString ( int32  CurrentCallDepth,
uint64  ProgramCounter,
ANSICHAR HumanReadableString,
SIZE_T  HumanReadableStringSize,
FGenericCrashContext Context = nullptr 
)
static

◆ ProgramCounterToSymbolInfo()

void FApplePlatformStackWalk::ProgramCounterToSymbolInfo ( uint64  ProgramCounter,
FProgramCounterSymbolInfo out_SymbolInfo 
)
static

◆ ThreadStackWalkAndDump()

void FApplePlatformStackWalk::ThreadStackWalkAndDump ( ANSICHAR HumanReadableString,
SIZE_T  HumanReadableStringSize,
int32  IgnoreCount,
uint32  ThreadId 
)
static

The documentation for this struct was generated from the following files: