libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
introvirt::x86::Segment Class Referencefinal

Class to represent an x86 segment register. More...

#include <Segment.hh>

Public Member Functions

uint64_t base () const
 Get the base address of the segment.
 
uint32_t limit () const
 Get the size of the segment.
 
SegmentSelector selector () const
 Get the segment selector.
 
bool present () const
 
uint8_t dpl () const
 
bool s () const
 
uint8_t type () const
 
bool granularity () const
 
bool db () const
 
bool long_mode () const
 
bool avl () const
 
bool data () const
 
bool expand_down () const
 
bool writable () const
 
bool code () const
 
bool conforming () const
 
bool readable () const
 
bool accessed () const
 
 Segment (SegmentSelector sel, uint64_t base, uint32_t limit, uint8_t type, bool p, uint8_t dpl, bool db, bool s, bool l, bool g, bool avl)
 

Detailed Description

Class to represent an x86 segment register.

Constructor & Destructor Documentation

◆ Segment()

introvirt::x86::Segment::Segment ( SegmentSelector  sel,
uint64_t  base,
uint32_t  limit,
uint8_t  type,
bool  p,
uint8_t  dpl,
bool  db,
bool  s,
bool  l,
bool  g,
bool  avl 
)
inline

Member Function Documentation

◆ accessed()

bool introvirt::x86::Segment::accessed ( ) const
inline

◆ avl()

bool introvirt::x86::Segment::avl ( ) const
inline

◆ base()

uint64_t introvirt::x86::Segment::base ( ) const
inline

Get the base address of the segment.

Returns
The base address of the segment

◆ code()

bool introvirt::x86::Segment::code ( ) const
inline

◆ conforming()

bool introvirt::x86::Segment::conforming ( ) const
inline

◆ data()

bool introvirt::x86::Segment::data ( ) const
inline

◆ db()

bool introvirt::x86::Segment::db ( ) const
inline

◆ dpl()

uint8_t introvirt::x86::Segment::dpl ( ) const
inline

◆ expand_down()

bool introvirt::x86::Segment::expand_down ( ) const
inline

◆ granularity()

bool introvirt::x86::Segment::granularity ( ) const
inline

◆ limit()

uint32_t introvirt::x86::Segment::limit ( ) const
inline

Get the size of the segment.

Returns
The segment size

◆ long_mode()

bool introvirt::x86::Segment::long_mode ( ) const
inline

◆ present()

bool introvirt::x86::Segment::present ( ) const
inline

◆ readable()

bool introvirt::x86::Segment::readable ( ) const
inline

◆ s()

bool introvirt::x86::Segment::s ( ) const
inline

◆ selector()

SegmentSelector introvirt::x86::Segment::selector ( ) const
inline

Get the segment selector.

Returns
The segment selector

◆ type()

uint8_t introvirt::x86::Segment::type ( ) const
inline

◆ writable()

bool introvirt::x86::Segment::writable ( ) const
inline

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