#include <fret.h>
Data Fields | |
size_t | id |
BufferId | bufferId |
GramClass | gClass |
GramType | type |
double | risk |
size_t | offset |
size_t | length |
HashValue | hash |
size_t | frequency |
Describes a data structure or pattern of bytes that is found in a Buffer of data or resulted from the analysis of multiple Buffers. Grams that reside in a specific Buffer have the BufferId of that Buffer, however Grams that are generic have a BufferId that is zero.
|
ID of the Buffer this Gram is from. Zero if this is a Generic Gram. |
|
Number of incidence of this Gram in all Buffers |
|
Class of the Gram |
|
A hash of the Grams raw data. |
|
Unique ID for this Gram. Always > zero. |
|
Length of the Gram in bytes. |
|
Offset of Gram from start of buffer. |
|
Probability that the Gram occurred randomly within the Buffer. The lower this value, the more probable that the Gram is authentic. 0.0 <= risk <= 1.0 always. |
|
Type of the Gram |