2016-01-05 23:01:17 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
// ithsys.h
|
|
|
|
// 8/23/2013 jichi
|
|
|
|
// Branch: ITH/IHF_SYS.h, rev 111
|
|
|
|
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
# pragma warning(disable:4800) // C4800: forcing value to bool
|
|
|
|
#endif // _MSC_VER
|
2018-08-08 03:44:13 +08:00
|
|
|
//#include "ntdll/ntdll.h"
|
|
|
|
#include <Windows.h>
|
2016-01-05 23:01:17 +08:00
|
|
|
|
|
|
|
// jichi 10/1/2013: Return 0 if failed. So, it is ambiguous if the search pattern starts at 0
|
|
|
|
DWORD SearchPattern(DWORD base, DWORD base_length, LPCVOID search, DWORD search_length); // KMP
|
|
|
|
|
|
|
|
DWORD IthGetMemoryRange(LPCVOID mem, DWORD *base, DWORD *size);
|
|
|
|
|
|
|
|
extern BYTE LeadByteTable[];
|
|
|
|
|
|
|
|
// EOF
|