fix for #608 using a local definition (#644)

This commit is contained in:
ggrieco-tob 2017-12-15 18:57:02 -03:00 committed by Mark Mossberg
parent 670076c855
commit 833ef4af2f

View File

@ -20,6 +20,9 @@ logger = logging.getLogger(__name__)
class RestartSyscall(Exception):
pass
class Deadlock(Exception):
pass
class SymbolicSyscallArgument(ConcretizeRegister):
def __init__(self, cpu, number, message='Concretizing syscall argument', policy='SAMPLED'):
reg_name = ['EBX', 'ECX', 'EDX', 'ESI', 'EDI', 'EBP' ][number]