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
source code
List of Discovered Object
Get(self, address, size, iterate=4, what='all')
Discover types on Memory Space
source code
List of Discovered Object
Discover(self, mem, address, iterate=4, what='all')
Discover types on Memory Space
source code
 
isUnicode(self, address, mem, max_size=8) source code
 
isString(self, address, mem, max_size=4) source code
 
isPointer(self, address, dword) source code
 
isDoubleLinkedList(self, address, mem) source code
 
isFormatString(self) source code
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