mirror of
https://github.com/idapython/src
synced 2026-06-08 14:47:00 +00:00
IDAPython 1.3.0 / IDA Pro 5.6
(For older versions please use the 1.2.90 branch)
This commit is contained in:
+2
-8
@@ -113,18 +113,12 @@ sys.stdout = sys.stderr = MyStdOut()
|
||||
sys.argv = [ "" ]
|
||||
|
||||
# Have to make sure Python finds our modules
|
||||
if _idaapi.idainfo_is_64bit(_idaapi.cvar.inf):
|
||||
pythonDir = "python64"
|
||||
else:
|
||||
pythonDir = "python"
|
||||
sys.path.append(_idaapi.idadir(pythonDir))
|
||||
|
||||
print_banner()
|
||||
sys.path.append(_idaapi.idadir("python"))
|
||||
|
||||
#-----------------------------------------------------------
|
||||
# Import all the required modules
|
||||
#-----------------------------------------------------------
|
||||
from idaapi import Choose, get_user_idadir, cvar, Choose2
|
||||
from idaapi import Choose, get_user_idadir, cvar, Choose2, Appcall
|
||||
from idc import *
|
||||
from idautils import *
|
||||
import idaapi
|
||||
|
||||
Reference in New Issue
Block a user