API Documentation
Namespace
All functions and types are contained within the Styx
namespace.
Types
u64
: Unsigned 64-bit integerguest_virt_t
: Guest virtual address (64-bit)guest_phys_t
: Guest physical address (64-bit)vmxroot_error_t
: Enumeration of possible error codes
Structures
PhysicalMemoryPage
PhysicalMemoryPage
Functions Overview
This section covers functions and utilities for interacting with the hypervisor and managing system memory. It includes operations for reading and writing memory, translating addresses, and manipulating page tables.
Here you'll find functions for gathering information about running processes and kernel modules. This includes retrieving process IDs, enumerating modules, and accessing process-specific memory regions.
This section provides a set of functions that allow for stealthy memory hooking by creating separate mappings for execute and read/write operations. The core concept revolves around splitting larger pages (2MB) into smaller 4KB pages when needed.
This section contains various helper functions that simplify common tasks when working with the Styx API. These may include string manipulation, data conversion, and other general-purpose utilities.
The Templates section provides generic functions and classes that can be used with different data types. This includes type-safe memory reading and writing operations that can work with various data structures.
This part of the documentation covers the error handling mechanisms used in Styx, including error codes and how to interpret them. It also describes global variables that are accessible throughout the API.
The Example section provides a practical code sample demonstrating how to use various parts of the Styx API.
Last updated