16#ifndef LIEF_ELF_NOTE_DETAILS_PROPERTIES_GENERIC_H
17#define LIEF_ELF_NOTE_DETAILS_PROPERTIES_GENERIC_H
39 static std::unique_ptr<Generic>
create(uint32_t raw_type) {
40 return std::unique_ptr<Generic>(
new Generic(raw_type));
50 uint32_t raw_type_ = 0;
This class represents a property which doesn't have a concrete LIEF implementation.
Definition Generic.hpp:26
static bool classof(const NoteGnuProperty::Property *prop)
Definition Generic.hpp:35
~Generic() override=default
uint32_t type() const
The original raw type as an integer. This value might depends on the architecture and/or the file typ...
Definition Generic.hpp:31
static std::unique_ptr< Generic > create(uint32_t raw_type)
Definition Generic.hpp:39
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
@ GENERIC
Property that dont' have special implementation.
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
LIEF namespace.
Definition Abstract/Binary.hpp:32