LIEF: Library to Instrument Executable Formats Version 0.16.0
Loading...
Searching...
No Matches
LIEF::dwarf::types::Pointer Class Reference

This class represents a DW_TAG_pointer_type DWARF type. More...

#include <Pointer.hpp>

Inheritance diagram for LIEF::dwarf::types::Pointer:
Collaboration diagram for LIEF::dwarf::types::Pointer:

Public Member Functions

const Typeunderlying_type () const
 The type pointed by this pointer.
 
const Typeoperator-> () const
 
const Typeoperator* () const
 
 ~Pointer () override
 
- Public Member Functions inherited from LIEF::dwarf::Type
virtual ~Type ()
 
KIND kind () const
 
bool is_unspecified () const
 Whether this type is a DW_TAG_unspecified_type
 
result< std::string > name () const
 Return the type's name (if any)
 
result< uint64_t > size () const
 Return the size of the type or an error if it can't be computed.
 
debug_location_t location () const
 Return the debug location where this type is defined.
 
std::unique_ptr< Scopescope () const
 Return the scope in which this type is defined.
 
template<class T >
const T * as () const
 

Static Public Member Functions

static bool classof (const Type *type)
 
- Static Public Member Functions inherited from LIEF::dwarf::Type
static std::unique_ptr< Typecreate (std::unique_ptr< details::Type > impl)
 

Additional Inherited Members

- Public Types inherited from LIEF::dwarf::Type
enum class  KIND {
  UNKNOWN = 0 , UNSPECIFIED , BASE , CONST_KIND ,
  CLASS , ARRAY , POINTER , STRUCT ,
  UNION
}
 

Detailed Description

This class represents a DW_TAG_pointer_type DWARF type.

Constructor & Destructor Documentation

◆ ~Pointer()

LIEF::dwarf::types::Pointer::~Pointer ( )
override

Member Function Documentation

◆ classof()

static bool LIEF::dwarf::types::Pointer::classof ( const Type * type)
inlinestatic

◆ operator*()

const Type & LIEF::dwarf::types::Pointer::operator* ( ) const
inline

◆ operator->()

const Type * LIEF::dwarf::types::Pointer::operator-> ( ) const
inline

◆ underlying_type()

const Type * LIEF::dwarf::types::Pointer::underlying_type ( ) const

The type pointed by this pointer.


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