elias.bachaalany
197a94f5d7
Added PySide and PyQt examples
2010-11-10 14:05:29 +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
ero.carrera@gmail.com
faf5063818
Fixed a bug in GetIdbPath() when working in an IDA instance that has dealt with more than one IDB.
...
idaapi.cvar.database_idb seems to point to a realloc'ed buffer. When IDA is working on an IDB stored in a directory with a long path and a second IDB with a shorter path is loaded, the buffer will be overwritten with the new path to the IDB, which will end in "\x00" and the leftovers of the older, longer path will follow.
The problem with GetIdbPath() is that it returns the whole bufer, NULL and "leftovers" included, which leads to trouble in Python. Specifically some functions like os.path.splitext which will look for the extension starting from the end of the buffer and will return an invalid split.
The patch simply post-processes the contents of idaapi.cvar.database_idb returning a Python string with all characters up to the "\x00"
2010-09-23 18:57:37 +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
930b333d3b
bugfix: idaapi.enable_extlang_python() could not be called from init.py
2010-09-11 09:34:14 +00:00
elias.bachaalany
2d763844ed
idc.py: added GetManyBytes() and ItemHead()
2010-09-11 08:47:45 +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
2c33ce00c5
fixed issue 55
2010-08-14 15:43:09 +00:00
elias.bachaalany
4867b405a9
idc.py: Til2Idb() was broken
2010-08-10 11:45:36 +00:00
elias.bachaalany
f216eb9a6d
- IDAPython 1.4.2: should work now with Python 2.7
...
- Hide the Python plugin from the plugins menu (it already installs the run statement functionality in the File menu)
2010-08-10 11:44:59 +00:00
elias.bachaalany
9858aae998
updated AUTHORS files
2010-08-10 11:40:01 +00:00
elias.bachaalany
c1d87c0c7c
fix for the $PATH issue on OSX by setting proper home path (thanks to igorsk)
2010-08-10 11:36:40 +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
97a9805336
added command completion
2010-07-19 13:00:33 +00:00
elias.bachaalany
d76ccd7b1e
updated CHANGES.txt
2010-07-16 12:11:19 +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
4b1c3cd4c4
GetFchunkAttr() is reimplemented using idaapi rather than Eval() and IDC (issue 52)
2010-07-02 16:10:30 +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
f4b1a7d87c
handle_python_error() was leaking an object
2010-05-06 07:51:36 +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
ff7ab3f1dc
idc.py: added SendDbgCommand()
2010-05-05 13:05:53 +00:00
ero.carrera@gmail.com
f09375cf70
- bugfix: According to their docstrings a few functions should be returning 0 or -1 to indicate errors but were returning instead None
2010-04-27 13:42:41 +00:00
elias.bachaalany
0c6b9b31b9
graph.i: OnDeactivate() was not being called.
2010-04-27 13:28:26 +00:00
gergely.erdelyi
6112217cab
Updated copyright dates and email address
2010-04-26 20:13:11 +00:00
gergely.erdelyi
1157ea1487
kernwin.i: simplecustviewer_t removed from the non-Windows builds
2010-04-26 19:56:52 +00:00
gergely.erdelyi
1757dec387
idc.py: Default strtype argument in GetString no longer breaks the whole script
2010-04-26 19:51:58 +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
ecb4232040
Added default parameter to GetString()
2010-04-23 10:49:21 +00:00
ero.carrera@gmail.com
53d99a141a
- Fixed a really subtle bug in some of the uses of _IDC_SetAttr(). In a couple of locations the call is made as part of the condition of an IF. But _IDC_SetAttr() will always return None ( "return setattr(obj, attrmap[attroffs][1], value)" ), leading to the value being properly set in the instance but never updated in the IDB. Which led to mysterious behavior because of "vanishing" attributes
2010-04-12 17:12:23 +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
ee8fab6c4c
Changed version to 1.3.2 and uploaded a precompiled version for Windows and IDA Pro 5.6
2010-03-05 11:45:44 +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