retdec
|
#include <yara_match.h>
Public Member Functions | |
Getters | |
std::size_t | getOffset () const |
std::size_t | getDataSize () const |
const std::vector< std::uint8_t > & | getData () const |
Setters | |
void | setOffset (std::size_t offsetValue) |
void | setData (const std::uint8_t *dataBuffer, std::size_t dataLength) |
Other methods | |
void | addByte (std::uint8_t byte) |
Private Attributes | |
std::size_t | offset |
std::vector< std::uint8_t > | data |
Representation of one match
void retdec::yaracpp::YaraMatch::addByte | ( | std::uint8_t | byte | ) |
Add detected byte
byte | Value of byte |
const std::vector< std::uint8_t > & retdec::yaracpp::YaraMatch::getData | ( | ) | const |
Get stored bytes
std::size_t retdec::yaracpp::YaraMatch::getDataSize | ( | ) | const |
Get size of stored bytes
std::size_t retdec::yaracpp::YaraMatch::getOffset | ( | ) | const |
Get offset of detection
void retdec::yaracpp::YaraMatch::setData | ( | const std::uint8_t * | dataBuffer, |
std::size_t | dataLength | ||
) |
Set detected data
dataBuffer | Pointer to the beginning of the data |
dataLength | Length of the buffer |
void retdec::yaracpp::YaraMatch::setOffset | ( | std::size_t | offsetValue | ) |
Set offset of detection
offsetValue | Offset of detection |
|
private |
|
private |