def
bin_search(
*
args)
-
>
"ea_t"
:
bin_search(start_ea, end_ea, image, imask, step, flags)
-
> ea_t
Search
for
a
set
of bytes
in
the program
@param
start_ea: linear address, start of
range
to search
@param
end_ea: linear address, end of
range
to search (exclusive)
@param
image: the
set
of bytes to search
for
@param
imask: a bitfield representing the mask
in
'image'
(can be
None
)
@param
step: either BIN_SEARCH_FORWARD,
or
BIN_SEARCH_BACKWARD
@param
flags: combination of BIN_SEARCH_
*
flags
@return
: the address of a match,
or
ida_idaapi.BADADDR
if
not
found
return
_ida_bytes.bin_search(
*
args)