Module index

Module ida_problems

IDA Plugin SDK API wrapper: problems

Global variables

var PR_ATTN
PR_ATTN = 12
var PR_BADSTACK
PR_BADSTACK = 11
var PR_COLLISION
PR_COLLISION = 15
var PR_DECIMP
PR_DECIMP = 16
var PR_DISASM
PR_DISASM = 7
var PR_END
PR_END = 17
var PR_FINAL
PR_FINAL = 13
var PR_HEAD
PR_HEAD = 8
var PR_ILLADDR
PR_ILLADDR = 9
var PR_JUMP
PR_JUMP = 6
var PR_MANYLINES
PR_MANYLINES = 10
var PR_NOBASE
PR_NOBASE = 1
var PR_NOCMT
PR_NOCMT = 4
var PR_NOFOP
PR_NOFOP = 3
var PR_NONAME
PR_NONAME = 2
var PR_NOXREFS
PR_NOXREFS = 5
var PR_ROLLED
PR_ROLLED = 14

Functions

def forget_problem(*args) ‑> bool
Remove an address from a problem list
forget_problem(type, ea) -> bool
type: problem list type (C++: problist_id_t)
ea: linear address (C++: ea_t)
return: success
def get_problem(*args) ‑> ea_t
Get an address from the specified problem list. The address is not removed from the list.
get_problem(type, lowea) -> ea_t
type: problem list type (C++: problist_id_t)
lowea: the returned address will be higher or equal than the
specified address (C++: ea_t)
return: linear address or BADADDR
def get_problem_desc(*args) ‑> qstring *
Get the human-friendly description of the problem, if one was provided to remember_problem.
get_problem_desc(t, ea) -> str
t: problem list type. (C++: problist_id_t)
ea: linear address. (C++: ea_t)
return: the message length or -1 if none
def get_problem_name(*args) ‑> char const *
Get problem list description.
get_problem_name(type, longname=True) -> char const *
type (C++: problist_id_t)
longname (C++: bool)
def is_problem_present(*args) ‑> bool
Check if the specified address is present in the problem list.
is_problem_present(t, ea) -> bool
t (C++: problist_id_t)
ea (C++: ea_t)
def remember_problem(*args) ‑> void
Insert an address to a list of problems. Display a message saying about the problem (except of 'PR_ATTN' , 'PR_FINAL' ) 'PR_JUMP' is temporarily ignored.
remember_problem(type, ea, msg=None)
type: problem list type (C++: problist_id_t)
ea: linear address (C++: ea_t)
msg: a user-friendly message to be displayed instead of the
default more generic one associated with the type of problem. Defaults to NULL. (C++: const char *)
def was_ida_decision(*args) ‑> bool
was_ida_decision(ea) -> bool
ea (C++: ea_t)