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

#include <Segment.hh>

Public Member Functions

uint16_t index () const
 Get the index into the descriptor table.
 
bool table_indicator () const
 Check if the selector is for the GDT or LDT.
 
uint16_t rpl () const
 Get the requester privilege level.
 
uint16_t value () const
 Get the raw value of the selector.
 
 SegmentSelector (uint16_t value)
 

Public Attributes

const uint16_t value_
 

Constructor & Destructor Documentation

◆ SegmentSelector()

introvirt::x86::SegmentSelector::SegmentSelector ( uint16_t  value)
inlineexplicit

Member Function Documentation

◆ index()

uint16_t introvirt::x86::SegmentSelector::index ( ) const
inline

Get the index into the descriptor table.

Returns
uint16_t indiciating the index into either the GDT or LDT

◆ rpl()

uint16_t introvirt::x86::SegmentSelector::rpl ( ) const
inline

Get the requester privilege level.

Returns
uint16_t

◆ table_indicator()

bool introvirt::x86::SegmentSelector::table_indicator ( ) const
inline

Check if the selector is for the GDT or LDT.

Returns
true if for the LDT
false if for the GDT

◆ value()

uint16_t introvirt::x86::SegmentSelector::value ( ) const
inline

Get the raw value of the selector.

Returns
uint16_t

Member Data Documentation

◆ value_

const uint16_t introvirt::x86::SegmentSelector::value_

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