Package Libs :: Module libanalyze :: Class Decode
[hide private]
[frames] | no frames]

Class Decode

source code

       object --+                
                |                
    _abcoll.Sized --+            
                    |            
       object --+   |            
                |   |            
 _abcoll.Iterable --+            
                    |            
       object --+   |            
                |   |            
_abcoll.Container --+            
                    |            
     _abcoll.Sequence --+        
                        |        
  _abcoll.MutableSequence --+    
                            |    
            UserList.UserList --+
                                |
                               Decode

Nested Classes [hide private]

Inherited from _abcoll.Sized: __metaclass__

Instance Methods [hide private]
 
__init__(self, address)
Internal Information of the Analyzed Code
source code
 
__getitem__(self, i) source code
 
__setitem__(self, i, item) source code
BOOLEAN
isJmpDestination(self, i)
Check Whether or not the provided address is a destination for a jmp instruction
source code
BOOLEAN
isCallDestination(self, i)
Check Whether or not the provided address is a destination for a call instruction
source code
BOOLEAN
isCommand(self, i)
Check Whether or not the provided address has a command (regular opcode)
source code
BOOLEAN
isFunctionStart(self, i)
Check Whether or not the provided address is the begging of a Function
source code
BOOLEAN
isFunctionBody(self, i)
Check Whether or not the provided address is part of a Function
source code

Inherited from UserList.UserList: __add__, __cmp__, __contains__, __delitem__, __delslice__, __eq__, __ge__, __getslice__, __gt__, __iadd__, __imul__, __le__, __len__, __lt__, __mul__, __ne__, __radd__, __repr__, __rmul__, __setslice__, append, count, extend, index, insert, pop, remove, reverse, sort

Inherited from _abcoll.Sequence: __iter__, __reversed__

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__

Class Methods [hide private]

Inherited from _abcoll.Sized: __subclasshook__

Class Variables [hide private]

Inherited from UserList.UserList: __abstractmethods__, __hash__

Inherited from UserList.UserList (private): _abc_negative_cache, _abc_negative_cache_version, _abc_registry

Inherited from _abcoll.Sized (private): _abc_cache

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, address)
(Constructor)

source code 

Internal Information of the Analyzed Code

Parameters:
  • address (DWORD) - Address in the range of the analized code you want to retrieve
Overrides: object.__init__

__getitem__(self, i)
(Indexing operator)

source code 
Overrides: _abcoll.Sequence.__getitem__

__setitem__(self, i, item)
(Index assignment operator)

source code 
Overrides: _abcoll.MutableSequence.__setitem__

isJmpDestination(self, i)

source code 

Check Whether or not the provided address is a destination for a jmp instruction

Parameters:
  • i (DWORD) - Address to check
Returns: BOOLEAN
Whether or not the provided address is a destination for a jmp instruction

isCallDestination(self, i)

source code 

Check Whether or not the provided address is a destination for a call instruction

Parameters:
  • i (DWORD) - Address to check
Returns: BOOLEAN
Whether or not the provided address is a destination for a call instruction

isCommand(self, i)

source code 

Check Whether or not the provided address has a command (regular opcode)

Parameters:
  • i (DWORD) - Address to check
Returns: BOOLEAN
Whether or not the provided address a command (regular opcode)

isFunctionStart(self, i)

source code 

Check Whether or not the provided address is the begging of a Function

Parameters:
  • i (DWORD) - Address to check
Returns: BOOLEAN
Whether or not the provided address is the begging of a Function

isFunctionBody(self, i)

source code 

Check Whether or not the provided address is part of a Function

Parameters:
  • i (DWORD) - Address to check
Returns: BOOLEAN
Check Whether or not the provided address is part of a Function