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
40 lines (28 loc) · 659 Bytes
/
CommandLine.h
File metadata and controls
40 lines (28 loc) · 659 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
#ifndef COMMANDLINE_H
#define COMMANDLINE_H
#include <string>
#include <iostream>
#include "Utils.h"
#include "Compile.h"
#include "DebugUtils.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_bReadFile;
static string g_sReadFile;
static bool g_bOutputFile;
static string g_sOutputFile;
static bool g_bASMFile;
static string g_sASMFile;
};
#endif // !COMMANDLINE_H