HyperDbg Debugger
Loading...
Searching...
No Matches
assembler.h
Go to the documentation of this file.
1
13#pragma once
14
16{
17public:
18 std::string AsmRaw {};
19 std::string AsmFixed {};
20 size_t StatementCount {};
21 size_t BytesCount {};
22 unsigned char * EncodedBytes {};
23 vector<UINT64> EncBytesIntVec {};
25
26 AssembleData() = default;
27
28 VOID
30
31 INT
32 Assemble(UINT64 StartAddr, ks_arch Arch = KS_ARCH_X86, INT Mode = KS_MODE_64, INT Syntax = KS_OPT_SYNTAX_INTEL);
33};
int INT
Definition BasicTypes.h:26
#define VOID
Definition BasicTypes.h:33
unsigned __int64 UINT64
Definition BasicTypes.h:21
Definition assembler.h:16
VOID ParseAssemblyData()
tries to solve the symbol issue with Keystone, which apparently originates from LLVM-MC.
Definition assembler.cpp:20
std::string AsmFixed
Definition assembler.h:19
vector< UINT64 > EncBytesIntVec
Definition assembler.h:23
size_t BytesCount
Definition assembler.h:21
size_t StatementCount
Definition assembler.h:20
ks_err KsErr
Definition assembler.h:24
unsigned char * EncodedBytes
Definition assembler.h:22
AssembleData()=default
INT Assemble(UINT64 StartAddr, ks_arch Arch=KS_ARCH_X86, INT Mode=KS_MODE_64, INT Syntax=KS_OPT_SYNTAX_INTEL)
Definition assembler.cpp:119
std::string AsmRaw
Definition assembler.h:18
@ KS_OPT_SYNTAX_INTEL
Definition keystone.h:184
ks_err
Definition keystone.h:111
@ KS_MODE_64
Definition keystone.h:89
ks_arch
Definition keystone.h:57
@ KS_ARCH_X86
Definition keystone.h:61