Arion 1.0.2-alpha
A high-performance C++ framework for emulating executable binaries.
 
Loading...
Searching...
No Matches
arion_type::RawStringType Class Reference

Concrete type representing a memory address pointing to a null-terminated string. More...

#include <type_utils.hpp>

Inheritance diagram for arion_type::RawStringType:
arion_type::KernelType

Public Member Functions

 RawStringType ()
 
std::string str (std::shared_ptr< arion::Arion > arion, uint64_t val) override
 
- Public Member Functions inherited from arion_type::KernelType
virtual ~KernelType ()=default
 Virtual destructor to allow polymorphic deletion.
 
arion::LOG_COLOR get_color ()
 

Additional Inherited Members

- Protected Member Functions inherited from arion_type::KernelType
 KernelType (std::string name, arion::LOG_COLOR color=arion::LOG_COLOR::DEFAULT)
 

Detailed Description

Concrete type representing a memory address pointing to a null-terminated string.

Constructor & Destructor Documentation

◆ RawStringType()

arion_type::RawStringType::RawStringType ( )
inline

Builder for RawStringType instances.

Member Function Documentation

◆ str()

std::string arion_type::RawStringType::str ( std::shared_ptr< arion::Arion arion,
uint64_t  val 
)
overridevirtual

Reads the null-terminated string starting at the memory address specified by val.

Parameters
[in]arionShared pointer to the Arion instance.
[in]valThe memory address pointing to the string.
Returns
The content of the string read from memory.

Reimplemented from arion_type::KernelType.


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