Logo
  • idc
  • init
  • idaapi
  • idadex
  • ida_ua
  • ida_idp
  • ida_idc
  • ida_dbg
  • ida_idd
  • ida_ida
  • ida_gdl
  • ida_pro
  • ida_nalt
  • idautils
  • ida_xref
  • ida_fpro
  • ida_name
  • ida_ieee
  • ida_expr
  • ida_auto
  • ida_undo
  • ida_entry
  • ida_frame
  • ida_lines
  • ida_funcs
  • ida_fixup
  • ida_bytes
  • ida_merge
  • ida_moves
  • ida_range
  • ida_graph
  • ida_search
  • ida_allins
  • ida_loader
  • ida_idaapi
  • ida_diskio
  • ida_offset
  • ida_srclang
  • ida_tryblks
  • ida_strlist
  • ida_netnode
  • ida_segregs
  • ida_segment
  • ida_kernwin
  • ida_hexrays
  • ida_dirtree
  • ida_typeinf
  • ida_bitrange
  • ida_problems
  • ida_libfuncs
  • ida_registry
  • ida_mergemod
  • ida_regfinder
IDAPython references
  • ida_search
  • View page source

ida_search

Middle-level search functions.

They all are controlled by Search flags

Attributes

SWIG_PYTHON_LEGACY_BOOL

SEARCH_UP

search towards lower addresses

SEARCH_DOWN

search towards higher addresses

SEARCH_NEXT

skip the starting address when searching. this bit is useful only for search(), bin_search(), find_reg_access(). find_.. functions skip the starting address automatically.

SEARCH_CASE

case-sensitive search (case-insensitive otherwise)

SEARCH_REGEX

regular expressions in search string (supported only for the text search)

SEARCH_NOBRK

do not test if the user clicked cancel to interrupt the search

SEARCH_NOSHOW

do not display the search progress/refresh screen

SEARCH_IDENT

search for an identifier (text search). it means that the characters before and after the match cannot be is_visible_char().

SEARCH_BRK

return BADADDR if the search was cancelled.

SEARCH_USE

find_reg_access: search for a use (read access)

SEARCH_DEF

find_reg_access: search for a definition (write access)

SEARCH_USESEL

query the UI for a possible current selection to limit the search to

Functions

search_down(→ bool)

Is the SEARCH_DOWN bit set?

find_error(→ int *)

find_notype(→ int *)

find_unknown(→ ida_idaapi.ea_t)

find_defined(→ ida_idaapi.ea_t)

find_suspop(→ int *)

find_data(→ ida_idaapi.ea_t)

find_code(→ ida_idaapi.ea_t)

find_not_func(→ ida_idaapi.ea_t)

find_imm(→ int *)

find_text(→ ida_idaapi.ea_t)

find_reg_access(→ ida_idaapi.ea_t)

Module Contents

ida_search.SWIG_PYTHON_LEGACY_BOOL
ida_search.SEARCH_UP

search towards lower addresses

ida_search.SEARCH_DOWN

search towards higher addresses

ida_search.SEARCH_NEXT

skip the starting address when searching. this bit is useful only for search(), bin_search(), find_reg_access(). find_.. functions skip the starting address automatically.

ida_search.SEARCH_CASE

case-sensitive search (case-insensitive otherwise)

ida_search.SEARCH_REGEX

regular expressions in search string (supported only for the text search)

ida_search.SEARCH_NOBRK

do not test if the user clicked cancel to interrupt the search

ida_search.SEARCH_NOSHOW

do not display the search progress/refresh screen

ida_search.SEARCH_IDENT

search for an identifier (text search). it means that the characters before and after the match cannot be is_visible_char().

ida_search.SEARCH_BRK

return BADADDR if the search was cancelled.

ida_search.SEARCH_USE

find_reg_access: search for a use (read access)

ida_search.SEARCH_DEF

find_reg_access: search for a definition (write access)

ida_search.SEARCH_USESEL

query the UI for a possible current selection to limit the search to

ida_search.search_down(sflag: int) → bool

Is the SEARCH_DOWN bit set?

ida_search.find_error(ea: ida_idaapi.ea_t, sflag: int) → int *
ida_search.find_notype(ea: ida_idaapi.ea_t, sflag: int) → int *
ida_search.find_unknown(ea: ida_idaapi.ea_t, sflag: int) → ida_idaapi.ea_t
ida_search.find_defined(ea: ida_idaapi.ea_t, sflag: int) → ida_idaapi.ea_t
ida_search.find_suspop(ea: ida_idaapi.ea_t, sflag: int) → int *
ida_search.find_data(ea: ida_idaapi.ea_t, sflag: int) → ida_idaapi.ea_t
ida_search.find_code(ea: ida_idaapi.ea_t, sflag: int) → ida_idaapi.ea_t
ida_search.find_not_func(ea: ida_idaapi.ea_t, sflag: int) → ida_idaapi.ea_t
ida_search.find_imm(ea: ida_idaapi.ea_t, sflag: int, search_value: int) → int *
ida_search.find_text(start_ea: ida_idaapi.ea_t, y: int, x: int, ustr: str, sflag: int) → ida_idaapi.ea_t
ida_search.find_reg_access(out: reg_access_t, start_ea: ida_idaapi.ea_t, end_ea: ida_idaapi.ea_t, regname: str, sflag: int) → ida_idaapi.ea_t
Previous Next

© Copyright Hex-Rays.

Built with Sphinx using a theme provided by Read the Docs.