11 #define SIG_MAX_PATTERN 128u 12 #define SIG_NOT_FOUND 0xFFFFFFFF
WORD Pattern[SIG_MAX_PATTERN]
struct _PATTERN_SIGNATURE PATTERN_SIGNATURE
Describes a signature that can be used for searching or matching guest contents.
DWORD Offset
Offset inside the tested buffer at which the pattern should be found.
DWORD IntPatternMatch(const BYTE *Buffer, DWORD SigCount, const PATTERN_SIGNATURE *Sigs)
Matches one of the given signatures on the given buffer.
DWORD Length
The valid size of the Pattern array.
DWORD IntPatternMatchAllOffsets(const BYTE *Buffer, const DWORD BufferSize, DWORD SigCount, const PATTERN_SIGNATURE *Sigs)
Matches one of the given signatures on the given buffer at any offset inside the given buffer...
struct _PATTERN_SIGNATURE * PPATTERN_SIGNATURE
#define SIG_MAX_PATTERN
The maximum size of a pattern.
Describes a signature that can be used for searching or matching guest contents.
DWORD SignatureId
Signature ID.