|
libintrovirt v0.57.4
IntroVirt introspection library
|
Class to parse a segment descriptor table. More...
#include <SegmentDescriptorTable.hh>
Public Member Functions | |
| Segment | index (uint16_t idx) const |
| Get an entry based on an index into the table. | |
| Segment | selector (SegmentSelector sel) const |
| Get an entry based on the selector. | |
| size_t | count () const |
| Get the number of entries. | |
| SegmentDescriptorTable (const guest_ptr< void > &ptr, uint32_t limit) | |
| Construct a new Gdt object. | |
Class to parse a segment descriptor table.
| introvirt::x86::SegmentDescriptorTable::SegmentDescriptorTable | ( | const guest_ptr< void > & | ptr, |
| uint32_t | limit | ||
| ) |
Construct a new Gdt object.
| ptr | The base address of the table |
| limit | The size of the table |
| size_t introvirt::x86::SegmentDescriptorTable::count | ( | ) | const |
Get the number of entries.
| Segment introvirt::x86::SegmentDescriptorTable::index | ( | uint16_t | idx | ) | const |
Get an entry based on an index into the table.
| idx | The index into the table |
| Segment introvirt::x86::SegmentDescriptorTable::selector | ( | SegmentSelector | sel | ) | const |