mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-23 20:05:26 +00:00
14 lines
212 B
C
14 lines
212 B
C
|
#ifdef _X86_
|
||
|
|
||
|
#define MAX_INST_LEN 16
|
||
|
#define UD_MODE 32
|
||
|
|
||
|
#elif _AMD64_
|
||
|
|
||
|
#define MAX_INST_LEN 24
|
||
|
#define UD_MODE 64
|
||
|
|
||
|
#endif
|
||
|
|
||
|
PVOID Hook(PVOID Function, PVOID Handler, PULONG pBytesPatched);
|