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

Save a nonvolatile integer register on the stack using a MOV instead of a PUSH. More...

#include <UnwindCodeX64.hpp>

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

Public Member Functions

 SaveNonVolatile ()=delete
 
 SaveNonVolatile (OPCODE op, REG value, size_t pos, uint32_t offset)
 
REG reg () const
 
uint32_t offset () const
 
std::string to_string () const override
 Pretty representation.
 
 ~SaveNonVolatile () 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

Save a nonvolatile integer register on the stack using a MOV instead of a PUSH.

Constructor & Destructor Documentation

◆ SaveNonVolatile() [1/2]

LIEF::PE::unwind_x64::SaveNonVolatile::SaveNonVolatile ( )
delete

◆ SaveNonVolatile() [2/2]

LIEF::PE::unwind_x64::SaveNonVolatile::SaveNonVolatile ( OPCODE op,
REG value,
size_t pos,
uint32_t offset )
inline

◆ ~SaveNonVolatile()

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

Member Function Documentation

◆ classof()

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

◆ offset()

uint32_t LIEF::PE::unwind_x64::SaveNonVolatile::offset ( ) const
inline

◆ reg()

REG LIEF::PE::unwind_x64::SaveNonVolatile::reg ( ) const
inline

◆ to_string()

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

Pretty representation.

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


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