LIEF: Library to Instrument Executable Formats Version 0.16.0
Loading...
Searching...
No Matches
LIEF::ELF::AArch64Feature Class Reference

This class represents the GNU_PROPERTY_AARCH64_FEATURE_1_AND property. More...

#include <AArch64Feature.hpp>

Inheritance diagram for LIEF::ELF::AArch64Feature:
Collaboration diagram for LIEF::ELF::AArch64Feature:

Public Types

enum class  FEATURE { UNKNOWN = 0 , BTI , PAC }
 
- Public Types inherited from LIEF::ELF::NoteGnuProperty::Property
enum class  TYPE {
  UNKNOWN = 0 , GENERIC , AARCH64_FEATURES , AARCH64_PAUTH ,
  STACK_SIZE , NO_COPY_ON_PROTECTED , X86_ISA , X86_FEATURE ,
  NEEDED
}
 LIEF's mirror types of the original GNU_PROPERTY_ values. More...
 

Public Member Functions

const std::vector< FEATURE > & features () const
 Return the list of the supported features.
 
void dump (std::ostream &os) const override
 
 ~AArch64Feature () override=default
 
- Public Member Functions inherited from LIEF::ELF::NoteGnuProperty::Property
TYPE type () const
 Return the LIEF's mirror type of the note.
 
virtual ~Property ()=default
 

Static Public Member Functions

static bool classof (const NoteGnuProperty::Property *prop)
 
static std::unique_ptr< AArch64Featurecreate (BinaryStream &stream)
 

Detailed Description

This class represents the GNU_PROPERTY_AARCH64_FEATURE_1_AND property.

Member Enumeration Documentation

◆ FEATURE

Enumerator
UNKNOWN 
BTI 

Support Branch Target Identification (BTI)

PAC 

Support Pointer authentication (PAC)

Constructor & Destructor Documentation

◆ ~AArch64Feature()

LIEF::ELF::AArch64Feature::~AArch64Feature ( )
overridedefault

Member Function Documentation

◆ classof()

static bool LIEF::ELF::AArch64Feature::classof ( const NoteGnuProperty::Property * prop)
inlinestatic

◆ create()

static std::unique_ptr< AArch64Feature > LIEF::ELF::AArch64Feature::create ( BinaryStream & stream)
static

◆ dump()

void LIEF::ELF::AArch64Feature::dump ( std::ostream & os) const
overridevirtual

◆ features()

const std::vector< FEATURE > & LIEF::ELF::AArch64Feature::features ( ) const
inline

Return the list of the supported features.


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