AsmGrader 0.0.0
Loading...
Searching...
No Matches
asmgrader::PtraceMemoryIO Class Referencefinal

TraceeMemory implemented using ptrace(2) commands. More...

#include <ptrace_memory_io.hpp>

Inheritance diagram for asmgrader::PtraceMemoryIO:
[legend]

Additional Inherited Members

- Public Member Functions inherited from asmgrader::MemoryIOBase
 MemoryIOBase (pid_t pid)
 
virtual ~MemoryIOBase ()=default
 
template<MemoryReadSupported T>
Result< T > read (std::uintptr_t address)
 
template<MemoryReadSupported T>
requires std::is_trivial_v<T>
Result< std::vector< T > > read_array (std::uintptr_t address, std::size_t size)
 
template<MemoryReadSupported T>
requires std::is_trivial_v<T>
Result< std::vector< T > > read_array (std::uintptr_t address, std::function< bool(const T &)> until_predicate)
 
Result< ByteVectorread_bytes (std::uintptr_t address, std::size_t length)
 
template<MemoryReadSupported T>
Result< remove_all_pointers_t< T > > read_deref_all (std::uintptr_t address)
 
template<MemoryWriteSupported T>
Result< std::size_t > write (std::uintptr_t address, const T &data)
 
pid_t get_pid () const
 

Detailed Description

TraceeMemory implemented using ptrace(2) commands.


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