LIEF: Library to Instrument Executable Formats Version 0.15.1
Loading...
Searching...
No Matches
LIEF::OAT::Class Class Reference

#include <Class.hpp>

Inheritance diagram for LIEF::OAT::Class:
Collaboration diagram for LIEF::OAT::Class:

Public Types

using methods_t = std::vector<Method*>
 
using it_methods = ref_iterator<methods_t&>
 
using it_const_methods = const_ref_iterator<const methods_t&>
 
- Public Types inherited from LIEF::Object
template<class T >
using output_t = add_pointer_t<decay_t<T>>
 
template<class T >
using output_const_t = add_pointer_t<add_const_t<decay_t<T>>>
 

Public Member Functions

 Class ()
 
 Class (OAT_CLASS_STATUS status, OAT_CLASS_TYPES type, DEX::Class *dex_class, std::vector< uint32_t > bitmap={})
 
 Class (const Class &)
 
Classoperator= (const Class &)
 
bool has_dex_class () const
 
const DEX::Classdex_class () const
 
DEX::Classdex_class ()
 
OAT_CLASS_STATUS status () const
 
OAT_CLASS_TYPES type () const
 
const std::string & fullname () const
 
size_t index () const
 
it_methods methods ()
 
it_const_methods methods () const
 
const std::vector< uint32_t > & bitmap () const
 
bool is_quickened (const DEX::Method &m) const
 
bool is_quickened (uint32_t relative_index) const
 
uint32_t method_offsets_index (const DEX::Method &m) const
 
uint32_t method_offsets_index (uint32_t relative_index) const
 
uint32_t relative_index (const DEX::Method &m) const
 
uint32_t relative_index (uint32_t method_absolute_index) const
 
DEX::dex2dex_class_info_t dex2dex_info () const
 
void accept (Visitor &visitor) const override
 
 ~Class () override
 
- Public Member Functions inherited from LIEF::Object
 Object ()
 
 Object (const Object &other)
 
Objectoperator= (const Object &other)
 
template<class T >
output_t< T > as ()
 
template<class T >
output_const_t< T > as () const
 
virtual bool operator== (const Object &other) const
 
virtual bool operator!= (const Object &other) const
 
virtual ~Object ()
 

Member Typedef Documentation

◆ it_const_methods

◆ it_methods

◆ methods_t

using LIEF::OAT::Class::methods_t = std::vector<Method*>

Constructor & Destructor Documentation

◆ Class() [1/3]

LIEF::OAT::Class::Class ( )

◆ Class() [2/3]

LIEF::OAT::Class::Class ( OAT_CLASS_STATUS status,
OAT_CLASS_TYPES type,
DEX::Class * dex_class,
std::vector< uint32_t > bitmap = {} )

◆ Class() [3/3]

LIEF::OAT::Class::Class ( const Class & )

◆ ~Class()

LIEF::OAT::Class::~Class ( )
override

Member Function Documentation

◆ accept()

void LIEF::OAT::Class::accept ( Visitor & visitor) const
overridevirtual

Implements LIEF::Object.

◆ bitmap()

const std::vector< uint32_t > & LIEF::OAT::Class::bitmap ( ) const

◆ dex2dex_info()

DEX::dex2dex_class_info_t LIEF::OAT::Class::dex2dex_info ( ) const

◆ dex_class() [1/2]

DEX::Class * LIEF::OAT::Class::dex_class ( )

◆ dex_class() [2/2]

const DEX::Class * LIEF::OAT::Class::dex_class ( ) const

◆ fullname()

const std::string & LIEF::OAT::Class::fullname ( ) const

◆ has_dex_class()

bool LIEF::OAT::Class::has_dex_class ( ) const

◆ index()

size_t LIEF::OAT::Class::index ( ) const

◆ is_quickened() [1/2]

bool LIEF::OAT::Class::is_quickened ( const DEX::Method & m) const

◆ is_quickened() [2/2]

bool LIEF::OAT::Class::is_quickened ( uint32_t relative_index) const

◆ method_offsets_index() [1/2]

uint32_t LIEF::OAT::Class::method_offsets_index ( const DEX::Method & m) const

◆ method_offsets_index() [2/2]

uint32_t LIEF::OAT::Class::method_offsets_index ( uint32_t relative_index) const

◆ methods() [1/2]

it_methods LIEF::OAT::Class::methods ( )

◆ methods() [2/2]

it_const_methods LIEF::OAT::Class::methods ( ) const

◆ operator=()

Class & LIEF::OAT::Class::operator= ( const Class & )

◆ relative_index() [1/2]

uint32_t LIEF::OAT::Class::relative_index ( const DEX::Method & m) const

◆ relative_index() [2/2]

uint32_t LIEF::OAT::Class::relative_index ( uint32_t method_absolute_index) const

◆ status()

OAT_CLASS_STATUS LIEF::OAT::Class::status ( ) const

◆ type()

OAT_CLASS_TYPES LIEF::OAT::Class::type ( ) const

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