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

Class Decode

source code

UserList.UserList --+
                    |
                   Decode

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

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


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: UserList.UserList.__init__

__getitem__(self, i)
(Indexing operator)

source code 
None
Overrides: UserList.UserList.__getitem__

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

source code 
None
Overrides: UserList.UserList.__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