crash.types.klist module
************************

exception crash.types.klist.KlistCorruptedError

   Bases: "CorruptedError"

crash.types.klist.klist_for_each(klist: Value) -> Iterable[Value]

   Iterate over a klist and yield each node

   Parameters:
      **klist** -- The list to iterate.  The value must be of type
      "struct klist" or "struct klist *".

   Yields:
      "gdb.Value" --

      The next node in the list.  The value is of type
         "struct klist_node".

crash.types.klist.klist_for_each_entry(klist: Value, gdbtype: Type, member: str) -> Iterable[Value]

   Iterate over a klist and yield each node's containing object

   Parameters:
      * **klist** -- The list to iterate.  The value must be of type
        "struct klist" or "struct klist *".

      * **gdbtype** -- The type of the containing object

      * **member** -- The name of the member in the containing object
        that corresponds to the klist_node

   Yields:
      "gdb.Value" -- The next node in the list.  The value is of the
      specified type.
