Commit Graph

142 Commits

Author SHA1 Message Date
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
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
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
9917459559 idautils.py: Added Threads() iterator to enum threads 2009-10-05 10:35:27 +00:00
elias.bachaalany
d278419064 added Choose2() support 2009-09-24 14:20:29 +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
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
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
39d692c258 idc.py: Removed redundant definition of OpFloat() 2009-09-07 17:16:06 +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
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
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
e64fdf16b3 idc.py: GetFchunkAttr() now calls the IDC implementation and should return identical results 2009-07-12 15:05:49 +00:00
gergely.erdelyi
5cb6044277 idautils.py: Clarified the note in Functions() 2009-07-12 14:35:13 +00:00
gergely.erdelyi
700dcef6cd idautils.py: Added notes about Functions()'s behaviour when a function has chunks in multiple segments 2009-07-12 14:31:03 +00:00
gergely.erdelyi
b5f3edf5fc idautils.py: Functions() now work properly if start is not inside a defined function 2009-06-25 16:11:17 +00:00
gergely.erdelyi
f2e422d208 idc.py: Fixed a wrong copy & paste 2009-05-23 16:35:07 +00:00
gergely.erdelyi
d197df5653 idc.py: Added 64-bit versions of constants 2009-05-23 15:33:25 +00:00
gergely.erdelyi
3fbe778385 init.py: Banner now includes if the plugin is a 64-bit build 2009-05-23 15:33:03 +00:00
gergely.erdelyi
5a66395061 64-bit build support. Thanks to Ariel Shiftan and Itai Shaham for the initial patch. 2009-05-23 14:40:01 +00:00
gergely.erdelyi
b21e3b5230 idc.py: Added OpFloat()
idc.py: Stricter type check in SetRegValue(). Thanks to Igor Skochinsky for the patches.
2009-04-28 16:13:57 +00:00
gergely.erdelyi
d26536abd4 idautils.py: Heads() and Functions() now used inf.minEA and inf.maxEA as default parameters
idautils.py: Heads() will not yield a head at 'start' if there is none
2009-04-27 18:20:02 +00:00
gergely.erdelyi
769e9d70f4 idautils.py: Many functions converted to generators 2009-04-27 18:05:14 +00:00
gergely.erdelyi
864165a44c Added support for retrieving large local types 2009-04-27 17:38:17 +00:00
gergely.erdelyi
1c4a240cfb Updated year in copyright strings 2009-04-26 18:28:59 +00:00
gergely.erdelyi
252fcf8052 idc.py: A batch of docstring fixes. Thanks to Ange Albertini for the patch! 2009-04-25 17:55:37 +00:00
gergely.erdelyi
f4f5aa0441 idc.py: Fixed GetOpType() and GetOperandValue() to use decode_insn() so they are not destructive
idc.py: Fixed MakeCode() to use the new create_insn()
2009-03-22 15:27:46 +00:00
gergely.erdelyi
b961ced412 idc.py: Fixed GetDebuggerEvent(). 2009-03-02 17:23:47 +00:00
gergely.erdelyi
f703a5fb3c ScriptBox_instance renamed to scriptbox 2009-01-27 18:08:54 +00:00
gergely.erdelyi
b97846eeae idc.py: Block write access to read-only attributes
idc.py: Added debug event-related functions
idc.py: Added local type manipulation functions
idc.py: Patches by Igor Skochinsky
2009-01-27 17:48:50 +00:00
gergely.erdelyi
e9f1e04519 idautils.py: CPU registers are now accessible as cpu.EAX (bot read and write). Patch by Igor Skochinsky 2009-01-27 17:37:10 +00:00
gergely.erdelyi
00224b8e40 init.py: Reformatted plugin init banner 2009-01-25 19:03:46 +00:00
gergely.erdelyi
04492e420c idc.py: Merge from Ilfak. Implemented and fixed Eval(), SaveBase(), MakeData(), FirstSeg(), GetNextSeg(), SegCreate(), SetFChunkAttr(), SetLocalType(), GetFchunkReferer() 2009-01-25 16:32:58 +00:00
gergely.erdelyi
507ea15b7a idc.py: Removed FIXME from PatchByte()
idc.py: Removed trailing whitspaces
2009-01-25 14:12:59 +00:00
gergely.erdelyi
473bd07bdb idc.py: Many updates to bring the wrapper up to IDA 5.4 2009-01-22 18:57:20 +00:00
gergely.erdelyi
e0e7d9d56c idc.py: Fixed the name of GetMemberName(). Thanks forgot! 2008-12-21 10:52:45 +00:00
gergely.erdelyi
e8df46dc30 idc.py: Fixed high FF_* constants to be unsigned
idc.py: Fixed isByte() .. isAlign() functions
2008-12-10 14:55:11 +00:00
gergely.erdelyi
ca5ed24ff0 idc.py: SetColor() now updated the colours properly. Thanks to google at simon.user.lysator.liu.se for the report. 2008-11-16 16:05:00 +00:00
gergely.erdelyi
7d0f743143 idc.py: Implemented many debugging-related functions
idc.py: Misc fixes and cleanups
2008-11-16 15:22:09 +00:00
gergely.erdelyi
919b3d9987 idautils.py: Replaced GetInputFileMD5 with a call to the IDC version 2008-11-02 08:37:57 +00:00
gergely.erdelyi
c8f6c02147 idc.py: IDC wrapper merged with 5.3 changes. Not everything is implemented yet. 2008-10-11 13:33:26 +00:00
gergely.erdelyi
8d9869b527 idc.py: Fixed isLoaded() 2008-10-02 14:34:12 +00:00
gergely.erdelyi
70e5a9a55c idc.py: Fixed GetMemberStrId(). Thanks to nobodyzzz for the report. 2008-09-27 13:35:56 +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
b4e25f451a idc.py: Minor docstring fixes 2008-08-31 17:43:05 +00:00
gergely.erdelyi
565a80c62e idc.py: Fixed AskSelector() and FindSelector() 2008-08-31 17:36:41 +00:00
gergely.erdelyi
187f75d329 init.py: Minor cleanups 2008-08-30 17:39:07 +00:00
gergely.erdelyi
8bac109f3b idautils.py: Small refactoring 2008-08-30 16:10:00 +00:00
gergely.erdelyi
76aa24fecd idc.py: Fixed a number of problems uncovered by pylint 2008-08-30 14:48:03 +00:00
gergely.erdelyi
29187c6f53 init.py: Added watchdog reset to runscript() 2008-08-15 20:42:09 +00:00
gergely.erdelyi
e4d97c7261 idc.py: Removed duplicate MakeUnkn() 2008-08-15 19:46:15 +00:00
gergely.erdelyi
a73663582e idc.py: Added note to MakeData() exception 2008-08-02 20:00:34 +00:00
gergely.erdelyi
61796a5623 idc.py: Implemented GetString()
idc.py: Definition updated to match IDA 5.1 idc.idc
2008-08-02 19:44:42 +00:00
gergely.erdelyi
9450a528fd init.py: Implemented a simple watchdog to catch runaway scripts 2008-07-26 10:18:28 +00:00
ero.carrera@gmail.com
2a77375c0e Fixed missing reference to idaapi module on two usages of E_PREV and E_NEXT 2008-07-19 13:45:37 +00:00
gergely.erdelyi
04af0d20f5 init.py: Added isatty() to the dummy stdout file object 2008-06-25 21:02:31 +00:00
gergely.erdelyi
40846fe7c9 idautils.py: Return copies of the xref class instances so they are storable 2008-06-16 18:47:02 +00:00
gergely.erdelyi
0315608029 idc.py: Fixed GetOperandValue() 2008-06-15 16:53:55 +00:00
gergely.erdelyi
375606cefd idc.py: Fixed SEARCH_UP in FindBinary() 2008-06-15 16:22:37 +00:00
gergely.erdelyi
c6444d4ff5 idc.py: Implemented segment register support for {Get|Set}SegmentAttr() 2008-06-15 15:44:36 +00:00
gergely.erdelyi
0065fdce94 idc.py: Whitespace conversion fixes 2008-06-15 15:23:53 +00:00
gergely.erdelyi
398ffdae3a Tabs converted to 4 spaces in Python sources. 2008-06-15 14:39:43 +00:00
gergely.erdelyi
921d57098a idc.py: Implemented OpStroff() 2008-06-15 12:12:18 +00:00
gergely.erdelyi
a979882e50 idc.py: Implemented rotate_left() 2008-06-15 12:09:46 +00:00
gergely.erdelyi
ae694a52ba idc.py: Removed a typo 2008-06-15 10:13:27 +00:00
gergely.erdelyi
9216f83c87 Updated year in copyright strings. 2008-06-15 10:03:53 +00:00
gergely.erdelyi
e94a201897 idc.py: Deprecated XrefType() 2008-06-15 09:49:02 +00:00
gergely.erdelyi
c4830f3e81 idautils.py: Added Xref*() functions for convenient xref handling. 2008-06-15 09:36:30 +00:00
gergely.erdelyi
d0e3a964d8 idautils.py: Added Chunk() to list function chunks. Thanks to Ero Carrera for the patch. 2008-06-13 20:29:05 +00:00
gergely.erdelyi
f9e166c69c idc.py: Added missing idaapi. to GetMemberStrId(). Thanks to abuse007 for the report and fix. 2008-04-28 19:23:05 +00:00
gergely.erdelyi
6b739548fc idc.py: Implemented Compile() 2008-04-12 09:08:37 +00:00
gergely.erdelyi
18b7a6b0ad idautils.py Do not import all symbols from idaapi to keep the namespace clean
init.py: Import the required symbols from idaapi
2008-04-12 09:08:11 +00:00
gergely.erdelyi
4059c6ec72 idc.py: Fixed documentation for GetMarkedPos(), returns BADADDR on error 2008-04-05 10:26:43 +00:00
gergely.erdelyi
ef44c5f123 idc.py: Removed UNIMPLEMENTED marker from atoa() 2008-04-05 10:25:25 +00:00
gergely.erdelyi
fc25932632 Removed extra parameter from Get{First|Next}Member(). Thanks Rodrigo Bogossian Wang for the report. 2008-02-26 20:00:41 +00:00
gergely.erdelyi
bb83731275 Sources synced up to 0.9.55 2008-02-26 19:53:27 +00:00
gergely.erdelyi
7157ef2b3a Source drop for version 0.9.55
-This line, and those below, will be ignored--

M    python/idc.py
M    build.py
M    patches/ida51.patch
M    swig/idp.i
M    swig/bytes.i
M    swig/idaapi.i
M    BUILDING.txt
2007-12-06 13:56:20 +00:00
gergely.erdelyi
9b85915a48 Initial SVN commit of version 0.9.54 sources. 2007-10-20 07:03:51 +00:00