Commit Graph

43 Commits

Author SHA1 Message Date
elias.bachaalany
69d5c83d28 - IDA Pro 6.3 support
- The Functions() generator function now accepts function tail start parameter
- Added into idc.py: DbgRead/DbgWrite/SetTargetAssembler and stack pointer related functions
- Wrapped more type info related functions
2012-06-24 20:49:11 +00:00
skochinsky@gmail.com
1258fab948 IDAPython 1.5.3
- IDA Pro 6.2 support
- added set_idc_func_ex(): it is now possible to add new IDC functions using Python
- added visit_patched_bytes() (see ex_patch.py)
- added support for the multiline text input control in the Form class
- added support for the editable/readonly dropdown list control in the Form class
- added execute_sync() to register a function call into the UI message queue
- added execute_ui_requests() / check ex_uirequests.py
- added add_hotkey() / del_hotkey() to bind Python methods to hotkeys
- added register_timer()/unregister_timer(). Check ex_timer.py
- added the IDC (Arrays) netnode manipulation layer into idc.py
- added idautils.Structs() and StructMembers() generator functions
- removed the "Run Python Statement" menu item. IDA now has a unified dialog. 
  Use RunPlugin("python", 0) to invoke it manually.
- better error messages for script plugins, loaders and processor modules
- bugfix: Dbg_Hooks.dbg_run_to() was receiving wrong input
- bugfix: A few Enum related functions were not properly working in idc.py
- bugfix: GetIdaDirectory() and GetProcessName() were broken in idc.py
- bugfix: idaapi.get_item_head() / idc.ItemHead() were not working
2011-10-14 14:24:38 +00:00
elias.bachaalany
109158fabb - IDA Pro 6.1 support
- Added AskUsingForm() with embedded forms support (check ex_askusingform.py example and formchooser.py in the SDK)
- Added idautils.DecodePreviousInstruction() / DecodePrecedingInstruction()
- Added idc.BeginTypeUpdating() / EndTypeUpdating() for fast batch type update operations
- Added more IDP callbacks
- Added UI_Hooks with a few notification events
- Added idaapi.process_ui_action() / idc.ProcessUiAction()
- Added netnode.index() to get netnode number
- Better handling of ea_t values with bitwise negation
- Execute statement hotkey (Ctrl-F3), script timeout, and other options are now configurable with Python.cfg
- bugfix: idaapi.msg() / error() and warning() so they don't accept vararg
- bugfix: processor_t.id constants were incorrect
- bugfix: get_debug_names() was broken with IDA64
- Various bugfixes
2011-04-18 16:07:00 +00:00
ero.carrera
1bd58bda60 Fixed the docstring of DataRefsFrom/To. The example was copy-pasted from the CodeRefs* functions and included the "flow" argument. 2010-11-29 15:19:24 +00:00
elias.bachaalany
ac5d88a83b IDAPython 1.4.3:
- IDA 6.0 support
- Python CLI now prints expression evaluation result (no need to use print())
- Changed Alt-8 to Ctrl-F3 (because it conflicts with window switching key Alt+n)
- Added get_highlighted_identifier()
- Added PluginForm class to allow UI development with either PyQt4 or PySide
- Added idautils.Entries() to enumerate entrypoints
- idc / AddConst() was broken
- Minor fixes
2010-11-10 13:58:08 +00:00
elias.bachaalany
15a72289f7 fixed issue 54 2010-08-02 14:13:48 +00:00
elias.bachaalany
686e018bdc - updated debughook example
- wrapped print_type
- minor mods to idc.py
- added idautils.GetIdbDir
- added Names()
- added Modules()
- added idautils.peutils_t()
- simplecustviewer_t.GetLineNo() now returns -1 on failure
- idc.py / setregval: it was not possible to set register values > 0x7fffffff
2010-07-27 14:44:31 +00:00
elias.bachaalany
3a5063330c IDAPython 1.4.0 - IDA Pro 5.7 support 2010-06-28 12:36:40 +00:00
elias.bachaalany
5cede13626 graph.i: AddCommand() was broken
- updated the ex_graph.py sample
- updated function usage comments
2010-05-06 07:56:25 +00:00
gergely.erdelyi
6112217cab Updated copyright dates and email address 2010-04-26 20:13:11 +00:00
elias.bachaalany
ab81000187 - added GetInstructionList() and GetRegisterList() to idautils.py
- ignored processor_t and ph global variable
2010-03-22 14:21:43 +00:00
elias.bachaalany
06e8cad773 bugfix: IDAPython_extlang_create_object may cause exceptions to be reported to the running Python script if called with an invalid object name
minor changes: removed trailing spaces from files
2010-02-12 13:16:37 +00:00
gergely.erdelyi
5ec97ef3aa idautils.py: Functions() will return the correct list of functions even in large binaries 2010-02-04 20:29:50 +00:00
elias.bachaalany
01601d7eea idapython: it is possible to load IdaPython at an early stage and keep it loaded as long as IDA is running.
(One needs to pass the "--early-load" switch to build.py)
2009-10-29 11:37:24 +00:00
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
gergely.erdelyi
bbf6b2e547 idautils.py: Rearranged function order to be more logical 2009-10-17 20:46:51 +00:00
gergely.erdelyi
2edeeae88b idautils.py: Classes are all newskool. Fixed a pylint warning. 2009-10-17 20:43:09 +00:00
gergely.erdelyi
8e66e14588 idautils.py: Small whitespace and indentation fixes 2009-10-17 20:38:40 +00:00
gergely.erdelyi
9c80378afe idautils.py: Added missing self 2009-10-17 20:33:09 +00:00
elias.bachaalany
9917459559 idautils.py: Added Threads() iterator to enum threads 2009-10-05 10:35:27 +00:00
elias.bachaalany
9f4df6991f idautils.py: GetDataList() was not working with 64bit addresses 2009-09-24 10:42:09 +00:00
elias.bachaalany
45099f4ad4 idautils.py: added qword support for GetDataList() 2009-09-23 07:03:16 +00:00
elias.bachaalany
4e02442b9a idp.i: added AssembleLine() which is similar to assemble() but assembles into a buffer instead
idautils.py: added Assemble() utility function
2009-09-22 14:36:55 +00:00
elias.bachaalany
e27524cca5 idautils: added Strings class to enumerate strings (check ex_strings.py)
gdl.i: added FlowChart and BasicBlock classes (check examples / ex_gdl_qflow_chart)
idc.py : fixed MakeName() and AnalyseArea() (they were not returning return values)
2009-09-16 14:00:31 +00:00
gergely.erdelyi
e51eb69e3a idautils.py: Small docstring formatting fixes. 2009-09-13 17:37:43 +00:00
gergely.erdelyi
fb507d9f85 idautils.py: Added FuncItems() and DecodeInstruction(). Thanks to Elias Bachaalany for the patch. 2009-09-07 17:08:30 +00:00
gergely.erdelyi
5cb6044277 idautils.py: Clarified the note in Functions() 2009-07-12 14:35:13 +00:00
gergely.erdelyi
700dcef6cd idautils.py: Added notes about Functions()'s behaviour when a function has chunks in multiple segments 2009-07-12 14:31:03 +00:00
gergely.erdelyi
b5f3edf5fc idautils.py: Functions() now work properly if start is not inside a defined function 2009-06-25 16:11:17 +00:00
gergely.erdelyi
d26536abd4 idautils.py: Heads() and Functions() now used inf.minEA and inf.maxEA as default parameters
idautils.py: Heads() will not yield a head at 'start' if there is none
2009-04-27 18:20:02 +00:00
gergely.erdelyi
769e9d70f4 idautils.py: Many functions converted to generators 2009-04-27 18:05:14 +00:00
gergely.erdelyi
1c4a240cfb Updated year in copyright strings 2009-04-26 18:28:59 +00:00
gergely.erdelyi
e9f1e04519 idautils.py: CPU registers are now accessible as cpu.EAX (bot read and write). Patch by Igor Skochinsky 2009-01-27 17:37:10 +00:00
gergely.erdelyi
919b3d9987 idautils.py: Replaced GetInputFileMD5 with a call to the IDC version 2008-11-02 08:37:57 +00:00
gergely.erdelyi
358d85ac46 idaapi.py: Added sel_array()
idaapi.py: Renamed *Array to *_array 
idautils.py: Renamed *Array to *_array 
idc.py: Renamed *Array to *_array
2008-08-31 17:58:56 +00:00
gergely.erdelyi
8bac109f3b idautils.py: Small refactoring 2008-08-30 16:10:00 +00:00
gergely.erdelyi
40846fe7c9 idautils.py: Return copies of the xref class instances so they are storable 2008-06-16 18:47:02 +00:00
gergely.erdelyi
398ffdae3a Tabs converted to 4 spaces in Python sources. 2008-06-15 14:39:43 +00:00
gergely.erdelyi
9216f83c87 Updated year in copyright strings. 2008-06-15 10:03:53 +00:00
gergely.erdelyi
c4830f3e81 idautils.py: Added Xref*() functions for convenient xref handling. 2008-06-15 09:36:30 +00:00
gergely.erdelyi
d0e3a964d8 idautils.py: Added Chunk() to list function chunks. Thanks to Ero Carrera for the patch. 2008-06-13 20:29:05 +00:00
gergely.erdelyi
18b7a6b0ad idautils.py Do not import all symbols from idaapi to keep the namespace clean
init.py: Import the required symbols from idaapi
2008-04-12 09:08:11 +00:00
gergely.erdelyi
9b85915a48 Initial SVN commit of version 0.9.54 sources. 2007-10-20 07:03:51 +00:00