mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-06 17:57:38 +02:00
Mac: Remove unused code (LGTM)
This commit is contained in:
@@ -39,11 +39,6 @@ class Check_syscall(plugins.PluginInterface):
|
||||
nsysent = kernel.object_from_symbol(symbol_name = "nsysent")
|
||||
table = kernel.object_from_symbol(symbol_name = "sysent")
|
||||
|
||||
# smear help
|
||||
num_ents = min(nsysent, table.count)
|
||||
if num_ents > 1024:
|
||||
num_ents = 1024
|
||||
|
||||
for (i, ent) in enumerate(table):
|
||||
try:
|
||||
call_addr = ent.sy_call.dereference().vol.offset
|
||||
|
||||
Reference in New Issue
Block a user