Fix up recent Mac PagedInvalidAddress additions.

This commit is contained in:
Mike Auty
2019-09-27 11:21:49 +01:00
parent 81be3c0d66
commit c00b820f74
3 changed files with 12 additions and 13 deletions
+2 -2
View File
@@ -74,7 +74,7 @@ class PsList(interfaces.plugins.PluginInterface):
mac.MacUtilities.aslr_mask_symbol_table(context, darwin_symbols, layer_name)
kernel = contexts.Module(context, darwin_symbols, layer_name, 0)
kernel_as = context.layers[layer_name]
proc = kernel.object_from_symbol(symbol_name = "allproc").lh_first
@@ -92,7 +92,7 @@ class PsList(interfaces.plugins.PluginInterface):
try:
proc = proc.p_list.le_next.dereference()
except exceptions.PagedInvalidAddressException:
except exceptions.InvalidAddressException:
break
def run(self):