CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
REL::Segment Class Reference

#include <Relocation.h>

Public Types

enum  Name : std::size_t {
  textx , idata , rdata , data ,
  pdata , tls , textw , gfids ,
  total
}
 

Public Member Functions

 Segment () noexcept=default
 
 Segment (std::uintptr_t a_proxyBase, std::uintptr_t a_address, std::uintptr_t a_size) noexcept
 
std::uintptr_t address () const noexcept
 
std::size_t offset () const noexcept
 
std::size_t size () const noexcept
 
void * pointer () const noexcept
 
template<class T >
T * pointer () const noexcept
 

Member Enumeration Documentation

◆ Name

enum REL::Segment::Name : std::size_t
Enumerator
textx 
idata 
rdata 
data 
pdata 
tls 
textw 
gfids 
total 

Constructor & Destructor Documentation

◆ Segment() [1/2]

REL::Segment::Segment ( )
defaultnoexcept

◆ Segment() [2/2]

REL::Segment::Segment ( std::uintptr_t  a_proxyBase,
std::uintptr_t  a_address,
std::uintptr_t  a_size 
)
inlinenoexcept

Member Function Documentation

◆ address()

std::uintptr_t REL::Segment::address ( ) const
inlinenoexcept

◆ offset()

std::size_t REL::Segment::offset ( ) const
inlinenoexcept

◆ pointer() [1/2]

void * REL::Segment::pointer ( ) const
inlinenoexcept

◆ pointer() [2/2]

template<class T >
T * REL::Segment::pointer ( ) const
inlinenoexcept

◆ size()

std::size_t REL::Segment::size ( ) const
inlinenoexcept

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