Beispiel #1
0
 def enter(self, options):
     # syscall enter
     regs = self.process.getregs()
     self.syscall = PtraceSyscall(self.process, options, regs)
     self.name = self.syscall.name
     if (not self.ignore_callback) \
             or (not self.ignore_callback(self.syscall)):
         self.syscall.enter(regs)
     else:
         self.syscall = None
     self.next_event = "exit"
     return self.syscall