Minor style tweaks and mass changes across the codebase because of it.

This commit is contained in:
Mike Auty
2018-12-17 12:46:14 +00:00
parent 76e81eb478
commit e65a00894a
35 changed files with 72 additions and 125 deletions
@@ -94,8 +94,7 @@ class Check_syscall(plugins.PluginInterface):
md = capstone.Cs(capstone.CS_ARCH_X86, mode)
try:
func_addr = self.context.symbol_space.get_symbol(vmlinux.name + constants.BANG +
syscall_entry_func).address
func_addr = self.context.symbol_space.get_symbol(vmlinux.name + constants.BANG + syscall_entry_func).address
except exceptions.SymbolError as e:
# if we can't find the disassemble function then bail and rely on a different method
return 0