IDA C++ SDK 9.2
Loading...
Searching...
No Matches
fchunk_info_t Class Reference

Describes a function chunk (entry or tail). More...

#include <funcs.hpp>

Inheritance diagram for fchunk_info_t:
range_t func_entry_info_t func_tail_info_t

Public Member Functions

 fchunk_info_t (ea_t start=0, ea_t end=0)
bool is_valid () const
 Is the function chunk info valid?
bool is_tail () const
 Is this a tail chunk?
bool is_entry () const
 Is this an entry chunk?
uint64 get_flags () const
 Function chunk flags Function flags.
void set_flags (uint64 v)
bool is_far () const
 Is a far function?
bool does_return () const
 Does function return?
bool analyzed_sp () const
 Has SP-analysis been performed?
bool need_prolog_analysis () const
 Needs prolog analysis?
Public Member Functions inherited from range_t
 range_t (ea_t ea1=0, ea_t ea2=0)
 DECLARE_COMPARISONS (range_t)
 Compare two range_t instances, based on the start_ea.
bool contains (ea_t ea) const
 Is 'ea' in the address range?
bool contains (const range_t &r) const
 Is every ea in 'r' also in this range_t?
bool overlaps (const range_t &r) const
 Is there an ea in 'r' that is also in this range_t?
void clear ()
 Set start_ea, end_ea to 0.
bool empty () const
 Is the size of the range_t <= 0?
asize_t size () const
 Get end_ea - start_ea.
void intersect (const range_t &r)
 Assign the range_t to the intersection between the range_t and 'r'.
void extend (ea_t ea)
 Ensure that the range_t includes 'ea'.
size_t print (char *buf, size_t bufsize) const
 Print the range_t.

Protected Attributes

uint64 flags_ = 0

Friends

struct kdata_t

Additional Inherited Members

Public Attributes inherited from range_t
ea_t start_ea
 start_ea included
ea_t end_ea
 end_ea excluded

Detailed Description

Describes a function chunk (entry or tail).

A lightweight descriptor with range and flags, without entry-specific or tail-specific details.

Constructor & Destructor Documentation

◆ fchunk_info_t()

fchunk_info_t::fchunk_info_t ( ea_t start = 0,
ea_t end = 0 )
inline

Member Function Documentation

◆ is_valid()

bool fchunk_info_t::is_valid ( ) const
inline

Is the function chunk info valid?

◆ is_tail()

bool fchunk_info_t::is_tail ( ) const
inline

Is this a tail chunk?

◆ is_entry()

bool fchunk_info_t::is_entry ( ) const
inline

Is this an entry chunk?

◆ get_flags()

uint64 fchunk_info_t::get_flags ( ) const
inline

Function chunk flags Function flags.

◆ set_flags()

void fchunk_info_t::set_flags ( uint64 v)
inline

◆ is_far()

bool fchunk_info_t::is_far ( ) const
inline

Is a far function?

◆ does_return()

bool fchunk_info_t::does_return ( ) const
inline

Does function return?

◆ analyzed_sp()

bool fchunk_info_t::analyzed_sp ( ) const
inline

Has SP-analysis been performed?

◆ need_prolog_analysis()

bool fchunk_info_t::need_prolog_analysis ( ) const
inline

Needs prolog analysis?

◆ kdata_t

friend struct kdata_t
friend

Member Data Documentation

◆ flags_

uint64 fchunk_info_t::flags_ = 0
protected

The documentation for this class was generated from the following file:
  • /Users/geoffrey/ida-sdk/src/include/funcs.hpp