The Volatility Framework
volatility.plugins.overlays.windows.windows._UNICODE_STRING Class Reference

Class representing a _UNICODE_STRING. More...

Inheritance diagram for volatility.plugins.overlays.windows.windows._UNICODE_STRING:
volatility.obj.CType volatility.obj.BaseObject

Public Member Functions

def v (self)
 If the claimed length of the string is acceptable, return a unicode string. More...
 
def dereference (self)
 
def proxied (self, _name)
 
def __nonzero__ (self)
 
def __format__ (self, formatspec)
 
def __str__ (self)
 
def __unicode__ (self)
 
def __len__ (self)
 
- Public Member Functions inherited from volatility.obj.CType
def __init__ (self, theType, offset, vm, name=None, members=None, struct_size=0, kwargs)
 This must be instantiated with a dict of members. More...
 
def size (self)
 
def __repr__ (self)
 
def d (self)
 
def v (self)
 When a struct is evaluated we just return our offset.
 
def m (self, attr)
 
def __getattr__ (self, attr)
 
def __setattr__ (self, attr, value)
 Change underlying members.
 
- Public Member Functions inherited from volatility.obj.BaseObject
def __init__ (self, theType, offset, vm, native_vm=None, parent=None, name=None, kwargs)
 
def obj_type (self)
 
def obj_vm (self)
 
def obj_offset (self)
 
def obj_parent (self)
 
def obj_name (self)
 
def obj_native_vm (self)
 
def set_native_vm (self, native_vm)
 Sets the native_vm.
 
def rebase (self, offset)
 
def proxied (self, attr)
 
def newattr (self, attr, value)
 Sets a new attribute after the object has been created.
 
def write (self, value)
 Function for writing the object back to disk.
 
def __getattr__ (self, attr)
 This is only useful for proper methods (not ones that start with __ )
 
def __setattr__ (self, attr, value)
 
def __nonzero__ (self)
 This method is called when we test the truth value of an Object. More...
 
def __eq__ (self, other)
 
def __ne__ (self, other)
 
def __hash__ (self)
 
def m (self, memname)
 
def is_valid (self)
 
def dereference (self)
 
def dereference_as (self, derefType, kwargs)
 
def cast (self, castString)
 
def v (self)
 Do the actual reading and decoding of this member.
 
def __format__ (self, formatspec)
 
def __str__ (self)
 
def __repr__ (self)
 
def d (self)
 Display diagnostic information.
 
def __getstate__ (self)
 This controls how we pickle and unpickle the objects.
 
def __setstate__ (self, state)
 

Additional Inherited Members

- Public Attributes inherited from volatility.obj.CType
 members
 
 struct_size
 
- Public Attributes inherited from volatility.obj.BaseObject
 obj_offset
 
 obj_vm
 

Detailed Description

Class representing a _UNICODE_STRING.

Adds the following behavior:

  • The Buffer attribute is presented as a Python string rather than a pointer to an unsigned short.
  • The str method returns the value of the Buffer.

Member Function Documentation

def volatility.plugins.overlays.windows.windows._UNICODE_STRING.v (   self)

If the claimed length of the string is acceptable, return a unicode string.

Otherwise, return a NoneObject.


The documentation for this class was generated from the following file: