class Object:
Known subclasses: reven2.preview.windows.object.FileObject, reven2.preview.windows.object.ProcessObject, reven2.preview.windows.object.ThreadObject, reven2.preview.windows.object.TokenObject, reven2.preview.windows.object.UnsupportedObject
A class representing a Windows object at a specific context.
Warning
This object is not meant to be constructed directly. Use reven2.preview.windows.Handle or the static methods instead.
| Static Method | from | 
    Retrieve the Object from the address of the `_OBJECT_HEADER`. | 
  
| Static Method | header | 
    Retrieve the address of the `_OBJECT_HEADER` from the address of the object. | 
| Method | __eq__ | 
    Undocumented | 
| Method | __hash__ | 
    Undocumented | 
| Method | __init__ | 
    Undocumented | 
| Method | __ne__ | 
    Undocumented | 
| Method | __str__ | 
    Undocumented | 
| Property | raw | 
    The raw `_OBJECT_HEADER_AUDIT_INFO` structure associated with this object. If the optional header isn't found, `None`. | 
| Property | raw | 
    The raw structure of the object's body if its type was known, else `None`. | 
| Property | raw | 
    The raw `_OBJECT_HEADER_CREATOR_INFO` structure associated with this object. If the optional header isn't found, `None`. | 
| Property | raw | 
    The raw `_OBJECT_HEADER_HANDLE_INFO` structure associated with this object. If the optional header isn't found, `None`. | 
| Property | raw | 
    The raw `_OBJECT_HEADER` structure associated with this object. | 
| Property | raw | 
    The raw `_OBJECT_HEADER_NAME_INFO` structure associated with this object. If the optional header isn't found, `None`. | 
| Property | raw | 
    The raw `_OBJECT_HEADER_PROCESS_INFO` structure associated with this object. If the optional header isn't found, `None`. | 
| Property | raw | 
    The raw `_OBJECT_HEADER_QUOTA_INFO` structure associated with this object. If the optional header isn't found, `None`. | 
| Property | raw | 
    The raw `_OBJECT_TYPE` structure associated with this object. | 
| Property | type | 
    The name of the type inside the `_OBJECT_TYPE` structure associated with this object. | 
| Method | _parse | 
    Undocumented | 
| Constant | _BODY | 
    Undocumented | 
| Instance Variable | _body | 
    Undocumented | 
| Instance Variable | _ctx | 
    Undocumented | 
| Instance Variable | _header | 
    Undocumented | 
| Instance Variable | _header | 
    Undocumented | 
| Instance Variable | _optional | 
    Undocumented | 
| Instance Variable | _type | 
    Undocumented | 
| Instance Variable | _type | 
    Undocumented | 
def from_header(ctx, object_header_address, expected_type=None):
Retrieve the Object from the address of the `_OBJECT_HEADER`.
| Parameters | |
ctx:_Context | The context used to retrieve the object. | 
objectreven2.address._AbstractAddress | The address of the `_OBJECT_HEADER`. | 
expected_Optional[ | A subclass of reven2.preview.windows.object.Object representing the expected type of the object to retrieve, if `None` the type won't be checked. | 
| Returns | |
Object | The Object. | 
def header_address_from_object(ctx, object_address):
Retrieve the address of the `_OBJECT_HEADER` from the address of the object.
| Parameters | |
ctx:_Context | The context used to retrieve the address of the header. | 
objectreven2.address.AddressType | The address of the object. | 
| Returns | |
reven2.address.AddressType | the address of the `_OBJECT_HEADER` from the address of the object. | 
reven2.preview.windows.object.FileObject, reven2.preview.windows.object.ProcessObject, reven2.preview.windows.object.ThreadObject, reven2.preview.windows.object.TokenObjectUndocumented
| Parameters | |
ctx:_Context | Undocumented | 
headerreven2.address._AbstractAddress | Undocumented | 
header:reven2.types.StructInstance | Undocumented | 
type:reven2.types.StructInstance | Undocumented | 
typestr | Undocumented | 
body:_Optional[ | Undocumented | 
reven2.preview.windows.object.FileObject, reven2.preview.windows.object.ProcessObject, reven2.preview.windows.object.ThreadObject, reven2.preview.windows.object.TokenObjectUndocumented
| Returns | |
str | Undocumented | 
The raw `_OBJECT_HEADER_AUDIT_INFO` structure associated with this object. If the optional header isn't found, `None`.
reven2.preview.windows.object.FileObject, reven2.preview.windows.object.ProcessObject, reven2.preview.windows.object.ThreadObject, reven2.preview.windows.object.TokenObjectThe raw structure of the object's body if its type was known, else `None`.
The raw `_OBJECT_HEADER_CREATOR_INFO` structure associated with this object. If the optional header isn't found, `None`.
The raw `_OBJECT_HEADER_HANDLE_INFO` structure associated with this object. If the optional header isn't found, `None`.
The raw `_OBJECT_HEADER_NAME_INFO` structure associated with this object. If the optional header isn't found, `None`.
The raw `_OBJECT_HEADER_PROCESS_INFO` structure associated with this object. If the optional header isn't found, `None`.
The raw `_OBJECT_HEADER_QUOTA_INFO` structure associated with this object. If the optional header isn't found, `None`.
type_name:
str =
    
  The name of the type inside the `_OBJECT_TYPE` structure associated with this object.
Undocumented
| Parameters | |
optionalint | Undocumented | 
optionalstr | Undocumented | 
| Returns | |
_Optional[ | Undocumented | 
_Optional[ str] =
    
  reven2.preview.windows.object.FileObject, reven2.preview.windows.object.ProcessObject, reven2.preview.windows.object.ThreadObject, reven2.preview.windows.object.TokenObjectUndocumented
| Value | 
 |