IDAPython 8.4
Loading...
Searching...
No Matches
ida_problems Namespace Reference

Detailed Description

Functions that deal with the list of problems.

There are several problem lists. An address may be inserted to any list. The
kernel simply maintains these lists, no additional processing is done.

The problem lists are accessible for the user from the View->Subviews->Problems
menu item.

Addresses in the lists are kept sorted. In general IDA just maintains these
lists without using them during analysis (except PR_ROLLED).

Functions

"qstring *" get_problem_desc (*args)
 get_problem_desc(t, ea) -> str Get the human-friendly description of the problem, if one was provided to remember_problem.
 
"void" remember_problem (*args)
 remember_problem(type, ea, msg=None) Insert an address to a list of problems.
 
"ea_t" get_problem (*args)
 get_problem(type, lowea) -> ea_t Get an address from the specified problem list.
 
"bool" forget_problem (*args)
 forget_problem(type, ea) -> bool Remove an address from a problem list
 
"char const *" get_problem_name (*args)
 get_problem_name(type, longname=True) -> char const * Get problem list description.
 
"bool" is_problem_present (*args)
 is_problem_present(t, ea) -> bool Check if the specified address is present in the problem list.
 
"bool" was_ida_decision (*args)
 was_ida_decision(ea) -> bool
 

Variables

 cvar = _ida_problems.cvar
 
 PR_NOBASE = cvar.PR_NOBASE
 
 PR_NONAME = cvar.PR_NONAME
 
 PR_NOFOP = cvar.PR_NOFOP
 
 PR_NOCMT = cvar.PR_NOCMT
 
 PR_NOXREFS = cvar.PR_NOXREFS
 
 PR_JUMP = cvar.PR_JUMP
 
 PR_DISASM = cvar.PR_DISASM
 
 PR_HEAD = cvar.PR_HEAD
 
 PR_ILLADDR = cvar.PR_ILLADDR
 
 PR_MANYLINES = cvar.PR_MANYLINES
 
 PR_BADSTACK = cvar.PR_BADSTACK
 
 PR_ATTN = cvar.PR_ATTN
 
 PR_FINAL = cvar.PR_FINAL
 
 PR_ROLLED = cvar.PR_ROLLED
 
 PR_COLLISION = cvar.PR_COLLISION
 
 PR_DECIMP = cvar.PR_DECIMP
 
 PR_END = cvar.PR_END
 

Function Documentation

◆ forget_problem()

"bool" forget_problem ( * args)
Parameters
type(C++: problist_id_t) problem list type
ea(C++: ea_t) linear address
Returns
: success

◆ get_problem()

"ea_t" get_problem ( * args)

The address is not removed from the list.

Parameters
type(C++: problist_id_t) problem list type
lowea(C++: ea_t) the returned address will be higher or equal than the specified address
Returns
: linear address or BADADDR

◆ get_problem_desc()

"qstring *" get_problem_desc ( * args)
Parameters
t(C++: problist_id_t) problem list type.
ea(C++: ea_t) linear address.
Returns
: the message length or -1 if none

◆ get_problem_name()

"char const *" get_problem_name ( * args)
Parameters
type(C++: problist_id_t)
longname(C++: bool)

◆ is_problem_present()

"bool" is_problem_present ( * args)
Parameters
t(C++: problist_id_t)
ea(C++: ea_t)

◆ remember_problem()

"void" remember_problem ( * args)

Display a message saying about the problem (except of PR_ATTN,PR_FINAL) PR_JUMP is temporarily ignored.

Parameters
type(C++: problist_id_t) problem list type
ea(C++: ea_t) linear address
msg(C++: const char *) a user-friendly message to be displayed instead of the default more generic one associated with the type of problem. Defaults to nullptr.

◆ was_ida_decision()

"bool" was_ida_decision ( * args)
Parameters
eaea_t

Variable Documentation

◆ cvar

cvar = _ida_problems.cvar

◆ PR_ATTN

PR_ATTN = cvar.PR_ATTN

◆ PR_BADSTACK

PR_BADSTACK = cvar.PR_BADSTACK

◆ PR_COLLISION

PR_COLLISION = cvar.PR_COLLISION

◆ PR_DECIMP

PR_DECIMP = cvar.PR_DECIMP

◆ PR_DISASM

PR_DISASM = cvar.PR_DISASM

◆ PR_END

PR_END = cvar.PR_END

◆ PR_FINAL

PR_FINAL = cvar.PR_FINAL

◆ PR_HEAD

PR_HEAD = cvar.PR_HEAD

◆ PR_ILLADDR

PR_ILLADDR = cvar.PR_ILLADDR

◆ PR_JUMP

PR_JUMP = cvar.PR_JUMP

◆ PR_MANYLINES

PR_MANYLINES = cvar.PR_MANYLINES

◆ PR_NOBASE

PR_NOBASE = cvar.PR_NOBASE

◆ PR_NOCMT

PR_NOCMT = cvar.PR_NOCMT

◆ PR_NOFOP

PR_NOFOP = cvar.PR_NOFOP

◆ PR_NONAME

PR_NONAME = cvar.PR_NONAME

◆ PR_NOXREFS

PR_NOXREFS = cvar.PR_NOXREFS

◆ PR_ROLLED

PR_ROLLED = cvar.PR_ROLLED