KittyMemoryEx 1.0.0
Dedicated library for runtime code patching, memory scanning, tracing, injection and some more useful memory utilities. works for both Android and Linux
Loading...
Searching...
No Matches
KittyMemoryEx::ProcMap Class Reference

Represents a mapping of a memory region. More...

#include <KittyMemoryEx.hpp>

Public Member Functions

bool operator== (const ProcMap &other) const
bool operator!= (const ProcMap &other) const
bool isValid () const
 Checks if the map is valid.
bool isUnknown () const
 Checks if the map is unknown (i.e., no pathname).
bool contains (uintptr_t address) const
 Checks if the map contains a specific address.
std::string toString () const
 Converts the map to a string representation..

Public Attributes

pid_t pid
uintptr_t startAddress
uintptr_t endAddress
size_t length
int protection
bool readable
bool writeable
bool executable
bool is_private
bool is_shared
bool is_ro
bool is_rw
bool is_rx
uintptr_t offset
std::string dev
uint64_t inode
std::string pathname

Detailed Description

Represents a mapping of a memory region.

Member Function Documentation

◆ contains()

bool KittyMemoryEx::ProcMap::contains ( uintptr_t address) const
inline

Checks if the map contains a specific address.

Parameters
addressAddress to check.
Returns
True if the address is within the map, false otherwise.

The documentation for this class was generated from the following file: