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

#include <Header.hpp>

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

Public Member Functions

 Header ()
 
 Header (const Header &)
 
Headeroperator= (const Header &)
 
 ~Header () override
 
ARCHITECTURES architecture () const
 
const std::set< MODES > & modes () const
 
OBJECT_TYPES object_type () const
 
uint64_t entrypoint () const
 
ENDIANNESS endianness () const
 
bool is_32 () const
 true if the binary target a 32-bits architecture
 
bool is_64 () const
 true if the binary target a 64-bits architecture
 
void accept (Visitor &visitor) const override
 Method so that the visitor can visit us.
 
void architecture (ARCHITECTURES arch)
 
void modes (const std::set< MODES > &m)
 
void object_type (OBJECT_TYPES type)
 
void entrypoint (uint64_t entrypoint)
 
void endianness (ENDIANNESS endianness)
 
- 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 ()
 

Additional Inherited Members

- 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>>>
 

Constructor & Destructor Documentation

◆ Header() [1/2]

LIEF::Header::Header ( )

◆ Header() [2/2]

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

◆ ~Header()

LIEF::Header::~Header ( )
override

Member Function Documentation

◆ accept()

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

Method so that the visitor can visit us.

Implements LIEF::Object.

◆ architecture() [1/2]

ARCHITECTURES LIEF::Header::architecture ( ) const

◆ architecture() [2/2]

void LIEF::Header::architecture ( ARCHITECTURES arch)

◆ endianness() [1/2]

ENDIANNESS LIEF::Header::endianness ( ) const

◆ endianness() [2/2]

void LIEF::Header::endianness ( ENDIANNESS endianness)

◆ entrypoint() [1/2]

uint64_t LIEF::Header::entrypoint ( ) const

◆ entrypoint() [2/2]

void LIEF::Header::entrypoint ( uint64_t entrypoint)

◆ is_32()

bool LIEF::Header::is_32 ( ) const

true if the binary target a 32-bits architecture

◆ is_64()

bool LIEF::Header::is_64 ( ) const

true if the binary target a 64-bits architecture

◆ modes() [1/2]

const std::set< MODES > & LIEF::Header::modes ( ) const

◆ modes() [2/2]

void LIEF::Header::modes ( const std::set< MODES > & m)

◆ object_type() [1/2]

OBJECT_TYPES LIEF::Header::object_type ( ) const

◆ object_type() [2/2]

void LIEF::Header::object_type ( OBJECT_TYPES type)

◆ operator=()

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

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