forked from NytroRST/ShellcodeCompiler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCommandLine.h
More file actions
52 lines (38 loc) · 872 Bytes
/
CommandLine.h
File metadata and controls
52 lines (38 loc) · 872 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#ifndef COMMANDLINE_H
#define COMMANDLINE_H
#include <string>
#include <iostream>
#if defined(_WIN32)
#include <Windows.h>
#else
#include <unistd.h>
#endif
#include "Utils.h"
#include "Compile.h"
#include "DebugUtils.h"
#include "KeystoneLib.h"
#include "Platform.h"
using namespace std;
// Class to work with command line parameters
class CommandLine
{
public:
// Functions
static void PrintHelp(string p_sFile);
static void ParseCommandLine(int argc, char *argv[]);
// Data
static bool g_bHelp;
static bool g_bVerbose;
static bool g_bTest;
static bool bError;
static bool g_bPlatform;
static string g_sPlatform;
static PLATFORM_TYPE g_ePlatform;
static bool g_bReadFile;
static string g_sReadFile;
static bool g_bOutputFile;
static string g_sOutputFile;
static bool g_bASMFile;
static string g_sASMFile;
};
#endif // !COMMANDLINE_H