Change object_type parameter for object_from_symbol.

This commit is contained in:
Mike Auty
2019-08-14 20:50:42 +01:00
committed by ikelos
parent be27aab8ae
commit 5db6ade2ea
10 changed files with 14 additions and 14 deletions
@@ -27,7 +27,7 @@ class Check_trap_table(plugins.PluginInterface):
kernel = contexts.Module(self._context, self.config['darwin'], self.config['primary'], 0)
table = kernel.object_from_symbol(object_type = "mach_trap_table")
table = kernel.object_from_symbol(symbol_name = "mach_trap_table")
for i, ent in enumerate(table):
try: