Take a look at Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformCrashContext.cpp, all you want is here.
Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformCrashContext.cpp