LIEF: Library to Instrument Executable Formats Version 0.17.0
Loading...
Searching...
No Matches
LIEF::ELF::StackSize Class Reference

This class provides an interface over the GNU_PROPERTY_STACK_SIZE property. More...

#include <StackSize.hpp>

Inheritance diagram for LIEF::ELF::StackSize:
Collaboration diagram for LIEF::ELF::StackSize:

Public Member Functions

uint64_t stack_size () const
 The indicated stack size.
 
void dump (std::ostream &os) const override
 
 ~StackSize () override=default
 
- Public Member Functions inherited from LIEF::ELF::NoteGnuProperty::Property
TYPE type () const
 Return the LIEF's mirror type of the note.
 
virtual ~Property ()=default
 

Static Public Member Functions

static bool classof (const NoteGnuProperty::Property *prop)
 
static std::unique_ptr< StackSizecreate (uint64_t stack_size)
 

Additional Inherited Members

- Public Types inherited from LIEF::ELF::NoteGnuProperty::Property
enum class  TYPE {
  UNKNOWN = 0 , GENERIC , AARCH64_FEATURES , AARCH64_PAUTH ,
  STACK_SIZE , NO_COPY_ON_PROTECTED , X86_ISA , X86_FEATURE ,
  NEEDED
}
 LIEF's mirror types of the original GNU_PROPERTY_ values. More...
 

Detailed Description

This class provides an interface over the GNU_PROPERTY_STACK_SIZE property.

This property can be used by the loader to raise the stack limit.

Constructor & Destructor Documentation

◆ ~StackSize()

LIEF::ELF::StackSize::~StackSize ( )
overridedefault

Member Function Documentation

◆ classof()

static bool LIEF::ELF::StackSize::classof ( const NoteGnuProperty::Property * prop)
inlinestatic

◆ create()

static std::unique_ptr< StackSize > LIEF::ELF::StackSize::create ( uint64_t stack_size)
inlinestatic

◆ dump()

void LIEF::ELF::StackSize::dump ( std::ostream & os) const
overridevirtual

◆ stack_size()

uint64_t LIEF::ELF::StackSize::stack_size ( ) const
inline

The indicated stack size.


The documentation for this class was generated from the following file: