memex
Loading...
Searching...
No Matches
memex Namespace Reference

Enumerations

enum class  AccessMask : DWORD { Read = PROCESS_VM_READ , Write = PROCESS_VM_WRITE , Execute = PROCESS_CREATE_THREAD , Full = PROCESS_ALL_ACCESS }
 Enum representing different access masks for process memory operations. More...
 
enum class  Error {
  AlreadyAttached , InvalidPID , AccessDenied , OpenFailed ,
  TerminateFailed , InvalidHandle , ProcessNotFound , ProcFirstFailed ,
  SnapshotFailed , ModFirstFailed , ModuleNotFound
}
 An enumeration of error codes that can be returned by the library. More...
 

Functions

constexpr std::string_view parseError (Error error)
 Converts an error code to its string representation.
 

Enumeration Type Documentation

◆ AccessMask

enum class memex::AccessMask : DWORD
strong

Enum representing different access masks for process memory operations.

Enumerator
Read 
Write 
Execute 
Full 

◆ Error

enum class memex::Error
strong

An enumeration of error codes that can be returned by the library.

Enumerator
AlreadyAttached 
InvalidPID 
AccessDenied 
OpenFailed 
TerminateFailed 
InvalidHandle 
ProcessNotFound 
ProcFirstFailed 
SnapshotFailed 
ModFirstFailed 
ModuleNotFound 

Function Documentation

◆ parseError()

std::string_view memex::parseError ( Error error)
constexpr

Converts an error code to its string representation.

Parameters
errorThe error code to convert.
Returns
constexpr std::string_view The string representation of the error code.