Commit Graph

276 Commits

Author SHA1 Message Date
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
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
33c93df0cf GetDouble() and GetFloat() now use idaapi.get_many_bytes() 2010-03-05 10:59:23 +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
gergely.erdelyi
dd5273fee9 init.py: modules loaded by user scripts are now unloaded when the script finishes. No more reload() needed. Thanks to cbwhiz for the idea. 2010-02-04 20:58:38 +00:00
gergely.erdelyi
e1298031ac Alt-7 uses runscript() to run scripts 2010-02-04 20:44: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
ea4cd26a6a MakeArray and GetStringType: were using an old type name
GetLongPrm and SetLongPrm were not working with INF_PROCNAME
2010-01-27 09:52:22 +00:00
elias.bachaalany
a39ada9fb6 idapython menus would duplicate each time a database is opened 2010-01-18 10:56:36 +00:00
elias.bachaalany
d7c6f94f08 bugfix: SetRegEx and GetReg were only working with x86 segment registers 2010-01-18 10:55:33 +00:00
elias.bachaalany
277facf240 IDAPython 1.3.0 / IDA Pro 5.6
(For older versions please use the 1.2.90 branch)
2010-01-05 18:24:04 +00:00
elias.bachaalany
ab7a03431e idc.py: RefreshDebuggerMemory() was broken 2009-11-13 12:24:06 +00:00
elias.bachaalany
0e9f53eaad bytes.i: wrapped nextthat/prevthat() 2009-10-30 14:18:28 +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
7970f9696d added from_cobject method to both loader_input_t and qfile_t python classes 2009-10-29 11:31:53 +00:00
elias.bachaalany
b9465ab7f6 diskio.i: wrapped enumerate_files and enumerate_system_files 2009-10-21 11:51:31 +00:00