libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
guest_size_t_ptr.hh File Reference
Include dependency graph for guest_size_t_ptr.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  introvirt::_guest_size_t_base< _Physical, _Array, _Const >
 
struct  introvirt::_guest_size_t_base< _Physical, false, false >
 
struct  introvirt::_guest_size_t_base< _Physical, false, true >
 
struct  introvirt::_guest_size_t_base< _Physical, true, false >
 
struct  introvirt::_guest_size_t_base< _Physical, true, true >
 
class  introvirt::GUEST_SIZET_TYPE< _Tp, _PtrType, _Physical >
 Specialization of basic_guest_ptr<_Tp, guest_ptr_t, _Physical> to handle both uint32_t and uint64_t. More...
 
class  introvirt::guest_size_t
 Helper class to transparently convert between guest size and a value. More...
 

Namespaces

namespace  introvirt
 Core IntroVirt classes.
 

Macros

#define WRAPPED_GUESTPTR(x)
 
#define WRAPPED_GUESTPTR_RETURN(x)
 
#define WRAPPED_GUESTPTR_OPERATOR(x)
 
#define GUEST_SIZET_TYPE    basic_guest_ptr<_Tp, _PtrType, _Physical, std::enable_if_t<is_guest_size_v<_Tp>>>
 

Macro Definition Documentation

◆ GUEST_SIZET_TYPE

#define GUEST_SIZET_TYPE    basic_guest_ptr<_Tp, _PtrType, _Physical, std::enable_if_t<is_guest_size_v<_Tp>>>

◆ WRAPPED_GUESTPTR

#define WRAPPED_GUESTPTR (   x)
Value:
if (this->x64_) { \
this->ptr64_.x; \
} else { \
this->ptr32_.x; \
}

◆ WRAPPED_GUESTPTR_OPERATOR

#define WRAPPED_GUESTPTR_OPERATOR (   x)
Value:
if (this->x64_) { \
this->ptr64_.x; \
} else { \
this->ptr32_.x; \
} \
return *this;

◆ WRAPPED_GUESTPTR_RETURN

#define WRAPPED_GUESTPTR_RETURN (   x)
Value:
if (this->x64_) { \
return this->ptr64_.x; \
} else { \
return this->ptr32_.x; \
}