IDAPython project for Hex-Ray's IDA Pro
Go to file
elias.bachaalany 99c60a82de idautils.py: added procregs to identify registers and modified DecodeInstruction().
It is now possible to identify the registers of a decoded instruction with:

cmd = DecodeInstruction(here())
if cmd[0].is_reg(proc_regs.eax): print "EAX is used"

or something like:

if cmd[1].is_reg(proc_regs.al): print "al is used"
2009-10-19 07:17:22 +00:00
docs Initial SVN commit of version 0.9.54 sources. 2007-10-20 07:03:51 +00:00
examples dbg.i/idd.i: wrapped some functions from the dbg/debugger_t class: get_manual_regions/dbg_get_memory_info/dbg_get_registers/dbg_get_thread_sreg_base/dbg_read_memory/dbg_write_memory/dbg_can_query 2009-10-05 10:30:50 +00:00
python idautils.py: added procregs to identify registers and modified DecodeInstruction(). 2009-10-19 07:17:22 +00:00
swig idapython was not compiling since r239 (it was using an unpublished API) 2009-10-12 11:13:25 +00:00
tools Added small script to generate function cross reference with epydoc 2008-06-25 21:03:38 +00:00
basetsd.h Initial SVN commit of version 0.9.54 sources. 2007-10-20 07:03:51 +00:00
build.py has_key() is slowly getting deprecated. Might make sense to stop using it. 2009-10-17 20:54:08 +00:00
BUILDING.txt Readme and changelog updates 2009-05-23 16:56:26 +00:00
CHANGES.txt Updated the changelog 2009-07-12 16:03:43 +00:00
COPYING.txt Updated year in copyright strings 2009-04-26 18:28:59 +00:00
python.cpp python.cpp: More places allow breaking of long-running scripts. Thanks Elias for the patch! 2009-09-13 17:37:04 +00:00
README.txt Readme and changelog updates 2009-05-23 16:56:26 +00:00
STATUS.txt graph.i: added graph support (works only with the GUI version) 2009-10-02 17:40:26 +00:00

----------------------------------------------------------
IDAPython - Python plugin for Interactive Disassembler Pro
----------------------------------------------------------

WHAT IS IDAPTYHON?
------------------

IDAPython is an IDA plugin which makes it possible to write scripts
for IDA in the Python programming language. IDAPython provides full
access to both the IDA API and any installed Python module.

Check the scripts in the examples directory to get an quick glimpse.


AVAILABILITY
------------

Latest stable versions of IDAPython are available from
  http://www.d-dome.net/idapython/

Development builds are available from
  http://code.google.com/p/idapython/


RESOURCES
---------

The full function cross-reference is readable online at
  http://www.d-dome.net/idapython/reference/

Bugs and enhancement requests should be submitted to
  http://code.google.com/p/idapython/issues/list

Mailing list for the project is hosted by Google Groups at
  http://groups.google.com/group/idapython


INSTALLATION FROM BINARIES
--------------------------

1, Install Python 2.5 or 2.6 from http://www.python.org/
2, Copy the python and python64 directories to the IDA install directory
3. Copy the plugins to the %IDADIR%\plugins\


USAGE
-----

The plugin has three hotkeys: 

 - Run script (Alt-9)
 - Execute Python statement(s) (Alt-8)
 - Run previously executed script again (Alt-7)

Batch mode execution:

Start IDA with the following command line options:

 -A -OIDAPython:yourscript.py file_to_work_on

If you want fully unattended execution mode, make sure your script
exits with a qexit() call.


User init file:

You can place your custom settings to a file called 'idapythonrc.py'
that should be placed to 

${HOME}/.idapro/

or 

C:\Documents and Settings\%USER%\Application Data\Hex-Rays\IDA Pro

The user init file is read and executed at the end of the init process.