Commit Graph

152 Commits

Author SHA1 Message Date
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
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
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
elias.bachaalany
06e3f4f80f minor changes 2009-10-21 11:50:51 +00:00
elias.bachaalany
62b9382ee8 diskio.i: wrapped linput_t* related functions into loader_input_t python class 2009-10-21 11:49:41 +00:00
elias.bachaalany
608c8f0eb8 wrapped qfile related functions in a qfile_t class 2009-10-21 11:44:43 +00:00
elias.bachaalany
dac4a0629e minor changes 2009-10-21 08:49:53 +00:00
elias.bachaalany
a4627a6d36 ida.i: fixed %ignore so we ignore functions from the idainfo class 2009-10-21 08:49:38 +00:00
elias.bachaalany
b09eea4de8 idapython was not compiling since r239 (it was using an unpublished API) 2009-10-12 11:13:25 +00:00
elias.bachaalany
4191b186d9 kernwin.i: added code markers to choose2 wrapper code (for easier maintenance) 2009-10-05 10:34:29 +00:00
elias.bachaalany
5fe579530a 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
elias.bachaalany
e2a0ee8204 graph.i: fixed a small bug with gettext / background color
- removed some whitespaces
- added some code markers
2009-10-05 10:28:01 +00:00
elias.bachaalany
7ea3709021 graph.i: added graph support (works only with the GUI version) 2009-10-02 17:40:26 +00:00
elias.bachaalany
d278419064 added Choose2() support 2009-09-24 14:20:29 +00:00
elias.bachaalany
56f6dc02be kernwin.i: fixed a reference leak 2009-09-24 10:43:25 +00:00
elias.bachaalany
5e0deab556 typeinf.i: fixed %rename directive for load_til_header() 2009-09-22 15:39:50 +00:00
elias.bachaalany
8bf3e2054d kernwin.i: added add_menu_item to ignore list (it was being wrapped twice (as overloaded function)) 2009-09-22 15:38:57 +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
910f88f6b7 - added NearestName class 2009-09-17 11:48:18 +00:00
elias.bachaalany
3ea31d70c7 - wrapped get_debug_names() (check ex_debug_names.py) 2009-09-17 11:46:35 +00:00
gergely.erdelyi
38b7c484f3 gdl.i: Small typo and whitespace fixes 2009-09-16 19:01:45 +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
08ea62d8fa kernwin.i: Copying strings with strcpy is baad. Thanks Elias for the patch! 2009-09-13 17:36:05 +00:00
gergely.erdelyi
e48d6a99ff bytes.i: Added invalidate_dbgmem_config() and invalidate_dbgmem_contents(). Thanks to Elias Bachaalany for the patch. 2009-09-07 17:14:21 +00:00
gergely.erdelyi
5b0260c301 idaapi.i: Added typedef for error_t 2009-08-30 12:18:15 +00:00
gergely.erdelyi
a01b3fbde0 Removed few FIXMEs 2009-07-21 19:43:19 +00:00
gergely.erdelyi
2395fd6b1d funcs.i: Added get_sig_filename() and get_idasgn_title() 2009-07-21 19:31:06 +00:00
gergely.erdelyi
573ffccc4e idd.i: The char member is now converted, for real. No syntax errors. 2009-07-21 19:29:15 +00:00
gergely.erdelyi
b9f442ee1d idd.i: register_info_t.dtyp is now converted to an integer 2009-07-21 18:55:07 +00:00
gergely.erdelyi
b184767ba0 ua.i: insn_t char members are converted to integers 2009-07-21 18:45:58 +00:00
gergely.erdelyi
3eb4d4710a ua.i: op_t char member (n, offb, etc.) are now correctly converted to integers 2009-07-21 18:38:51 +00:00
gergely.erdelyi
dadf628feb Small batch of IDA 5.5 compatibility fixes. 2009-06-20 13:51:07 +00:00
gergely.erdelyi
7d468f3b94 Intentation consistency and misc formatting fixes 2009-05-23 16:35:50 +00:00
gergely.erdelyi
791fde6af7 Fixed netnode::getblob() 2009-05-04 19:07:51 +00:00
gergely.erdelyi
9b6a6eda86 netnode.i: netnode::hashval with the netnode_idx argument is now called hashval_idx to make the other version work 2009-05-04 19:06:16 +00:00
gergely.erdelyi
6d6f4f70fc Long-running scripts can now be cancelled (in the GUI version) . Thanks to Igor Skochinsky for the original patch. 2009-05-03 20:26:47 +00:00
gergely.erdelyi
864165a44c Added support for retrieving large local types 2009-04-27 17:38:17 +00:00
gergely.erdelyi
5876f4324f pro.i: Updated %ignore list 2009-04-26 18:25:57 +00:00
gergely.erdelyi
56476d656a %feature("compactdefaultargs") is now global
Added support for void * + len input/output buffers (many netnodes function use it)
2009-03-29 16:55:31 +00:00
gergely.erdelyi
265db07b35 Added type definition binary_output_or_none to accept void * output buffers with size 2009-03-29 16:54:13 +00:00
gergely.erdelyi
927ccec772 idp.i: Simplified the assemble() implementation 2009-03-22 15:16:45 +00:00
gergely.erdelyi
f352f77edf idp.i: Added assemble() function to idaapi. Thanks to Ero Carrera for the patch. 2009-03-22 14:58:07 +00:00
gergely.erdelyi
0b812262a7 typeinf.i: Added IDC wrappers for local type manipulations. Patch by Igor Skochinsky. 2009-01-27 17:46:33 +00:00
gergely.erdelyi
9a8f92ac52 funcs.i: Added wrapper get_fchunk_referer(). Patch by Igor Skochinsky. 2009-01-27 17:39:16 +00:00
gergely.erdelyi
d3ac331e36 idd.i: Wrapper functions to access debug_event_t. Patch by Igor Skochinsky 2009-01-27 17:27:54 +00:00
gergely.erdelyi
98240e2ee9 loader.i: Added database_flags 2009-01-25 16:35:31 +00:00
gergely.erdelyi
599d1c3c29 allins.i: Removed uneeded hack 2009-01-25 16:34:53 +00:00
gergely.erdelyi
0bc9d6477c expr.i: Merge from Ilfak: Wrapped calcexpr() and calc_idc_expr() 2009-01-25 16:34:08 +00:00
gergely.erdelyi
bb99a7076e idaapi.i: Added 64-bit BADADDR and BADSEL 2009-01-20 22:00:51 +00:00
gergely.erdelyi
b687523dd9 CLI interface is activated only for IDA 5.4 or newer 2009-01-20 22:00:05 +00:00
gergely.erdelyi
f59fbb02fe Added rudimentary support for the new interactive command-line in IDA 5.4 2009-01-19 20:38:59 +00:00
gergely.erdelyi
1da716734e Updated symbol ignores for SDK version 5.4 2009-01-19 19:41:24 +00:00
gergely.erdelyi
9fe2d0048b idaapi.i: Added BADNODE constant
idaapi.i: Added empty CASSERT define
idaapi.i: Added uval_array type
2009-01-19 19:40:14 +00:00
gergely.erdelyi
c03dd84eef kernwin.i: ulong changed to uint32 2009-01-19 19:35:20 +00:00
gergely.erdelyi
d05ef16b13 kernwin.i: %ignore statements moved to top
kernwin.i: Ignoring cli_t (for IDA 5.4)
2009-01-18 15:45:52 +00:00
gergely.erdelyi
ef61a9bac7 kernwin.i: Fixed modal chooser constant 2008-12-10 14:17:23 +00:00
gergely.erdelyi
caecd08a77 kernwin.i: Added workaround for Choose() sometimes crashing with non-modal choosers 2008-12-10 14:12:23 +00:00
gergely.erdelyi
97213fabb4 kernwin.i: Title is now correctly displayed
kernwin.i: Chooser properly lists non-string items also
2008-12-10 11:30:58 +00:00
gergely.erdelyi
23dcd0a165 Added separate interface file for idd.hpp 2008-11-02 18:34:05 +00:00
gergely.erdelyi
0b8d39d230 gdl.i: Removed setup_graph_subsystem() 2008-11-02 18:33:31 +00:00
gergely.erdelyi
b499990614 Wrapped gdl.hpp 2008-11-02 15:00:52 +00:00
gergely.erdelyi
ec4d2f7a06 idaapi.i: Added enable_extlang_python() to enable the Python external evaluator 2008-10-07 17:21:58 +00:00
gergely.erdelyi
91df782723 Ignoring definitions that break the build. 2008-10-04 12:38:29 +00:00
gergely.erdelyi
b6a6513dec Initial changes for the IDA 5.3 build. 2008-10-01 15:03: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
e3a0a26f16 idaapi.i: Added sel_array() 2008-08-31 17:54:16 +00:00
gergely.erdelyi
ab13c8b983 idaapi.i: Added sel_pointer() 2008-08-31 17:46:06 +00:00
gergely.erdelyi
d39feebe72 segment.i: Added getn_selector() and *_segment_translations() 2008-08-31 17:45:20 +00:00
gergely.erdelyi
3656585dd8 Implemented add_menu_item() and the required callbacks. Big thanks to Ross Kinder for the patch. 2008-08-17 17:45:06 +00:00
gergely.erdelyi
ea7daef522 netnode.i: Ignoring class WatchDog(): 2008-07-26 09:33:30 +00:00
gergely.erdelyi
353b4f9f92 nalt.i: Ignoring a couple of kernel-only symbols. 2008-07-22 18:23:32 +00:00
gergely.erdelyi
a0beaefd26 Initial wrapping of netnode.hpp. Still needs a lot of work.. 2008-07-22 18:23:05 +00:00
gergely.erdelyi
86d9408b93 Added interface file for allins.hpp 2008-07-17 18:49:35 +00:00
gergely.erdelyi
af27d1a6dd Wrapped allins.hpp, which contains all the instruction type codes 2008-07-17 18:46:46 +00:00
gergely.erdelyi
754622e1c4 segment.i: Added get_defsr() and set_defsr() 2008-06-15 16:07:51 +00:00
gergely.erdelyi
b500b41661 dbg.i: First implementation of debug event callback 2008-05-04 05:08:38 +00:00
gergely.erdelyi
c08d06ab82 expr.i: Ignoring optional _getname argument to CompileLine() 2008-04-12 10:11:14 +00:00
gergely.erdelyi
a24d2753ec expr.i: Fixed Compile* function to return proper error messages 2008-04-12 08:45:01 +00:00
gergely.erdelyi
bab52674ca expr.i: Added CompileEx() Compile() and CompileLine() 2008-04-12 07:30:46 +00:00
gergely.erdelyi
45b614fff0 idaapi.i: Added sval_pointer() type 2008-04-10 19:43:44 +00:00
gergely.erdelyi
bb83731275 Sources synced up to 0.9.55 2008-02-26 19:53:27 +00:00