Go to the documentation of this file.
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;
50 void accept(Visitor& visitor)
const override;
53 return note->
type() == Note::TYPE::QNX_STACK;
59 std::ostream&
operator<<(std::ostream& os,
const QNXStack& note) {
Class which represents an ELF note. This class can be instantiated using the static Note::create func...
Definition Note.hpp:39
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
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
Namespace related to the LIEF's ELF module.
Definition Abstract/Header.hpp:28
LIEF namespace.
Definition Abstract/Binary.hpp:36
#define LIEF_API
Definition visibility.h:41