LIEF: Library to Instrument Executable Formats Version 0.17.0
Loading...
Searching...
No Matches
LIEF::PE::FPO::entry_t Struct Reference

Represents the stack frame layout for a x86 function when frame pointer omission (FPO) optimization is used. More...

#include <FPO.hpp>

Public Member Functions

std::string to_string () const
 

Public Attributes

uint32_t rva = 0
 The function RVA.
 
uint32_t proc_size = 0
 The number of bytes in the function.
 
uint32_t nb_locals = 0
 The number of local variables.
 
uint32_t parameters_size = 0
 The size of the parameters.
 
uint16_t prolog_size = 0
 The number of bytes in the function prolog code.
 
uint16_t nb_saved_regs = 0
 Number of registers saved.
 
bool use_seh = false
 Whether the function uses structured exception handling.
 
bool use_bp = false
 Whether the EBP register has been allocated.
 
uint16_t reserved = 0
 Reserved for future use.
 
FRAME_TYPE type = FRAME_TYPE::FPO
 Variable that indicates the frame type.
 

Detailed Description

Represents the stack frame layout for a x86 function when frame pointer omission (FPO) optimization is used.

Member Function Documentation

◆ to_string()

std::string LIEF::PE::FPO::entry_t::to_string ( ) const

Referenced by operator<<.

Member Data Documentation

◆ nb_locals

uint32_t LIEF::PE::FPO::entry_t::nb_locals = 0

The number of local variables.

◆ nb_saved_regs

uint16_t LIEF::PE::FPO::entry_t::nb_saved_regs = 0

Number of registers saved.

◆ parameters_size

uint32_t LIEF::PE::FPO::entry_t::parameters_size = 0

The size of the parameters.

◆ proc_size

uint32_t LIEF::PE::FPO::entry_t::proc_size = 0

The number of bytes in the function.

◆ prolog_size

uint16_t LIEF::PE::FPO::entry_t::prolog_size = 0

The number of bytes in the function prolog code.

◆ reserved

uint16_t LIEF::PE::FPO::entry_t::reserved = 0

Reserved for future use.

◆ rva

uint32_t LIEF::PE::FPO::entry_t::rva = 0

The function RVA.

◆ type

FRAME_TYPE LIEF::PE::FPO::entry_t::type = FRAME_TYPE::FPO

Variable that indicates the frame type.

◆ use_bp

bool LIEF::PE::FPO::entry_t::use_bp = false

Whether the EBP register has been allocated.

◆ use_seh

bool LIEF::PE::FPO::entry_t::use_seh = false

Whether the function uses structured exception handling.


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