16#ifndef LIEF_ELF_NOTE_DETAILS_PROPERTIES_STACK_SIZE_H
17#define LIEF_ELF_NOTE_DETAILS_PROPERTIES_STACK_SIZE_H
34 return std::unique_ptr<StackSize>(
new StackSize(
stack_size));
42 void dump(std::ostream &os)
const override;
51 uint64_t stack_size_ = 0;
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
@ STACK_SIZE
Mirror of GNU_PROPERTY_STACK_SIZE.
Definition NoteGnuProperty.hpp:44
TYPE type() const
Return the LIEF's mirror type of the note.
Definition NoteGnuProperty.hpp:52
Class that wraps the NT_GNU_PROPERTY_TYPE_0 note.
Definition NoteGnuProperty.hpp:30
uint64_t stack_size() const
The indicated stack size.
Definition StackSize.hpp:38
void dump(std::ostream &os) const override
static std::unique_ptr< StackSize > create(uint64_t stack_size)
Definition StackSize.hpp:33
static bool classof(const NoteGnuProperty::Property *prop)
Definition StackSize.hpp:29
~StackSize() override=default
Namespace related to the LIEF's ELF module.
Definition Abstract/Header.hpp:28
LIEF namespace.
Definition Abstract/Binary.hpp:40
#define LIEF_API
Definition visibility.h:41