class documentation
class FileObject(Object):
A class representing a file 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 of Object
instead.
Method | __init__ |
Undocumented |
Method | __str__ |
Undocumented |
Property | current |
The current byte offset in the file. |
Property | device |
The device object pointed associated with this file if found, else `None`. |
Property | filename |
The filename of this file. |
Property | filename |
The filename of this file prefixed by the device's name. |
Property | raw |
The raw `_FILE_OBJECT` structure of this object. |
Constant | _BODY |
Undocumented |
Instance Variable | _current |
Undocumented |
Instance Variable | _device |
Undocumented |
Instance Variable | _filename |
Undocumented |
Instance Variable | _filename |
Undocumented |
Inherited from Object
:
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 | __ne__ |
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 `_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 |
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 __init__(self, ctx, header_address, header, type, type_name, body):
Undocumented
Parameters | |
ctx:_Context | Undocumented |
headerreven2.address._AbstractAddress | Undocumented |
header:reven2.types.StructInstance | Undocumented |
type:reven2.types.StructInstance | Undocumented |
typestr | Undocumented |
body:reven2.types.StructInstance | Undocumented |