XenevaOS
Loading...
Searching...
No Matches
Macros
poison.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define POISON_POINTER_DELTA   0
 
#define LIST_POISON1   ((void *) 0x100 + POISON_POINTER_DELTA)
 
#define LIST_POISON2   ((void *) 0x122 + POISON_POINTER_DELTA)
 
#define TIMER_ENTRY_STATIC   ((void *) 0x300 + POISON_POINTER_DELTA)
 
#define PAGE_POISON   0xaa
 
#define TAIL_MAPPING   ((void *) 0x400 + POISON_POINTER_DELTA)
 
#define SLUB_RED_INACTIVE   0xbb /* when obj is inactive */
 
#define SLUB_RED_ACTIVE   0xcc /* when obj is active */
 
#define POISON_INUSE   0x5a /* for use-uninitialised poisoning */
 
#define POISON_FREE   0x6b /* for use-after-free poisoning */
 
#define POISON_END   0xa5 /* end-byte of poisoning */
 
#define POISON_FREE_INITMEM   0xcc
 
#define JBD_POISON_FREE   0x5b
 
#define JBD2_POISON_FREE   0x5c
 
#define POOL_POISON_FREED   0xa7 /* !inuse */
 
#define POOL_POISON_ALLOCATED   0xa9 /* !initted */
 
#define ATM_POISON_FREE   0x12
 
#define ATM_POISON   0xdeadbeef
 
#define MUTEX_DEBUG_INIT   0x11
 
#define MUTEX_DEBUG_FREE   0x22
 
#define MUTEX_POISON_WW_CTX   ((void *) 0x500 + POISON_POINTER_DELTA)
 
#define KEY_DESTROY   0xbd
 
#define PP_SIGNATURE   (0x40 + POISON_POINTER_DELTA)
 
#define SKB_LIST_POISON_NEXT   ((void *)(0x800 + POISON_POINTER_DELTA))
 
#define NET_PTR_POISON   ((void *)(0x801 + POISON_POINTER_DELTA))
 
#define BPF_PTR_POISON   ((void *)(0xeB9FUL + POISON_POINTER_DELTA))
 
#define VFS_PTR_POISON   ((void *)(0xF5 + POISON_POINTER_DELTA))
 
#define STACK_DEPOT_POISON   ((void *)(0xD390 + POISON_POINTER_DELTA))
 
#define IO_URING_PTR_POISON   ((void *)(0x1091UL + POISON_POINTER_DELTA))
 

Macro Definition Documentation

◆ ATM_POISON

#define ATM_POISON   0xdeadbeef

◆ ATM_POISON_FREE

#define ATM_POISON_FREE   0x12

◆ BPF_PTR_POISON

#define BPF_PTR_POISON   ((void *)(0xeB9FUL + POISON_POINTER_DELTA))

◆ IO_URING_PTR_POISON

#define IO_URING_PTR_POISON   ((void *)(0x1091UL + POISON_POINTER_DELTA))

◆ JBD2_POISON_FREE

#define JBD2_POISON_FREE   0x5c

◆ JBD_POISON_FREE

#define JBD_POISON_FREE   0x5b

◆ KEY_DESTROY

#define KEY_DESTROY   0xbd

◆ LIST_POISON1

#define LIST_POISON1   ((void *) 0x100 + POISON_POINTER_DELTA)

◆ LIST_POISON2

#define LIST_POISON2   ((void *) 0x122 + POISON_POINTER_DELTA)

◆ MUTEX_DEBUG_FREE

#define MUTEX_DEBUG_FREE   0x22

◆ MUTEX_DEBUG_INIT

#define MUTEX_DEBUG_INIT   0x11

◆ MUTEX_POISON_WW_CTX

#define MUTEX_POISON_WW_CTX   ((void *) 0x500 + POISON_POINTER_DELTA)

◆ NET_PTR_POISON

#define NET_PTR_POISON   ((void *)(0x801 + POISON_POINTER_DELTA))

◆ PAGE_POISON

#define PAGE_POISON   0xaa

◆ POISON_END

#define POISON_END   0xa5 /* end-byte of poisoning */

◆ POISON_FREE

#define POISON_FREE   0x6b /* for use-after-free poisoning */

◆ POISON_FREE_INITMEM

#define POISON_FREE_INITMEM   0xcc

◆ POISON_INUSE

#define POISON_INUSE   0x5a /* for use-uninitialised poisoning */

◆ POISON_POINTER_DELTA

#define POISON_POINTER_DELTA   0

◆ POOL_POISON_ALLOCATED

#define POOL_POISON_ALLOCATED   0xa9 /* !initted */

◆ POOL_POISON_FREED

#define POOL_POISON_FREED   0xa7 /* !inuse */

◆ PP_SIGNATURE

#define PP_SIGNATURE   (0x40 + POISON_POINTER_DELTA)

◆ SKB_LIST_POISON_NEXT

#define SKB_LIST_POISON_NEXT   ((void *)(0x800 + POISON_POINTER_DELTA))

◆ SLUB_RED_ACTIVE

#define SLUB_RED_ACTIVE   0xcc /* when obj is active */

◆ SLUB_RED_INACTIVE

#define SLUB_RED_INACTIVE   0xbb /* when obj is inactive */

◆ STACK_DEPOT_POISON

#define STACK_DEPOT_POISON   ((void *)(0xD390 + POISON_POINTER_DELTA))

◆ TAIL_MAPPING

#define TAIL_MAPPING   ((void *) 0x400 + POISON_POINTER_DELTA)

◆ TIMER_ENTRY_STATIC

#define TIMER_ENTRY_STATIC   ((void *) 0x300 + POISON_POINTER_DELTA)

◆ VFS_PTR_POISON

#define VFS_PTR_POISON   ((void *)(0xF5 + POISON_POINTER_DELTA))