Process and Module Information
Process and Module Operations
get_proc_base(std::uint32_t pid)
Gets the base address of a process given its Process ID.
Parameters:
pid
: Process ID
Returns: uint32_t
(Process base address)
Example:
get_kmodule_address()
Retrieves addresses of various kernel modules and functions.
Returns: bool
Example:
get_kmodule_base(const char* module_name)
Gets the base address of a kernel module.
Parameters:
module_name
: Name of the kernel module
Returns: std::uintptr_t
Example:
get_kmodule_export(const char* module_name, const char* export_name, bool rva = false)
Gets the address of an exported function from a kernel module.
Parameters:
module_name
: Name of the kernel moduleexport_name
: Name of the exported functionrva
: If true, returns the Relative Virtual Address (default: false)
Returns: void*
Example:
get_pid(const wchar_t* proc_name)
Gets the Process ID of a process given its name.
Parameters:
proc_name
: Name of the process
Returns: std::uint32_t
Example:
Last updated