MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / values

Method values

windows/winobject/object_manager.py:84–96  ·  view source on GitHub ↗

Return the list of objects in the current directory object. :rtype: [:class:`KernelObject`] -- A list of object .. note:: the :class:`KernelObject` must be of type ``Directory`` or it will raise :class:`~windows.generated_def.ntstatus.NtStatusException` wit

(self)

Source from the content-addressed store, hash-verified

82 return list(self)
83
84 def values(self):
85 """Return the list of objects in the current directory object.
86
87 :rtype: [:class:`KernelObject`] -- A list of object
88
89 .. note::
90
91 the :class:`KernelObject` must be of type ``Directory`` or
92 it will raise :class:`~windows.generated_def.ntstatus.NtStatusException` with
93 code :data:`~windows.generated_def.STATUS_OBJECT_TYPE_MISMATCH`
94 """
95 path = self.fullname
96 return [KernelObject(path, name, typename) for name, typename in self._directory_query_generator()]
97
98 def _open_directory(self):
99 path = self.fullname

Callers

nothing calls this directly

Calls 2

KernelObjectClass · 0.85

Tested by

no test coverage detected