6#define PATTERN_NOT_FOUND (-1)
15 BYTE*
find_pattern(BYTE* buffer,
size_t buf_size, BYTE* pattern_buf,
size_t pattern_size,
size_t max_iter = 0);
30 bool is_code(BYTE* loadedData,
size_t loadedSize);
50 size_t findAllPatterns(BYTE* loadedData,
size_t loadedSize, ::std::vector<sig_finder::Match>& allMatches);
52 size_t filterCustom(::std::vector<sig_finder::Match>& allMatches, ::std::vector<sig_finder::Match>& customPatternMatches);
pesieve::util::Mutex mainMatcherMutex
sig_finder::Node mainMatcher
size_t loadPatternFile(const char *filename)
size_t findAllPatterns(BYTE *loadedData, size_t loadedSize, ::std::vector< sig_finder::Match > &allMatches)
bool initShellcodePatterns()
size_t filterCustom(::std::vector< sig_finder::Match > &allMatches, ::std::vector< sig_finder::Match > &customPatternMatches)
size_t is_32bit_code(BYTE *loadedData, size_t loadedSize)
bool is_readable(DWORD mapping_type, DWORD protection)
BYTE * find_pattern(BYTE *buffer, size_t buf_size, BYTE *pattern_buf, size_t pattern_size, size_t max_iter=0)
bool is_normal_inaccessible(DWORD state, DWORD mapping_type, DWORD protection)
bool is_code(BYTE *loadedData, size_t loadedSize)
bool is_executable(DWORD mapping_type, DWORD protection)
DWORD(__stdcall *_PssCaptureSnapshot)(HANDLE ProcessHandle
size_t is_64bit_code(BYTE *loadedData, size_t loadedSize)