HyperDbg Debugger
|
Helper macros. More...
Go to the source code of this file.
Macros | |
#define | MetaScopedExpr(Pre_, Post_, ScopedExpr_) |
#define | LIST_FOR_EACH(_head, _struct_type, _var) _LIST_FOR_EACH(_head, _struct_type, Link, _var) |
#define | LIST_FOR_NEXT(_start, _head, _type, _var) _LIST_FOR_NEXT(_start, _head, _type, Link, _var) |
#define | LIST_FOR_EACH_LINK(_head, _struct_type, _member, _var) _LIST_FOR_EACH(_head, _struct_type, _member, _var) |
#define | HANDLE_TO_UINT32(_var) (UINT32)((UINT64)_var & 0xffffffff) |
#define | PVOID_TO_BOOLEAN(_var) (BOOLEAN)((UINT64)_var & 0xff) |
#define | _NEXT(_var, _member) _var->_member.Flink |
#define | _NEXT_ENTRY(_var, _member, _type) CONTAINING_RECORD(_NEXT(_var, _member), _type, _member) |
#define | PREPROC_CONCAT(a, b) PREPROC_CONCAT_1(a, b) |
#define | PREPROC_CONCAT_1(a, b) PREPROC_CONCAT_2(~, a##b) |
#define | PREPROC_CONCAT_2(p, res) res |
#define | UNIQUE_NAME(base) PREPROC_CONCAT(base, __LINE__) |
#define | _LIST_FOR_EACH(_head, _type, _member, _var) |
#define | _LIST_FOR_NEXT(_start, _head, _type, _member, _var) |
Helper macros.
#define _LIST_FOR_EACH | ( | _head, | |
_type, | |||
_member, | |||
_var ) |
#define _LIST_FOR_NEXT | ( | _start, | |
_head, | |||
_type, | |||
_member, | |||
_var ) |
#define _NEXT | ( | _var, | |
_member ) _var->_member.Flink |
#define _NEXT_ENTRY | ( | _var, | |
_member, | |||
_type ) CONTAINING_RECORD(_NEXT(_var, _member), _type, _member) |
#define LIST_FOR_EACH | ( | _head, | |
_struct_type, | |||
_var ) _LIST_FOR_EACH(_head, _struct_type, Link, _var) |
#define LIST_FOR_EACH_LINK | ( | _head, | |
_struct_type, | |||
_member, | |||
_var ) _LIST_FOR_EACH(_head, _struct_type, _member, _var) |
#define LIST_FOR_NEXT | ( | _start, | |
_head, | |||
_type, | |||
_var ) _LIST_FOR_NEXT(_start, _head, _type, Link, _var) |
#define MetaScopedExpr | ( | Pre_, | |
Post_, | |||
ScopedExpr_ ) |
#define PREPROC_CONCAT | ( | a, | |
b ) PREPROC_CONCAT_1(a, b) |
#define PREPROC_CONCAT_1 | ( | a, | |
b ) PREPROC_CONCAT_2(~, a##b) |
#define PREPROC_CONCAT_2 | ( | p, | |
res ) res |
#define UNIQUE_NAME | ( | base | ) | PREPROC_CONCAT(base, __LINE__) |