6#include "Containers/Array.h"
7#include "Containers/UnrealString.h"
10
11
13#ifndef UE_COMMAND_LINE_USES_ALLOW_LIST
14 #ifdef WANTS_COMMANDLINE_WHITELIST
15 #pragma message("Use UE_COMMAND_LINE_USES_ALLOW_LIST instead of WANTS_COMMANDLINE_WHITELIST")
16 #define UE_COMMAND_LINE_USES_ALLOW_LIST WANTS_COMMANDLINE_WHITELIST
18 #define UE_COMMAND_LINE_USES_ALLOW_LIST 0
29
30
34
35
36 static const TCHAR*
Get();
39
40
44
45
49
50
54
55
59
60
61 static bool Set(
const TCHAR* NewCommandLine);
64
65
66
67 static void Append(
const TCHAR* AppendString);
70
71
72
73
74
78
79
83
84
85
89
90
91
92
93
94
95
96 static void Parse(
const TCHAR* CmdLine, TArray<FString>& Tokens, TArray<FString>& Switches);
99
100
101
102
106
107
108
124 #define ApplyCommandLineAllowList()
#define UE_COMMAND_LINE_USES_ALLOW_LIST
static void Parse(const TCHAR *CmdLine, TArray< FString > &Tokens, TArray< FString > &Switches)
static const TCHAR * GetOriginal()
static bool bIsInitialized
static void AddToSubprocessCommandline(const TCHAR *Param)
static TCHAR OriginalCmdLine[MaxCommandLineSize]
static TCHAR CmdLine[MaxCommandLineSize]
static bool IsInitialized()
static TCHAR LoggingCmdLine[MaxCommandLineSize]
static const TCHAR * Get()
static const TCHAR * GetOriginalForLogging()
static FString BuildFromArgV(const TCHAR *Prefix, int32 ArgC, TCHAR *ArgV[], const TCHAR *Suffix)
static void Append(const TCHAR *AppendString)
static const TCHAR * RemoveExeName(const TCHAR *CmdLine)
static TCHAR LoggingOriginalCmdLine[MaxCommandLineSize]
static constexpr uint32 MaxCommandLineSize
static const TCHAR * GetForLogging()
static bool Set(const TCHAR *NewCommandLine)
static const FString & GetSubprocessCommandline()
static FString & GetSubprocessCommandLine_Internal()
static bool IsCommandLineLoggingFiltered()