16#ifndef LIEF_ELF_NOTE_DETAILS_PROPERTIES_GENERIC_H
17#define LIEF_ELF_NOTE_DETAILS_PROPERTIES_GENERIC_H
19#include "LIEF/ELF/NoteDetails/NoteGnuProperty.hpp"
39 static std::unique_ptr<Generic> create(uint32_t raw_type) {
40 return std::unique_ptr<Generic>(
new Generic(raw_type));
43 ~Generic()
override =
default;
46 Generic(uint32_t raw_type) :
47 NoteGnuProperty::Property(NoteGnuProperty::Property::
TYPE::
GENERIC),
50 uint32_t raw_type_ = 0;
This class represents a property which doesn't have a concrete LIEF implementation.
Definition Generic.hpp:26
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
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
LIEF namespace.
Definition Abstract/Binary.hpp:32