50 #define INT_OFFSET_NOT_INITIALIZED ((size_t) -1) 53 #define INT_STRUCT_MAX_SEARCH_SIZE ((size_t) PAGE_SIZE) // for now, just page size 56 #define INT_STRUCT_MAX_INVARIANT_CNT ((size_t) 64) // needed? 68 #endif // !_INTSTRUCTS_H_
PFUNC_IntStructGetter Getter
Callback function that is responsible for searching for the offset and extracting a field/structure f...
int INTSTATUS
The status data type.
INTSTATUS IntStructFill(const void *Buffer, size_t Size, INT_STRUCT_INVARIANT *Invariants, size_t Count, BOOLEAN LogErrors, void *Context)
Fill an internal structure with information gathered from the guest by applying a list of invariants ...
#define _Inout_updates_(expr)
#define _In_reads_bytes_(expr)
#define _Function_class_(expr)
size_t Offset
Offset from where the field/structure is to be extracted.
struct _INT_STRUCT_INVARIANT INT_STRUCT_INVARIANT
INTSTATUS(* PFUNC_IntStructGetter)(const void *Buffer, size_t Size, size_t *Offset, void *Context)
Structure getter callback.