Commit Graph

135 Commits

Author SHA1 Message Date
elias.bachaalany
88aa875c55 bugfixes:
- ph_get_operand_info() would crash IDA sometimes
- idc.SetBptCond() was broken
- idc.GetFunctionCmt() was memory leaking
- Form.GetFieldValue() was failing for numeric controls
- Exceptions originating from the director classes will be displayed

And other minor mods...
2011-06-10 14:54:03 +00:00
elias.bachaalany
c29e1ef2da - added ph_get_operand_info() 2011-05-23 15:54:27 +00:00
elias.bachaalany
2327aada40 bugfix: dbg_bpt was called instead of dbg_trace for a DBG_Hooks class implementation
(old bug from version < 1.0)
2011-05-23 13:01:22 +00:00
elias.bachaalany
7e63ea0747 - bugfix: idaapi.del_menu_item() was failing to delete some menu items 2011-05-19 15:06:49 +00:00
elias.bachaalany
a12974b66c - bugfix: idc.GetString()/idaapi.get_ascii_contents()/idautils.Strings() were limited to MAXSTR string length
- minor mods
2011-05-19 15:06:31 +00:00
elias.bachaalany
c94f5c10bb bugfix: IDAPython: get_blob() was returning a buffer with at most MAXSPECSIZE bytes 2011-05-19 15:03:01 +00:00
elias.bachaalany
a52b90c771 bugfix: Previous implementation set_script_timeout() was causing the script wait dialog box to open and never close upon the invocation of callbacks (add_menu_item callback or other callbacks) that take longer than the timeout value. 2011-05-09 10:29:08 +00:00
elias.bachaalany
7179b2c654 - Choose2.Show(modal=True) was broken 2011-05-09 10:22:44 +00:00
elias.bachaalany
8375368d6d IDAPython 1.5.1
- Introduced the CLI '?' pseudo-command to retrieve doc strings
- Introduced the CLI '!' pseudo-command to shell execute a command
- Added IDP/assemble notification event
- bugfix: High 64 bit addresses were not parsed correctly in IDA64
- bugfix: AskUsingForm() C function was not wrapped by SWIG
- NextHead()/PrevHead() have optional 2nd parameter now
2011-04-21 14:23:46 +00:00
elias.bachaalany
58a002ce5b bugfix: High 64 bit addresses were not parsed correctly in IDA64 2011-04-18 16:14:58 +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
elias.bachaalany
63b22d00d5 - Fixed issue 59
- Fixed idaapi.msg() / error() and warning() so they don't accept vararg
- Fixed processor_t.id constants
- idaapi.BasicBlock and FlowChart are now new-style classes
2010-12-17 16:50:35 +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
1d2f1d1f07 Committed last updates to IDAPython 1.4.2 2010-10-07 09:47:04 +00:00
elias.bachaalany
80896bc1d9 Minor modifications:
- function documentation update
- removed some white spaces
2010-09-17 12:06:30 +00:00
elias.bachaalany
36c814331a Some Appcall methods would fail if passed addresses with value zero 2010-09-17 12:04:27 +00:00
elias.bachaalany
0f64f33981 Command completion was broken after last changes 2010-09-17 12:03:24 +00:00
elias.bachaalany
40d46c34a9 command completion will propose '(' for callables and '[' for iterables 2010-08-17 12:32:59 +00:00
elias.bachaalany
67c94b2f02 idaapi.dbg_get_registers() was crashing with registers that had a custom format 2010-08-17 12:31:36 +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
97a9805336 added command completion 2010-07-19 13:00:33 +00:00
elias.bachaalany
6b0dfd84c0 IDAPython 1.4.1:
- added AUTHORS.txt and changed the banner
- IDAPython_ExecFile() will print script execution errors to the log window too
- added 'ph' into idaapi. It is a replacement for idaapi.cvar.ph
- added runscript to init.py for backward compatibility
- added cli_t support
2010-07-16 12:07:49 +00:00
elias.bachaalany
8495e5205b - renamed pywraps related utility functions to PyW_
- refactored some code
- fixed some potential PyObject leaks
- added cli_t support
2010-07-13 16:43:53 +00:00
elias.bachaalany
5b59791156 added dbg_is_loaded() 2010-06-29 10:49:28 +00:00
elias.bachaalany
3a5063330c IDAPython 1.4.0 - IDA Pro 5.7 support 2010-06-28 12:36:40 +00:00
elias.bachaalany
5f2262fad9 fixed issue 51 2010-06-04 15:02:33 +00:00
elias.bachaalany
8ecfe8b218 dbghooks / dbg_request_error was broken 2010-06-04 15:01:51 +00:00
elias.bachaalany
7da6dd916c idd.i: dbg_can_query() was returning false when called from a bpt condition
idc.py: AskStr() was calling idaapi.askstr w/ wrong parameter
2010-05-13 09:36:56 +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
elias.bachaalany
69e35391a5 idd.i: added dbg_get_name() to get the current debugger's name 2010-05-05 13:11:36 +00:00
elias.bachaalany
0c6b9b31b9 graph.i: OnDeactivate() was not being called. 2010-04-27 13:28:26 +00:00
gergely.erdelyi
1157ea1487 kernwin.i: simplecustviewer_t removed from the non-Windows builds 2010-04-26 19:56:52 +00:00
elias.bachaalany
dc20f63143 fix [issue 48]: customviewer is now enabled for Windows builds only 2010-04-26 08:02:20 +00:00
elias.bachaalany
0dfdad1f42 Manually wrapped run_plugin() and load_plugin()
(No need to have swig generate a class for plugin_t)
2010-04-23 10:55:20 +00:00
elias.bachaalany
0acf7aa44a Applied patch (issue47) by humeafo 2010-04-23 10:52:53 +00:00
elias.bachaalany
3e0343daf5 bugfix: unpack_object_from_bv() and unpack_object_from_idb() were leaking objects 2010-04-23 10:51:49 +00:00
elias.bachaalany
4bd83af5a3 Custom Viewer:
- renamed customview to customviewer
- added GetCurrentWord()
2010-03-25 11:52:03 +00:00
elias.bachaalany
0c11d8f170 minor code style modification 2010-03-22 14:22:17 +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
729084a1ff added Custom Viewer support 2010-03-22 14:19:43 +00:00
elias.bachaalany
f57af01a21 bugfix: import enumeration did not handle imports by ordinal properly 2010-03-17 11:30:28 +00:00
elias.bachaalany
8e78513e91 - minor code cleanup
- updated CHANGES.txt
- nalt.i: forgot to release reference for callback result (in py_import_enum_cb())
2010-03-05 11:35:28 +00:00
elias.bachaalany
57d37a638a Added import enumeration support. Check exmples\ex_imports.py 2010-03-05 11:18:25 +00:00
elias.bachaalany
b935e24aba - some code cleanup
- added idaapi. struct_unpack / copy_bits / as_signed utility functions
- added pywraps.hpp utility header
2010-03-05 11:16:27 +00:00
elias.bachaalany
7d32ff30f0 Added get_many_bytes(ea, size) -> String | None 2010-03-05 10:20:42 +00:00
elias.bachaalany
42a2f7f630 bugfix: linput_t was accessing uninitialized variable in some cases 2010-02-16 15:21:49 +00:00
elias.bachaalany
8b7625f145 qfile_t._from_fp was broken 2010-02-15 11:58:44 +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
elias.bachaalany
e056f5670f bugfix: string conversion routine was returning size+1
this was true when only VT_STR existed
2010-02-12 12:56:14 +00:00
elias.bachaalany
bbabb3d6fa creating opaque types to be used with extlang may crash sometimes:
it is bad to keep a reference to add_idc_class() better use find_idc_class() instead
2010-02-12 12:45:10 +00:00