Commit Graph

68 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
3a5063330c IDAPython 1.4.0 - IDA Pro 5.7 support 2010-06-28 12:36:40 +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
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
gergely.erdelyi
6112217cab Updated copyright dates and email address 2010-04-26 20:13:11 +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
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
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
33c93df0cf GetDouble() and GetFloat() now use idaapi.get_many_bytes() 2010-03-05 10:59:23 +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
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
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
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
39d692c258 idc.py: Removed redundant definition of OpFloat() 2009-09-07 17:16:06 +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
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
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
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
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
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
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
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
76aa24fecd idc.py: Fixed a number of problems uncovered by pylint 2008-08-30 14:48:03 +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
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