Lunatik

syscall.tableModule

A table mapping system call names to their kernel addresses.

This module provides a pre-populated Lua table where each key is a system call name (string, e.g., “openat”) and its corresponding value is the kernel address of that system call (lightuserdata). A name linux.syscall.numbers does not carry is nil, as open is on arm64.

See also

Usage

local syscall_addrs = require("syscall.table")

print("Address of 'openat':", syscall_addrs.openat)

if syscall_addrs.open then
  print("Address of 'open':", syscall_addrs.open)
end