Package vstruct
[hide private]
[frames] | no frames]

Package vstruct

source code

Submodules [hide private]

Classes [hide private]
  VStruct
The VStruct class is the bases for all groups of primitive fields which define a "structure".
  VArray
  VUnion
Functions [hide private]
 
isVstructType(x) source code
 
resolve(impmod, nameparts)
Resolve the given (potentially nested) object from within a module.
source code
 
resolvepath(impmod, pathstr)
Resolve an object/module from within the given module by path name (ie.
source code
 
getStructure(sname)
Return an instance of the specified structure.
source code
 
getModuleNames() source code
 
getStructNames(modname) source code
Function Details [hide private]

resolvepath(impmod, pathstr)

source code 

Resolve an object/module from within the given module by path name (ie. 'foo.bar.baz')

Example: x = resolvepath(vstruct.defs, 'win32.SEH_SCOPETABLE')

getStructure(sname)

source code 

Return an instance of the specified structure. The structure name may be a definition that was added with addStructure() or a python path (ie. win32.TEB) of a definition from within vstruct.defs.