IDAPython 9.0
Loading...
Searching...
No Matches
bpt_location_t Class Reference

Proxy of C++ bpt_location_t class.

Inheritance diagram for bpt_location_t:

Public Member Functions

"bpt_loctype_t" type (self)
 type(self) -> bpt_loctype_t Get bpt type.
 
"bool" is_empty_path (self)
 is_empty_path(self) -> bool No path/filename specified? (BPLT_REL, BPLT_SRC)
 
"char const *" path (self)
 path(self) -> char const * Get path/filename (BPLT_REL, BPLT_SRC)
 
"char const *" symbol (self)
 symbol(self) -> char const * Get symbol name (BPLT_SYM)
 
"int" lineno (self)
 lineno(self) -> int Get line number (BPLT_SRC)
 
"uval_t" offset (self)
 offset(self) -> uval_t Get offset (BPLT_REL, BPLT_SYM)
 
"ea_t" ea (self)
 ea(self) -> ea_t Get address (BPLT_ABS)
 
 __init__ (self)
 init(self) -> bpt_location_t
 
"void" set_abs_bpt (self, "ea_t" a)
 set_abs_bpt(self, a) Specify an absolute address location.
 
"void" set_src_bpt (self, "char const *" fn, "int" _lineno)
 set_src_bpt(self, fn, _lineno) Specify a source level location.
 
"void" set_sym_bpt (self, "char const *" _symbol, "uval_t" _offset=0)
 set_sym_bpt(self, _symbol, _offset=0) Specify a symbolic location.
 
"void" set_rel_bpt (self, "char const *" mod, "uval_t" _offset)
 set_rel_bpt(self, mod, _offset) Specify a relative address location.
 
"int" compare (self, "bpt_location_t" r)
 compare(self, r) -> int Lexically compare two breakpoint locations.
 
"bool" __eq__ (self, "bpt_location_t" r)
 eq(self, r) -> bool
 
"bool" __ne__ (self, "bpt_location_t" r)
 ne(self, r) -> bool
 
"bool" __lt__ (self, "bpt_location_t" r)
 lt(self, r) -> bool
 
"bool" __gt__ (self, "bpt_location_t" r)
 gt(self, r) -> bool
 
"bool" __le__ (self, "bpt_location_t" r)
 le(self, r) -> bool
 
"bool" __ge__ (self, "bpt_location_t" r)
 ge(self, r) -> bool
 

Static Public Attributes

str info = property(_ida_dbg.bpt_location_t_info_get, _ida_dbg.bpt_location_t_info_set, doc=)
 
str index = property(_ida_dbg.bpt_location_t_index_get, _ida_dbg.bpt_location_t_index_set, doc=)
 
str loctype = property(_ida_dbg.bpt_location_t_loctype_get, _ida_dbg.bpt_location_t_loctype_set, doc=)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self)

Member Function Documentation

◆ __eq__()

"bool" __eq__ ( self,
"bpt_location_t" r )
Parameters
rbpt_location_t const &

◆ __ge__()

"bool" __ge__ ( self,
"bpt_location_t" r )
Parameters
rbpt_location_t const &

◆ __gt__()

"bool" __gt__ ( self,
"bpt_location_t" r )
Parameters
rbpt_location_t const &

◆ __le__()

"bool" __le__ ( self,
"bpt_location_t" r )
Parameters
rbpt_location_t const &

◆ __lt__()

"bool" __lt__ ( self,
"bpt_location_t" r )
Parameters
rbpt_location_t const &

◆ __ne__()

"bool" __ne__ ( self,
"bpt_location_t" r )
Parameters
rbpt_location_t const &

◆ compare()

"int" compare ( self,
"bpt_location_t" r )

Bpt locations are first compared based on type (i.e. BPLT_ABS < BPLT_REL). BPLT_ABS locations are compared based on their ea values. For all other location types, locations are first compared based on their string (path/filename/symbol), then their offset/lineno.

Parameters
r(C++: const bpt_location_t &) bpt_location_t const &

◆ ea()

"ea_t" ea ( self)

◆ is_empty_path()

"bool" is_empty_path ( self)

◆ lineno()

"int" lineno ( self)

◆ offset()

"uval_t" offset ( self)

◆ path()

"char const *" path ( self)

◆ set_abs_bpt()

"void" set_abs_bpt ( self,
"ea_t" a )
Parameters
a(C++: ea_t)

◆ set_rel_bpt()

"void" set_rel_bpt ( self,
"char const *" mod,
"uval_t" _offset )
Parameters
mod(C++: const char *) char const *
_offset(C++: uval_t)

◆ set_src_bpt()

"void" set_src_bpt ( self,
"char const *" fn,
"int" _lineno )
Parameters
fn(C++: const char *) char const *
_lineno(C++: int)

◆ set_sym_bpt()

"void" set_sym_bpt ( self,
"char const *" _symbol,
"uval_t" _offset = 0 )
Parameters
_symbol(C++: const char *) char const *
_offset(C++: uval_t)

◆ symbol()

"char const *" symbol ( self)

◆ type()

"bpt_loctype_t" type ( self)

Member Data Documentation

◆ index

str index = property(_ida_dbg.bpt_location_t_index_get, _ida_dbg.bpt_location_t_index_set, doc=)
static

◆ info

str info = property(_ida_dbg.bpt_location_t_info_get, _ida_dbg.bpt_location_t_info_set, doc=)
static

◆ loctype

str loctype = property(_ida_dbg.bpt_location_t_loctype_get, _ida_dbg.bpt_location_t_loctype_set, doc=)
static

Property Documentation

◆ thisown

thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

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