Struct Pattern#
Defined in File Pattern.hpp
Struct Documentation#
-
struct Pattern#
IDA-style pattern
Public Functions
-
template<size_t Len>
inline constexpr Pattern(const char (&pattern)[Len])# Create a new Pattern instance from a compile-time string.
- Template Parameters
Len – pattern string length.
- Parameters
pattern – pattern string.
Public Members
-
std::vector<uint8_t, AlignedAllocator<uint8_t, Alignment>> data = {}#
Pattern binary data
-
std::vector<uint8_t, AlignedAllocator<uint8_t, Alignment>> mask = {}#
Pattern binary data mask
-
size_t unpaddedSize = {}#
Unpadded pattern size
Public Static Attributes
-
static constexpr size_t Alignment = 32#
Memory alignment for inner data/mask elements of this pattern.
Private Static Functions
-
static inline uint8_t CharToByte(char symbol)#
-
template<size_t Len>