Commit Graph

33 Commits

Author SHA1 Message Date
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
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
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
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
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
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
fb507d9f85 idautils.py: Added FuncItems() and DecodeInstruction(). Thanks to Elias Bachaalany for the patch. 2009-09-07 17:08:30 +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
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
1c4a240cfb Updated year in copyright strings 2009-04-26 18:28:59 +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
919b3d9987 idautils.py: Replaced GetInputFileMD5 with a call to the IDC version 2008-11-02 08:37: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
8bac109f3b idautils.py: Small refactoring 2008-08-30 16:10:00 +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
398ffdae3a Tabs converted to 4 spaces in Python sources. 2008-06-15 14:39:43 +00:00
gergely.erdelyi
9216f83c87 Updated year in copyright strings. 2008-06-15 10:03:53 +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
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
9b85915a48 Initial SVN commit of version 0.9.54 sources. 2007-10-20 07:03:51 +00:00