dissect.cstruct.types.pointer
#
Module Contents#
Classes#
Implements a pointer to some other type. |
|
Like the Instance class, but for structures referenced by a pointer. |
- class dissect.cstruct.types.pointer.Pointer(cstruct: Pointer.__init__.cstruct, target: dissect.cstruct.types.BaseType)#
Bases:
dissect.cstruct.types.RawType
Implements a pointer to some other type.
- __repr__() str #
Return repr(self).
- class dissect.cstruct.types.pointer.PointerInstance(type_: dissect.cstruct.types.BaseType, stream: BinaryIO, addr: int, ctx: Dict[str, Any])#
Like the Instance class, but for structures referenced by a pointer.
- __repr__() str #
Return repr(self).
- __str__() str #
Return str(self).
- __getattr__(attr: str) Any #
- __int__() int #
- __nonzero__() bool #
- __add__(other: Union[int, PointerInstance]) PointerInstance #
- __sub__(other: Union[int, PointerInstance]) PointerInstance #
- __mul__(other: Union[int, PointerInstance]) PointerInstance #
- __floordiv__(other: Union[int, PointerInstance]) PointerInstance #
- __mod__(other: Union[int, PointerInstance]) PointerInstance #
- __pow__(other: Union[int, PointerInstance]) PointerInstance #
- __lshift__(other: Union[int, PointerInstance]) PointerInstance #
- __rshift__(other: Union[int, PointerInstance]) PointerInstance #
- __and__(other: Union[int, PointerInstance]) PointerInstance #
- __xor__(other: Union[int, PointerInstance]) PointerInstance #
- __or__(other: Union[int, PointerInstance]) PointerInstance #
- __eq__(other: Union[int, PointerInstance]) bool #
Return self==value.
- dereference() Any #