Commit Graph

320 Commits

Author SHA1 Message Date
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
c21a932cec idc.py: Whitespace and indentation fixes 2009-10-17 21:12:15 +00:00
gergely.erdelyi
cb57938dcc idc.py: Fixed RunTo() and GetExceptionQty() 2009-10-17 21:08:36 +00:00
gergely.erdelyi
9d3fb35f87 has_key() is slowly getting deprecated. Might make sense to stop using it. 2009-10-17 20:54:08 +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
2f31ce656b build.py: now build.py will use the "IDA" environment variable (if it exists) to tell where the SDK is.
(for example if IDA=$HOME/idasdk, then build will use $IDA/include and $IDA/libXXXXX)
2009-10-16 12:07:18 +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
9917459559 idautils.py: Added Threads() iterator to enum threads 2009-10-05 10:35:27 +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
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
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
e51eb69e3a idautils.py: Small docstring formatting fixes. 2009-09-13 17:37:43 +00:00
gergely.erdelyi
5e93f49c97 python.cpp: More places allow breaking of long-running scripts. Thanks Elias for the patch! 2009-09-13 17:37:04 +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
39d692c258 idc.py: Removed redundant definition of OpFloat() 2009-09-07 17:16:06 +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
fb507d9f85 idautils.py: Added FuncItems() and DecodeInstruction(). Thanks to Elias Bachaalany for the patch. 2009-09-07 17:08:30 +00:00
gergely.erdelyi
5b0260c301 idaapi.i: Added typedef for error_t 2009-08-30 12:18:15 +00:00
gergely.erdelyi
02c6a5519e idc.py: IDC wrapper brought up to par with IDA 5.5 2009-08-30 12:17:50 +00:00
gergely.erdelyi
88f7e089aa init.py: Removed obsolete warning filtering 2009-08-30 11:15:41 +00:00
gergely.erdelyi
ab34ed6573 init.py: runscript() now works on Python 2.6 too. Thanks to Christian Blichmann for the patch. 2009-08-28 17:03:59 +00:00
gergely.erdelyi
013546b569 init.py: idaapi is now imported by default to the main namespace 2009-07-21 19:47:00 +00:00
gergely.erdelyi
a01b3fbde0 Removed few FIXMEs 2009-07-21 19:43:19 +00:00
gergely.erdelyi
1a4a43a389 structure.py: Use -1 instead of BADADDR is IDC mandates 2009-07-21 19:42:58 +00:00
gergely.erdelyi
860c96daf3 STATUS.txt: Updated the wrapping status 2009-07-21 19:41:47 +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
b22d629990 build.py: Version bumped to 1.2.90 2009-07-21 18:49:56 +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
9530fbacfa init.py: Replace non-printable characters in stdout/stderr going to the message window 2009-07-21 18:10:02 +00:00
gergely.erdelyi
9876c4ffa7 init.py: __file__ path is properly set for scripts run with Alt-9 2009-07-19 17:22:21 +00:00
gergely.erdelyi
b0d8723ccb idc.py: AddStrucMember() and SetMemberType() switched to native IDC implementation 2009-07-17 17:58:57 +00:00
gergely.erdelyi
09ead310b7 Updated the changelog 2009-07-12 16:03:43 +00:00