mirror of
https://github.com/idapython/src
synced 2026-06-08 14:47:00 +00:00
IDAPython for IDA 9.1
This commit is contained in:
@@ -4,7 +4,7 @@ A script that tries to determine the call stack
|
||||
|
||||
Run the application with the debugger, suspend the debugger, select a thread and finally run the script.
|
||||
|
||||
Copyright (c) 1990-2024 Hex-Rays
|
||||
Copyright (c) 1990-2025 Hex-Rays
|
||||
ALL RIGHTS RESERVED.
|
||||
"""
|
||||
import ida_ua
|
||||
@@ -169,7 +169,7 @@ def main():
|
||||
return
|
||||
|
||||
# get all debug namesp
|
||||
dn = ida_name.get_debug_names(ida_ida.cvar.inf.min_ea, ida_ida.cvar.inf.max_ea)
|
||||
dn = ida_name.get_debug_names(ida_ida.inf_get_min_ea(), ida_ida.inf_get_max_ea())
|
||||
# initiate a nearest name search (using debug names)
|
||||
nn = ida_name.NearestName(dn)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
A script to demonstrate how to send commands to the debugger and then parse and use the output in IDA
|
||||
|
||||
Copyright (c) 1990-2024 Hex-Rays
|
||||
Copyright (c) 1990-2025 Hex-Rays
|
||||
ALL RIGHTS RESERVED.
|
||||
|
||||
"""
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
This script shows how to send debugger commands and use the result in IDA
|
||||
|
||||
Copyright (c) 1990-2024 Hex-Rays
|
||||
Copyright (c) 1990-2025 Hex-Rays
|
||||
ALL RIGHTS RESERVED.
|
||||
|
||||
"""
|
||||
|
||||
@@ -13,7 +13,7 @@ The general syntax is:
|
||||
* To specify in which context the instructions should be assembled, pass asm_where=ea:
|
||||
find("jmp dword ptr [esp]", asm_where=here())
|
||||
|
||||
Copyright (c) 1990-2024 Hex-Rays
|
||||
Copyright (c) 1990-2025 Hex-Rays
|
||||
ALL RIGHTS RESERVED.
|
||||
"""
|
||||
from __future__ import print_function
|
||||
@@ -27,7 +27,6 @@ import ida_kernwin
|
||||
import ida_bytes
|
||||
import ida_ua
|
||||
import ida_ida
|
||||
import ida_search
|
||||
import ida_funcs
|
||||
|
||||
import idautils
|
||||
@@ -76,10 +75,10 @@ def FindInstructions(instr, asm_where=None):
|
||||
|
||||
# find all binary strings
|
||||
print("Searching for: [%s]" % bin_str)
|
||||
ea = ida_ida.cvar.inf.min_ea
|
||||
ea = ida_ida.inf_get_min_ea()
|
||||
ret = []
|
||||
while True:
|
||||
ea = ida_search.find_binary(ea, ida_idaapi.BADADDR, bin_str, 16, ida_search.SEARCH_DOWN)
|
||||
ea = ida_bytes.find_bytes(bin_str, ea, radix=16)
|
||||
if ea == ida_idaapi.BADADDR:
|
||||
break
|
||||
ret.append(ea)
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ A script that graphs all the exception handlers in a given process
|
||||
|
||||
It will be easy to see what thread uses what handler and what handlers are commonly used between threads
|
||||
|
||||
Copyright (c) 1990-2024 Hex-Rays
|
||||
Copyright (c) 1990-2025 Hex-Rays
|
||||
ALL RIGHTS RESERVED.
|
||||
"""
|
||||
from __future__ import print_function
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
This script shows how to send debugger commands and use the result in IDA
|
||||
|
||||
Copyright (c) 1990-2024 Hex-Rays
|
||||
Copyright (c) 1990-2025 Hex-Rays
|
||||
ALL RIGHTS RESERVED.
|
||||
|
||||
"""
|
||||
|
||||
@@ -2,7 +2,7 @@ from __future__ import print_function
|
||||
# -----------------------------------------------------------------------
|
||||
# VirusTotal IDA Plugin
|
||||
# By Elias Bachaalany <elias at hex-rays.com>
|
||||
# (c) Hex-Rays 2011-2024
|
||||
# (c) Hex-Rays 2011-2025
|
||||
#
|
||||
# Special thanks:
|
||||
# - VirusTotal team
|
||||
|
||||
Reference in New Issue
Block a user