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

Characteristics of a breakpoint. More...

#include <dbg.hpp>

Public Member Functions

 bpt_t (void)
bool is_hwbpt (void) const
 Is hardware breakpoint?
bool enabled (void) const
 Is breakpoint enabled?
bool is_low_level (void) const
 Is bpt condition calculated at low level?
bool badbpt (void) const
 Failed to write bpt to process memory?
bool listbpt (void) const
 Include in the bpt list?
bool is_compiled (void) const
 Condition has been compiled?
bool is_active (void) const
 Written completely to process?
bool is_partially_active (void) const
 Written partially to process?
bool is_inactive (void) const
 Not written to process at all?
bool is_page_bpt (void) const
 Page breakpoint?
int get_size (void) const
 Get bpt size.
void set_abs_bpt (ea_t a)
 Set bpt location to an absolute address.
void set_src_bpt (const char *fn, int lineno)
 Set bpt location to a source line.
void set_sym_bpt (const char *sym, uval_t o)
 Set bpt location to a symbol.
void set_rel_bpt (const char *mod, uval_t o)
 Set bpt location to a relative address.
bool is_absbpt (void) const
 Is absolute address breakpoint?
bool is_relbpt (void) const
 Is relative address breakpoint?
bool is_symbpt (void) const
 Is symbolic breakpoint?
bool is_srcbpt (void) const
 Is source level breakpoint?
bool is_tracemodebpt (void) const
 Does breakpoint trace anything?
bool is_traceonbpt (void) const
 Is this a tracing breakpoint, and is tracing enabled?
bool is_traceoffbpt (void) const
 Is this a tracing breakpoint, and is tracing disabled?
bool set_trace_action (bool enable, int trace_types)
 Configure tracing options.
const char * get_cnd_elang () const
 Get the scripting language name for the condition string.
bool set_cnd_elang (const char *name)
 Set the scripting language name for the condition string.
size_t get_cnd_elang_idx () const
void set_cond (const char *cnd)
 Internal function.
bool eval_cond (ea_t ea, bool *fire, const char *bpt_type)
 Internal function.

Public Attributes

size_t cb
 size of this structure
qstring cndbody
 Condition as entered by the user.
bpt_location_t loc
 Location.
pid_t pid
 breakpoint process id
thid_t tid
 breakpoint thread id
ea_t ea
 Address, if known. For BPLT_SRC, index into an internal data struct.
bpttype_t type
 Breakpoint type.
int pass_count
 Number of times the breakpoint is hit before stopping (default is 0: stop always)
uint32 flags
 Breakpoint property bits
uint32 props
 Internal breakpoint properties
int size
 Size of the breakpoint (0 for software breakpoints)
int cndidx
 Internal number of the condition (<0-none)
inode_t bptid
 Internal breakpoint id.

Detailed Description

Characteristics of a breakpoint.

Constructor & Destructor Documentation

◆ bpt_t()

bpt_t::bpt_t ( void )
inline

Member Function Documentation

◆ is_hwbpt()

bool bpt_t::is_hwbpt ( void ) const
inline

Is hardware breakpoint?

◆ enabled()

bool bpt_t::enabled ( void ) const
inline

Is breakpoint enabled?

◆ is_low_level()

bool bpt_t::is_low_level ( void ) const
inline

Is bpt condition calculated at low level?

◆ badbpt()

bool bpt_t::badbpt ( void ) const
inline

Failed to write bpt to process memory?

◆ listbpt()

bool bpt_t::listbpt ( void ) const
inline

Include in the bpt list?

◆ is_compiled()

bool bpt_t::is_compiled ( void ) const
inline

Condition has been compiled?

◆ is_active()

bool bpt_t::is_active ( void ) const
inline

Written completely to process?

◆ is_partially_active()

bool bpt_t::is_partially_active ( void ) const
inline

Written partially to process?

◆ is_inactive()

bool bpt_t::is_inactive ( void ) const
inline

Not written to process at all?

◆ is_page_bpt()

bool bpt_t::is_page_bpt ( void ) const
inline

Page breakpoint?

◆ get_size()

int bpt_t::get_size ( void ) const
inline

Get bpt size.

◆ set_abs_bpt()

void bpt_t::set_abs_bpt ( ea_t a)
inline

Set bpt location to an absolute address.

◆ set_src_bpt()

void bpt_t::set_src_bpt ( const char * fn,
int lineno )
inline

Set bpt location to a source line.

◆ set_sym_bpt()

void bpt_t::set_sym_bpt ( const char * sym,
uval_t o )
inline

Set bpt location to a symbol.

◆ set_rel_bpt()

void bpt_t::set_rel_bpt ( const char * mod,
uval_t o )
inline

Set bpt location to a relative address.

◆ is_absbpt()

bool bpt_t::is_absbpt ( void ) const
inline

Is absolute address breakpoint?

◆ is_relbpt()

bool bpt_t::is_relbpt ( void ) const
inline

Is relative address breakpoint?

◆ is_symbpt()

bool bpt_t::is_symbpt ( void ) const
inline

Is symbolic breakpoint?

◆ is_srcbpt()

bool bpt_t::is_srcbpt ( void ) const
inline

Is source level breakpoint?

◆ is_tracemodebpt()

bool bpt_t::is_tracemodebpt ( void ) const
inline

Does breakpoint trace anything?

◆ is_traceonbpt()

bool bpt_t::is_traceonbpt ( void ) const
inline

Is this a tracing breakpoint, and is tracing enabled?

◆ is_traceoffbpt()

bool bpt_t::is_traceoffbpt ( void ) const
inline

Is this a tracing breakpoint, and is tracing disabled?

◆ set_trace_action()

bool bpt_t::set_trace_action ( bool enable,
int trace_types )
inline

Configure tracing options.

◆ get_cnd_elang()

const char * bpt_t::get_cnd_elang ( ) const
inline

Get the scripting language name for the condition string.

◆ set_cnd_elang()

bool bpt_t::set_cnd_elang ( const char * name)
inline

Set the scripting language name for the condition string.

Returns
false if too many languages were used

◆ get_cnd_elang_idx()

size_t bpt_t::get_cnd_elang_idx ( ) const
inline

◆ set_cond()

void bpt_t::set_cond ( const char * cnd)

Internal function.

◆ eval_cond()

bool bpt_t::eval_cond ( ea_t ea,
bool * fire,
const char * bpt_type )

Internal function.

Member Data Documentation

◆ cb

size_t bpt_t::cb

size of this structure

◆ cndbody

qstring bpt_t::cndbody

Condition as entered by the user.

◆ loc

bpt_location_t bpt_t::loc

Location.

◆ pid

pid_t bpt_t::pid

breakpoint process id

◆ tid

thid_t bpt_t::tid

breakpoint thread id

◆ ea

ea_t bpt_t::ea

Address, if known. For BPLT_SRC, index into an internal data struct.

◆ type

bpttype_t bpt_t::type

Breakpoint type.

◆ pass_count

int bpt_t::pass_count

Number of times the breakpoint is hit before stopping (default is 0: stop always)

◆ flags

◆ props

◆ size

int bpt_t::size

Size of the breakpoint (0 for software breakpoints)

◆ cndidx

int bpt_t::cndidx

Internal number of the condition (<0-none)

◆ bptid

inode_t bpt_t::bptid

Internal breakpoint id.


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