Go to the documentation of this file.
16#ifndef LIEF_ELF_NOTE_DETAILS_PROPERTIES_AARCH64_FEATURE_H
17#define LIEF_ELF_NOTE_DETAILS_PROPERTIES_AARCH64_FEATURE_H
35 const std::vector<FEATURE>&
features()
const {
41 static bool classof(
const NoteGnuProperty::Property* prop) {
42 return prop->
type() == NoteGnuProperty::Property::TYPE::AARCH64_FEATURES;
45 static std::unique_ptr<AArch64Feature>
create(BinaryStream& stream);
47 void dump(std::ostream &os)
const override;
53 NoteGnuProperty::Property(NoteGnuProperty::Property::TYPE::AARCH64_FEATURES)
56 AArch64Feature(std::vector<FEATURE> features) :
57 NoteGnuProperty::Property(NoteGnuProperty::Property::TYPE::AARCH64_FEATURES),
58 features_(std::move(features))
61 std::vector<FEATURE> features_;
Class that is used to a read stream of data from different sources.
Definition BinaryStream.hpp:33
This class represents the GNU_PROPERTY_AARCH64_FEATURE_1_AND property.
Definition AArch64Feature.hpp:28
void dump(std::ostream &os) const override
FEATURE
Definition AArch64Feature.hpp:30
static std::unique_ptr< AArch64Feature > create(BinaryStream &stream)
const std::vector< FEATURE > & features() const
Return the list of the supported features.
Definition AArch64Feature.hpp:37
~AArch64Feature() override=default
static bool classof(const NoteGnuProperty::Property *prop)
Definition AArch64Feature.hpp:41
This class wraps the different properties that can be used in a NT_GNU_PROPERTY_TYPE_0 note.
Definition NoteGnuProperty.hpp:35
TYPE type() const
Return the LIEF's mirror type of the note.
Definition NoteGnuProperty.hpp:52
Namespace related to the LIEF's ELF module.
Definition Abstract/Header.hpp:28
const char * to_string(DynamicEntry::TAG e)
LIEF namespace.
Definition Abstract/Binary.hpp:36
#define LIEF_API
Definition visibility.h:41