2 from ..pp import PrettyPrintable
5 class KernelStruct(PrettyPrintable):
6 def __init__(self, gdb_inferior: gdb.Value, impl) -> None:
8 self._kstruct = gdb_inferior.cast(impl.get_type())
10 def get_struct_instance(self):
14 def get_type() -> gdb.Type :
15 return gdb.lookup_type("void").pointer()