#include <stdio.h>
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#include "includes/annotations.h"
#include "includes/ms.h"
#include "includes/mm.h"
#include "includes/ps.h"
#include "includes/me.h"
Go to the source code of this file.
◆ __OFFSET_GENERATOR__
| #define __OFFSET_GENERATOR__ |
◆ GEN_COMMENT
| #define GEN_COMMENT |
( |
| msg | ) |
|
◆ GEN_DEFINE
| #define GEN_DEFINE |
( |
| name, |
|
|
| val ) |
Value: printf("%%define %-40s 0x%lX\n", #name, (uint64_t)(val))
Definition at line 27 of file gen_offsets.c.
◆ GEN_OFFSET
| #define GEN_OFFSET |
( |
| struct_name, |
|
|
| member ) |
Value: printf("%%define %-40s 0x%lX\n", #struct_name "_" #member, offsetof(struct_name, member))
Definition at line 30 of file gen_offsets.c.
◆ GEN_SIZE
| #define GEN_SIZE |
( |
| struct_name | ) |
|
Value: printf("%%define SIZEOF_%-33s 0x%lX\n", #struct_name, sizeof(struct_name))
Definition at line 33 of file gen_offsets.c.
◆ main()