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

#include <UnixPlatformStackWalk.h>

+ Inheritance diagram for FUnixPlatformStackWalk:

Static Public Member Functions

static CORE_API void ProgramCounterToSymbolInfo (uint64 ProgramCounter, FProgramCounterSymbolInfo &out_SymbolInfo)
 
static CORE_API bool ProgramCounterToHumanReadableString (int32 CurrentCallDepth, uint64 ProgramCounter, ANSICHAR *HumanReadableString, SIZE_T HumanReadableStringSize, FGenericCrashContext *Context=nullptr)
 
static CORE_API uint32 CaptureStackBackTrace (uint64 *BackTrace, uint32 MaxDepth, void *Context=nullptr)
 
static CORE_API 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 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 CORE_API uint32 CaptureThreadStackBackTrace (uint64 ThreadId, uint64 *BackTrace, uint32 MaxDepth, void *Context=nullptr)
 
static CORE_API void ThreadStackWalkAndDump (ANSICHAR *HumanReadableString, SIZE_T HumanReadableStringSize, int32 IgnoreCount, uint32 ThreadId)
 
static CORE_API int32 GetProcessModuleCount ()
 
static CORE_API 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 ()
 

Member Function Documentation

◆ CaptureStackBackTrace()

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

◆ CaptureThreadStackBackTrace()

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

◆ GetProcessModuleCount()

UE_AUTORTFM_ALWAYS_OPEN int32 FUnixPlatformStackWalk::GetProcessModuleCount ( )
static

◆ GetProcessModuleSignatures()

UE_AUTORTFM_ALWAYS_OPEN int32 FUnixPlatformStackWalk::GetProcessModuleSignatures ( FStackWalkModuleInfo ModuleSignatures,
const int32  ModuleSignaturesSize 
)
static

◆ ProgramCounterToHumanReadableString()

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

◆ ProgramCounterToSymbolInfo()

UE_AUTORTFM_ALWAYS_OPEN void FUnixPlatformStackWalk::ProgramCounterToSymbolInfo ( uint64  ProgramCounter,
FProgramCounterSymbolInfo out_SymbolInfo 
)
static

◆ StackWalkAndDump() [1/2]

UE_AUTORTFM_ALWAYS_OPEN void FUnixPlatformStackWalk::StackWalkAndDump ( ANSICHAR HumanReadableString,
SIZE_T  HumanReadableStringSize,
int32  IgnoreCount,
void Context = nullptr 
)
static

◆ StackWalkAndDump() [2/2]

void FUnixPlatformStackWalk::StackWalkAndDump ( ANSICHAR HumanReadableString,
SIZE_T  HumanReadableStringSize,
void ProgramCounter,
void Context = nullptr 
)
static

◆ StackWalkAndDumpEx() [1/2]

UE_AUTORTFM_ALWAYS_OPEN void FUnixPlatformStackWalk::StackWalkAndDumpEx ( ANSICHAR HumanReadableString,
SIZE_T  HumanReadableStringSize,
int32  IgnoreCount,
uint32  Flags,
void Context = nullptr 
)
static

◆ StackWalkAndDumpEx() [2/2]

UE_AUTORTFM_ALWAYS_OPEN void FUnixPlatformStackWalk::StackWalkAndDumpEx ( ANSICHAR HumanReadableString,
SIZE_T  HumanReadableStringSize,
void ProgramCounter,
uint32  Flags,
void Context = nullptr 
)
static

◆ ThreadStackWalkAndDump()

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

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