LIEF: Library to Instrument Executable Formats Version 0.17.0
Loading...
Searching...
No Matches
LIEF::PE::unwind_x64::Alloc Class Reference

This class represents a stack-allocation operation (UNWIND_OPCODES::ALLOC_SMALL or UNWIND_OPCODES::ALLOC_LARGE). More...

#include <UnwindCodeX64.hpp>

Inheritance diagram for LIEF::PE::unwind_x64::Alloc:
Collaboration diagram for LIEF::PE::unwind_x64::Alloc:

Public Member Functions

 Alloc (OPCODE op, size_t pos, uint32_t size)
 
uint32_t size () const
 The size allocated.
 
std::string to_string () const override
 Pretty representation.
 
 ~Alloc () override=default
 
- Public Member Functions inherited from LIEF::PE::unwind_x64::Code
 Code ()=delete
 
 Code (const Code &)=default
 
Codeoperator= (const Code &)=default
 
 Code (Code &&)=default
 
Codeoperator= (Code &&)=default
 
virtual ~Code ()=default
 
 Code (OPCODE opcode, uint32_t pos)
 
 Code (OPCODE opcode)
 
OPCODE opcode () const
 The original opcode.
 
uint32_t position () const
 Offset in the prolog.
 

Static Public Member Functions

static bool classof (const Code *code)
 

Additional Inherited Members

- Public Types inherited from LIEF::PE::unwind_x64::Code
using OPCODE = RuntimeFunctionX64::UNWIND_OPCODES
 
using REG = RuntimeFunctionX64::UNWIND_REG
 

Detailed Description

This class represents a stack-allocation operation (UNWIND_OPCODES::ALLOC_SMALL or UNWIND_OPCODES::ALLOC_LARGE).

Constructor & Destructor Documentation

◆ Alloc()

LIEF::PE::unwind_x64::Alloc::Alloc ( OPCODE op,
size_t pos,
uint32_t size )
inline

◆ ~Alloc()

LIEF::PE::unwind_x64::Alloc::~Alloc ( )
overridedefault

Member Function Documentation

◆ classof()

static bool LIEF::PE::unwind_x64::Alloc::classof ( const Code * code)
inlinestatic

◆ size()

uint32_t LIEF::PE::unwind_x64::Alloc::size ( ) const
inline

The size allocated.

◆ to_string()

std::string LIEF::PE::unwind_x64::Alloc::to_string ( ) const
overridevirtual

Pretty representation.

Reimplemented from LIEF::PE::unwind_x64::Code.


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