IDA C++ SDK 9.2
Loading...
Searching...
No Matches
fixup_data_t Struct Reference

#include <fixup.hpp>

Public Member Functions

 fixup_data_t ()
 fixup_data_t (fixup_type_t type_, uint32 flags_=0)
fixup_type_t get_type (void) const
 Fixup type Types of fixups.
void set_type (fixup_type_t type_)
void set_type_and_flags (fixup_type_t type_, uint32 flags_=0)
bool is_custom (void) const
 is_fixup_custom()
uint32 get_flags () const
 Fixup flags Fixup flags.
bool is_extdef (void) const
void set_extdef (void)
void clr_extdef (void)
bool is_unused (void) const
void set_unused (void)
void clr_unused (void)
bool has_base (void) const
 Is fixup relative?
bool was_created (void) const
 Is fixup artificial?
ea_t get_base () const
 Get base of fixup.
void set_base (ea_t new_base)
 Set base of fixup.
void set_sel (const segment_t *seg)
void set_target_sel ()
 Set selector of fixup to the target.
void set (ea_t source) const
 set_fixup()
bool get (ea_t source)
 get_fixup()
const fixup_handler_tget_handler () const
 get_fixup_handler()
const char * get_desc (qstring *buf, ea_t source) const
 get_fixup_desc()
int calc_size () const
 calc_fixup_size()
uval_t get_value (ea_t ea) const
 get_fixup_value()
bool patch_value (ea_t ea) const
 patch_fixup_value()

Public Attributes

sel_t sel
 selector of the target segment.
ea_t off
 target offset
adiff_t displacement
 displacement (offset from the target)

Protected Attributes

fixup_type_t type
uint32 flags
uval_t base

Constructor & Destructor Documentation

◆ fixup_data_t() [1/2]

fixup_data_t::fixup_data_t ( )
inline

◆ fixup_data_t() [2/2]

fixup_data_t::fixup_data_t ( fixup_type_t type_,
uint32 flags_ = 0 )
inline

Member Function Documentation

◆ get_type()

fixup_type_t fixup_data_t::get_type ( void ) const
inline

Fixup type Types of fixups.

◆ set_type()

void fixup_data_t::set_type ( fixup_type_t type_)
inline

◆ set_type_and_flags()

void fixup_data_t::set_type_and_flags ( fixup_type_t type_,
uint32 flags_ = 0 )
inline

◆ is_custom()

bool fixup_data_t::is_custom ( void ) const
inline

◆ get_flags()

uint32 fixup_data_t::get_flags ( ) const
inline

Fixup flags Fixup flags.

◆ is_extdef()

bool fixup_data_t::is_extdef ( void ) const
inline

◆ set_extdef()

void fixup_data_t::set_extdef ( void )
inline

◆ clr_extdef()

void fixup_data_t::clr_extdef ( void )
inline

◆ is_unused()

bool fixup_data_t::is_unused ( void ) const
inline

◆ set_unused()

void fixup_data_t::set_unused ( void )
inline

◆ clr_unused()

void fixup_data_t::clr_unused ( void )
inline

◆ has_base()

bool fixup_data_t::has_base ( void ) const
inline

Is fixup relative?

◆ was_created()

bool fixup_data_t::was_created ( void ) const
inline

Is fixup artificial?

◆ get_base()

ea_t fixup_data_t::get_base ( ) const
inline

Get base of fixup.

Note
The target is calculated as get_base() + off.
See also
FIXUPF_REL

◆ set_base()

void fixup_data_t::set_base ( ea_t new_base)
inline

Set base of fixup.

The target should be set before a call of this function.

◆ set_sel()

void fixup_data_t::set_sel ( const segment_t * seg)
inline

◆ set_target_sel()

void fixup_data_t::set_target_sel ( )
inline

Set selector of fixup to the target.

The target should be set before a call of this function.

◆ set()

void fixup_data_t::set ( ea_t source) const
inline

◆ get()

bool fixup_data_t::get ( ea_t source)
inline

◆ get_handler()

const fixup_handler_t * fixup_data_t::get_handler ( ) const
inline

◆ get_desc()

const char * fixup_data_t::get_desc ( qstring * buf,
ea_t source ) const
inline

◆ calc_size()

int fixup_data_t::calc_size ( ) const
inline

◆ get_value()

uval_t fixup_data_t::get_value ( ea_t ea) const
inline

◆ patch_value()

bool fixup_data_t::patch_value ( ea_t ea) const
inline

Member Data Documentation

◆ type

fixup_type_t fixup_data_t::type
protected

◆ flags

uint32 fixup_data_t::flags
protected

◆ base

uval_t fixup_data_t::base
protected

◆ sel

sel_t fixup_data_t::sel

selector of the target segment.

BADSEL means an absolute (zero based) target.

See also
FIXUPF_REL

◆ off

ea_t fixup_data_t::off

target offset

Note
The target is calculated as get_base() + off.

◆ displacement

adiff_t fixup_data_t::displacement

displacement (offset from the target)


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