mirror of
https://github.com/cemu-project/idapython.git
synced 2024-11-28 03:54:18 +01:00
idc.py: Fixed SEARCH_UP in FindBinary()
This commit is contained in:
parent
754622e1c4
commit
375606cefd
@ -2094,7 +2094,8 @@ def FindBinary(ea, flag, str, radix=16):
|
|||||||
|
|
||||||
@note: Example: "41 42" - find 2 bytes 41h,42h (radix is 16)
|
@note: Example: "41 42" - find 2 bytes 41h,42h (radix is 16)
|
||||||
"""
|
"""
|
||||||
return idaapi.find_binary(ea, BADADDR, str, radix, flag)
|
endea = flag & 1 and idaapi.cvar.inf.maxEA or idaapi.cvar.inf.minEA
|
||||||
|
return idaapi.find_binary(ea, endea, str, radix, flag)
|
||||||
|
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user