16#ifndef LIEF_ELF_NOTE_DETAILS_PROPERTIES_X86ISA_H
17#define LIEF_ELF_NOTE_DETAILS_PROPERTIES_X86ISA_H
77 using values_t = std::vector<std::pair<FLAG, ISA>>;
92 void dump(std::ostream &os)
const override;
95 inline static std::unique_ptr<X86ISA>
97 inline static std::unique_ptr<X86ISA>
101 values_(std::move(
values))
Class that is used to a read stream of data from different sources.
Definition BinaryStream.hpp:34
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
@ X86_ISA
Mirror of GNU_PROPERTY_X86_ISA_1_* and GNU_PROPERTY_X86_COMPAT_*
TYPE type() const
Return the LIEF's mirror type of the note.
Definition NoteGnuProperty.hpp:51
Class that wraps the NT_GNU_PROPERTY_TYPE_0 note.
Definition NoteGnuProperty.hpp:30
This class interfaces the different GNU_PROPERTY_X86_ISA_* properties which includes:
Definition X86ISA.hpp:34
void dump(std::ostream &os) const override
ISA
Definition X86ISA.hpp:41
static std::unique_ptr< X86ISA > create(uint32_t type, BinaryStream &stream)
~X86ISA() override=default
std::vector< std::pair< FLAG, ISA > > values_t
Definition X86ISA.hpp:77
FLAG
Definition X86ISA.hpp:36
const values_t & values() const
List of the ISA values in this property.
Definition X86ISA.hpp:86
static bool classof(const NoteGnuProperty::Property *prop)
Definition X86ISA.hpp:79
const char * to_string(DynamicEntry::TAG e)
LIEF namespace.
Definition Abstract/Binary.hpp:32
#define LIEF_API
Definition visibility.h:41