16#ifndef LIEF_ELF_NOTE_DETAILS_PROPERTIES_AARCH64_FEATURE_H
17#define LIEF_ELF_NOTE_DETAILS_PROPERTIES_AARCH64_FEATURE_H
19#include "LIEF/ELF/NoteDetails/NoteGnuProperty.hpp"
44 static std::unique_ptr<AArch64Feature> create(
BinaryStream& stream);
46 void dump(std::ostream &os)
const override;
48 ~AArch64Feature()
override =
default;
55 AArch64Feature(std::vector<FEATURE>
features) :
60 std::vector<FEATURE> features_;
Class that is used to a read stream of data from different sources.
Definition BinaryStream.hpp:34
This class represents the GNU_PROPERTY_AARCH64_FEATURE_1_AND property.
Definition AArch64Feature.hpp:27
FEATURE
Definition AArch64Feature.hpp:29
@ PAC
Support Pointer authentication (PAC)
@ BTI
Support Branch Target Identification (BTI)
const std::vector< FEATURE > & features() const
Return the list of the supported features.
Definition AArch64Feature.hpp:36
This class wraps the different properties that can be used in a NT_GNU_PROPERTY_TYPE_0 note.
Definition NoteGnuProperty.hpp:35
TYPE
LIEF's mirror types of the original GNU_PROPERTY_ values.
Definition NoteGnuProperty.hpp:39
@ AARCH64_FEATURES
Mirror of GNU_PROPERTY_AARCH64_FEATURE_1_AND
TYPE type() const
Return the LIEF's mirror type of the note.
Definition NoteGnuProperty.hpp:51
LIEF namespace.
Definition Abstract/Binary.hpp:32