FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
ShellcodeCompiler/ShellcodeCompiler/DeclaredStates.h at master · NytroRST/ShellcodeCompiler · GitHub
NytroRST
ShellcodeCompiler
Repository navigation
Code
Issues
1
(1)
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
ShellcodeCompiler
/
ShellcodeCompiler
/
DeclaredStates.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
62 lines (40 loc) · 1.03 KB
Breadcrumbs
ShellcodeCompiler
/
ShellcodeCompiler
/
DeclaredStates.h
Copy path
File metadata and controls
62 lines (40 loc) · 1.03 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
53
54
55
56
57
58
59
60
61
62
#
ifndef
DECLAREDSTATES_H
#
define
DECLAREDSTATES_H
#
include
<
string
>
#
include
<
vector
>
#
include
"
DeclaredFunctions.h
"
#
include
"
FunctionCalls.h
"
using
namespace
std
;
//
Special characters
#
define
CHR_READ_ALPHANUMSTR
'
\x01
'
#
define
CHR_READ_NUMBER
'
\x02
'
//
Structures used by the states
class
DeclaredStates
{
public:
//
Transform struct
struct
State
;
struct
Transform
{
char
Character;
State* NextState;
};
//
State struct
struct
State
{
string Data =
"
"
;
bool
Process =
false
;
vector<Transform> Transforms;
string Name =
"
"
;
void
(*ProcessStateData)(string);
};
//
Process data for FUNCTION STRING PARAMETER
static
void
ProcessStateData_FunctionCallStringArg
(string p_sString);
//
Process data for FUNCTION INT PARAMETER
static
void
ProcessStateData_FunctionCallIntArg
(string p_sString);
//
Process data for FUNCTION NAME
static
void
ProcessStateData_FunctionName
(string p_sString);
//
Process data for FUNCTION DLL NAME
static
void
ProcessStateData_FunctionDLLName
(string p_sString);
};
#
endif
Back
|
FazBrowse Home
|
New Git URL