mirror of
https://github.com/HyperDbg/HyperDbg.git
synced 2026-07-21 06:54:46 +00:00
17 lines
383 B
C
17 lines
383 B
C
/**
|
|
* @file list.h
|
|
* @author Sina Karvandi (sina@hyperdbg.org)
|
|
* @brief The list working functions headers
|
|
* @details
|
|
* @version 0.1
|
|
* @date 2020-04-11
|
|
*
|
|
* @copyright This project is released under the GNU Public License v3.
|
|
*
|
|
*/
|
|
#pragma once
|
|
|
|
/*
|
|
#define CONTAINING_RECORD(address, type, field) \
|
|
((type *)((char *)(address) - (unsigned long)(&((type *)0)->field)))
|
|
*/
|