def __init__(self): Application.__init__(self) # Parse self.options self.parseOptions() # Setup output (log) self.setupLog()
def __init__(self, options, program, ignore_syscall_callback, syscall_callback, event_callback, quit_callback): Application.__init__(self) # Parse self.options self.options = options self.program=program self.processOptions() self.ignore_syscall_callback = ignore_syscall_callback self.syscall_callback = syscall_callback self.event_callback = event_callback self.quit_callback = quit_callback
def __init__(self, options, program, ignore_syscall_callback, syscall_callback, event_callback, quit_callback): Application.__init__(self) # Parse self.options self.options = options self.program = program self.processOptions() self.ignore_syscall_callback = ignore_syscall_callback self.syscall_callback = syscall_callback self.event_callback = event_callback self.quit_callback = quit_callback
def __init__(self): Application.__init__(self) # Parse self.options self.parseOptions() # Setup output (log) self.setupLog() self.blacklist = [ "setpgid",'rt_sigreturn'] self.handle = db_handle('sneakypassword', blacklist=self.blacklist) conn = self.handle.connect() self.handle.get_tables(conn) conn.close()
def __init__( self, program, envs, timeout, included_mods=[], ignored_mods=[], no_stdout=True, max_events=320, min_events=-10 * 320): Application.__init__(self) # no effect self.program = str(program) self.name = self.program.split("/")[-1] #self.outdir = str(outdir) self.no_stdout = no_stdout self.envs = envs self.timeout = timeout self.process = None self.included_mods = list(included_mods) self.ignored_mods = list(ignored_mods) self.pid = None self.mm = None self.timeouts = 0 self.max_events = max_events self.min_events = min_events # Parse ELF self.elf = ELF(self.program, plt=False) # if self.elf.GetType() <> "ELF 32-bit": # print "Only ELF 32-bit are supported to be executed." # exit(-1) self.modules = dict() self.last_signal = {} self.last_call = None self.crashed = False self.nevents = dict() self.events = [] self.binfo = dict()
def __init__(self, program, envs, timeout, included_mods=[], ignored_mods=[], no_stdout=True, max_events=320, min_events=-10 * 320): Application.__init__(self) # no effect self.program = str(program) self.name = self.program.split("/")[-1] #self.outdir = str(outdir) self.no_stdout = no_stdout self.envs = envs self.timeout = timeout self.process = None self.included_mods = list(included_mods) self.ignored_mods = list(ignored_mods) self.pid = None self.mm = None self.timeouts = 0 self.max_events = max_events self.min_events = min_events # Parse ELF self.elf = ELF(self.program, plt=False) # if self.elf.GetType() <> "ELF 32-bit": # print "Only ELF 32-bit are supported to be executed." # exit(-1) self.modules = dict() self.last_signal = {} self.last_call = None self.crashed = False self.nevents = dict() self.events = [] self.binfo = dict()
def __init__(self): Application.__init__(self) # Parse self.options self.parseOptions() # Setup output (log) self.setupLog() self.last_signal = {} # We assume user wants all possible information self.syscall_options = FunctionCallOptions( write_types=True, write_argname=True, write_address=True, ) # FIXME: Remove self.breaks! self.breaks = dict() self.followterms = []
def createChild(self, program): pid = Application.createChild(self, program) error("execve(%s, %s, [/* 40 vars */]) = %s" % ( program[0], program, pid)) return pid
def createChild(self, program): pid = Application.createChild(self, program) error("execve(%s, %s, [/* 40 vars */]) = %s" % (program[0], program, pid)) return pid