Package Libs :: Module libdatatype :: Class DataTypes
[hide private]
[frames] | no frames]

Class DataTypes

source code

Instance Methods [hide private]
  __init__(self, imm)
Data Discovery Class
List of Discovered Object Get(self, address, size, iterate=4, what='all')
Discover types on Memory Space
List of Discovered Object Discover(self, mem, address, iterate=4, what='all')
Discover types on Memory Space
  isUnicode(self, address, mem, max_size=4*2)
  isString(self, address, mem, max_size=4)
  isPointer(self, address, dword)
  isDoubleLinkedList(self, address, mem)
  isFormatString(self)

Method Details [hide private]

__init__(self, imm)
(Constructor)

source code 
Data Discovery Class
Parameters:
  • imm (Debugger Object) - Initialized debugged object

Get(self, address, size, iterate=4, what='all')

source code 
Discover types on Memory Space
Parameters:
  • address (DWORD) - RVA of the memory to analize
  • size (DWORD) - Size of memory to analize
  • iterate (Integer) - (Optional, Def: 4) Iterate through given bytes
  • what (STRING) - (Optional, Def: ALL) What to search for: all, pointers, strings, asciistrings, unicodestrings, doublelinkedlists, exploitable
Returns: List of Discovered Object
A list of Discovered Objects

Discover(self, mem, address, iterate=4, what='all')

source code 
Discover types on Memory Space
Parameters:
  • mem (Buffer) - Memory to discover
  • address (DWORD) - RVA of the memory
  • iterate (Integer) - (Optional, Def: 4) Iterate through given bytes
  • what (STRING) - (Optional, Def: ALL) What to search for: all, pointers, strings, asciistrings, unicodestrings, doublelinkedlists, exploitable
Returns: List of Discovered Object
A list of Discovered Objects

isUnicode(self, address, mem, max_size=4*2)

source code 
None

isString(self, address, mem, max_size=4)

source code 
None

isPointer(self, address, dword)

source code 
None

isDoubleLinkedList(self, address, mem)

source code 
None

isFormatString(self)

source code 
None