Skip to content

symbol ¤

Classes:

Functions:

Attributes:

POSSIBLE_ZONE_NAMES module-attribute ¤

POSSIBLE_ZONE_NAMES = ("DMA", "DMA32", "Normal", "HighMem", "Movable", "Device")

COMMON_TYPES module-attribute ¤

COMMON_TYPES = '\n#include <stdint.h>\n#include <stddef.h>\n#include <linux/version.h>\ntypedef unsigned char u8;\ntypedef char s8;\ntypedef unsigned short u16;\ntypedef unsigned int u32;\ntypedef long long s64;\n#define bool int\n#if UINTPTR_MAX == 0xffffffff\n    typedef int16_t arch_word_t;\n#else\n    typedef int32_t arch_word_t;\n#endif\ntypedef struct {\n    int counter;\n} atomic_t;\n\nstruct list_head {\n    struct list_head *next, *prev;\n};\nstruct kmem_cache;\nenum pageflags {\n\tPG_locked,\t\t/* Page is locked. Don\'t touch. */\n\tPG_writeback,\t\t/* Page is under writeback */\n\tPG_referenced,\n\tPG_uptodate,\n\tPG_dirty,\n\tPG_lru,\n\tPG_head,\t\t/* Must be in bit 6 */\n\tPG_waiters,\t\t/* Page has waiters, check its waitqueue. Must be bit #7 and in the same byte as "PG_locked" */\n\tPG_active,\n\tPG_workingset,\n\tPG_owner_priv_1,\t/* Owner use. If pagecache, fs may use */\n\tPG_owner_2,\t\t/* Owner use. If pagecache, fs may use */\n\tPG_arch_1,\n\tPG_reserved,\n\tPG_private,\t\t/* If pagecache, has fs-private data */\n\tPG_private_2,\t\t/* If pagecache, has fs aux data */\n\tPG_reclaim,\t\t/* To be reclaimed asap */\n\tPG_swapbacked,\t\t/* Page is backed by RAM/swap */\n\tPG_unevictable,\t\t/* Page is "unevictable"  */\n\tPG_dropbehind,\t\t/* drop pages on IO completion */\n};\n'

ArchSymbols ¤

ArchSymbols()

Methods:

Attributes:

node_data_heuristic_func instance-attribute ¤

node_data_heuristic_func = 'first_online_pgdat'

slab_caches_heuristic_func instance-attribute ¤

slab_caches_heuristic_func = 'slab_next'

per_cpu_offset_heuristic_func instance-attribute ¤

per_cpu_offset_heuristic_func = 'nr_iowait_cpu'

modules_heuristic_func instance-attribute ¤

modules_heuristic_func = 'find_module_all'

db_list_heuristic_func instance-attribute ¤

db_list_heuristic_func = (
    "dma_buf_file_release" if krelease() >= (5, 10) else "dma_buf_release"
)

bpf_prog_heuristic_func instance-attribute ¤

bpf_prog_heuristic_func = 'bpf_prog_free_id'

bpf_map_heuristic_func instance-attribute ¤

bpf_map_heuristic_func = 'bpf_map_free_id'

current_task_heuristic_func instance-attribute ¤

current_task_heuristic_func = 'common_cpu_up'

disass ¤

disass(name, lines=None)

regex ¤

regex(s, pattern, nth)

node_data ¤

node_data()

slab_caches ¤

slab_caches()

per_cpu_offset ¤

per_cpu_offset()

modules ¤

modules()

db_list ¤

db_list()

map_idr ¤

map_idr()

prog_idr ¤

prog_idr()

current_task ¤

current_task()

x86_64Symbols ¤

x86_64Symbols()

Bases: ArchSymbols

Methods:

Attributes:

node_data_heuristic_func instance-attribute ¤

node_data_heuristic_func = 'first_online_pgdat'

slab_caches_heuristic_func instance-attribute ¤

slab_caches_heuristic_func = 'slab_next'

per_cpu_offset_heuristic_func instance-attribute ¤

per_cpu_offset_heuristic_func = 'nr_iowait_cpu'

modules_heuristic_func instance-attribute ¤

modules_heuristic_func = 'find_module_all'

db_list_heuristic_func instance-attribute ¤

db_list_heuristic_func = (
    "dma_buf_file_release" if krelease() >= (5, 10) else "dma_buf_release"
)

bpf_prog_heuristic_func instance-attribute ¤

bpf_prog_heuristic_func = 'bpf_prog_free_id'

bpf_map_heuristic_func instance-attribute ¤

bpf_map_heuristic_func = 'bpf_map_free_id'

current_task_heuristic_func instance-attribute ¤

current_task_heuristic_func = 'common_cpu_up'

qword_op_reg_memoff ¤

qword_op_reg_memoff(disass, op, sign='-', nth=0)

qword_mov_reg_const ¤

qword_mov_reg_const(disass, nth=0)

dword_mov_reg_const ¤

dword_mov_reg_const(disass, nth=0)

qword_mov_reg_ripoff ¤

qword_mov_reg_ripoff(disass, nth=0)

disass ¤

disass(name, lines=None)

regex ¤

regex(s, pattern, nth)

node_data ¤

node_data()

slab_caches ¤

slab_caches()

per_cpu_offset ¤

per_cpu_offset()

modules ¤

modules()

db_list ¤

db_list()

map_idr ¤

map_idr()

prog_idr ¤

prog_idr()

current_task ¤

current_task()

Aarch64Symbols ¤

Aarch64Symbols()

Bases: ArchSymbols

Methods:

Attributes:

node_data_heuristic_func instance-attribute ¤

node_data_heuristic_func = 'first_online_pgdat'

slab_caches_heuristic_func instance-attribute ¤

slab_caches_heuristic_func = 'slab_next'

per_cpu_offset_heuristic_func instance-attribute ¤

per_cpu_offset_heuristic_func = 'nr_iowait_cpu'

modules_heuristic_func instance-attribute ¤

modules_heuristic_func = 'find_module_all'

db_list_heuristic_func instance-attribute ¤

db_list_heuristic_func = (
    "dma_buf_file_release" if krelease() >= (5, 10) else "dma_buf_release"
)

bpf_prog_heuristic_func instance-attribute ¤

bpf_prog_heuristic_func = 'bpf_prog_free_id'

bpf_map_heuristic_func instance-attribute ¤

bpf_map_heuristic_func = 'bpf_map_free_id'

current_task_heuristic_func instance-attribute ¤

current_task_heuristic_func = 'common_cpu_up'

qword_adrp_add_const ¤

qword_adrp_add_const(disass, nth=0)

disass ¤

disass(name, lines=None)

regex ¤

regex(s, pattern, nth)

node_data ¤

node_data()

slab_caches ¤

slab_caches()

per_cpu_offset ¤

per_cpu_offset()

modules ¤

modules()

db_list ¤

db_list()

map_idr ¤

map_idr()

prog_idr ¤

prog_idr()

current_task ¤

current_task()

migratetype_names ¤

migratetype_names() -> tuple[str, ...]

try_usymbol ¤

try_usymbol(name: str, size=ptr_size) -> int

nzones ¤

nzones() -> int

nmtypes ¤

nmtypes() -> int

npcplist ¤

npcplist() -> int

kversion_cint ¤

kversion_cint(kversion: tuple[int, int, int] = None)

load_common_structs ¤

load_common_structs()

load_common_structs_on_load ¤

load_common_structs_on_load()