16#ifndef LIEF_ELF_QNX_STACK_H
17#define LIEF_ELF_QNX_STACK_H
31 std::unique_ptr<Note>
clone()
const override {
32 return std::unique_ptr<QNXStack>(
new QNXStack(*
this));
48 void dump(std::ostream& os)
const override;
@ QNX_STACK
QNX Note.
Definition Note.hpp:125
TYPE type() const
Return the type of the note. This type does not match the NT_ type value. For accessing the original ...
Definition Note.hpp:195
Note(const Note ©)=default
Class representing the QNX QNT_STACK note.
Definition QNXStack.hpp:29
void stack_size(uint32_t value)
~QNXStack() override=default
static bool classof(const Note *note)
Definition QNXStack.hpp:52
void set_is_executable(bool value)
bool is_executable() const
Whether the stack is executable.
friend std::ostream & operator<<(std::ostream &os, const QNXStack ¬e)
Definition QNXStack.hpp:59
std::unique_ptr< Note > clone() const override
Clone the current note and keep its polymorphic type.
Definition QNXStack.hpp:31
void dump(std::ostream &os) const override
uint32_t stack_allocated() const
Size of the stack pre-allocated (upfront).
uint32_t stack_size() const
Size of the stack.
void stack_allocated(uint32_t value)
void accept(Visitor &visitor) const override
Definition Visitor.hpp:210
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