FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
ShellcodeCompiler/ShellcodeCompiler/LinuxSyscalls.h at master · oneonenoe/ShellcodeCompiler · GitHub
oneonenoe
ShellcodeCompiler
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
ShellcodeCompiler
/
ShellcodeCompiler
/
LinuxSyscalls.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
40 lines (27 loc) · 633 Bytes
Breadcrumbs
ShellcodeCompiler
/
ShellcodeCompiler
/
LinuxSyscalls.h
Copy path
File metadata and controls
40 lines (27 loc) · 633 Bytes
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
#
ifndef
LINUXSYSCALLS_H
#
define
LINUXSYSCALLS_H
#
include
"
Utils.h
"
#
include
"
Platform.h
"
#
include
<
string
>
#
include
<
vector
>
#
define
LINUX_SYSCALL_UNKNOWN
-
1
using
namespace
std
;
//
Class used for ASM Header
class
LinuxSyscalls
{
public:
//
Syscall definition
struct
Syscall
{
string Name =
"
"
;
int
x86 = -
1
;
int
x64 = -
1
;
};
static
vector<Syscall> s_vSystemCallsTable;
//
Get syscall numbers
static
int
GetSyscallNr
(string p_sSyscallName);
static
bool
SyscallExists
(string p_sSyscallName);
static
int
GetSyscallNr_x86
(string p_sSyscallName);
static
int
GetSyscallNr_x64
(string p_sSyscallName);
};
#
endif
Back
|
FazBrowse Home
|
New Git URL