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

#include <Header.hpp>

Inheritance diagram for LIEF::ART::Header:
Collaboration diagram for LIEF::ART::Header:

Public Types

using magic_t = std::array<uint8_t, 4>
 
- 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

 Header ()
 
template<class T >
 Header (const T *header)
 
 Header (const Header &)
 
Headeroperator= (const Header &)
 
magic_t magic () const
 
art_version_t version () const
 
uint32_t image_begin () const
 
uint32_t image_size () const
 
uint32_t oat_checksum () const
 
uint32_t oat_file_begin () const
 
uint32_t oat_file_end () const
 
uint32_t oat_data_begin () const
 
uint32_t oat_data_end () const
 
int32_t patch_delta () const
 
uint32_t image_roots () const
 
uint32_t pointer_size () const
 
bool compile_pic () const
 
uint32_t nb_sections () const
 
uint32_t nb_methods () const
 
uint32_t boot_image_begin () const
 
uint32_t boot_image_size () const
 
uint32_t boot_oat_begin () const
 
uint32_t boot_oat_size () const
 
STORAGE_MODES storage_mode () const
 
uint32_t data_size () const
 
void accept (Visitor &visitor) const override
 
 ~Header () 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

◆ magic_t

using LIEF::ART::Header::magic_t = std::array<uint8_t, 4>

Constructor & Destructor Documentation

◆ Header() [1/3]

LIEF::ART::Header::Header ( )

◆ Header() [2/3]

template<class T >
LIEF::ART::Header::Header ( const T * header)

◆ Header() [3/3]

LIEF::ART::Header::Header ( const Header & )

◆ ~Header()

LIEF::ART::Header::~Header ( )
override

Member Function Documentation

◆ accept()

void LIEF::ART::Header::accept ( Visitor & visitor) const
overridevirtual

Implements LIEF::Object.

◆ boot_image_begin()

uint32_t LIEF::ART::Header::boot_image_begin ( ) const

◆ boot_image_size()

uint32_t LIEF::ART::Header::boot_image_size ( ) const

◆ boot_oat_begin()

uint32_t LIEF::ART::Header::boot_oat_begin ( ) const

◆ boot_oat_size()

uint32_t LIEF::ART::Header::boot_oat_size ( ) const

◆ compile_pic()

bool LIEF::ART::Header::compile_pic ( ) const

◆ data_size()

uint32_t LIEF::ART::Header::data_size ( ) const

◆ image_begin()

uint32_t LIEF::ART::Header::image_begin ( ) const

◆ image_roots()

uint32_t LIEF::ART::Header::image_roots ( ) const

◆ image_size()

uint32_t LIEF::ART::Header::image_size ( ) const

◆ magic()

magic_t LIEF::ART::Header::magic ( ) const

◆ nb_methods()

uint32_t LIEF::ART::Header::nb_methods ( ) const

◆ nb_sections()

uint32_t LIEF::ART::Header::nb_sections ( ) const

◆ oat_checksum()

uint32_t LIEF::ART::Header::oat_checksum ( ) const

◆ oat_data_begin()

uint32_t LIEF::ART::Header::oat_data_begin ( ) const

◆ oat_data_end()

uint32_t LIEF::ART::Header::oat_data_end ( ) const

◆ oat_file_begin()

uint32_t LIEF::ART::Header::oat_file_begin ( ) const

◆ oat_file_end()

uint32_t LIEF::ART::Header::oat_file_end ( ) const

◆ operator=()

Header & LIEF::ART::Header::operator= ( const Header & )

◆ patch_delta()

int32_t LIEF::ART::Header::patch_delta ( ) const

◆ pointer_size()

uint32_t LIEF::ART::Header::pointer_size ( ) const

◆ storage_mode()

STORAGE_MODES LIEF::ART::Header::storage_mode ( ) const

◆ version()

art_version_t LIEF::ART::Header::version ( ) const

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