16#ifndef LIEF_ELF_NOTE_DETAILS_PROPERTIES_X86ISA_H
17#define LIEF_ELF_NOTE_DETAILS_PROPERTIES_X86ISA_H
21#include "LIEF/ELF/NoteDetails/NoteGnuProperty.hpp"
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>
98 create_compat_isa_1(FLAG flag,
BinaryStream& stream,
bool is_compat2);
101 values_(std::move(
values))
107LIEF_API
const char* to_string(X86ISA::FLAG flag);
108LIEF_API
const char* to_string(X86ISA::ISA isa);
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
const values_t & values() const
List of the ISA values in this property.
Definition X86ISA.hpp:86
LIEF namespace.
Definition Abstract/Binary.hpp:32