Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(14)  |  Call(0)  |  Derive(0)  |  Import(14)
Common base class for all non-exit exceptions.

src/s/e/segvault-HEAD/fusil/fusil/mas/agent_list.py   segvault(Download)
from ptrace.error import PTRACE_ERRORS, writeError
 
class AgentList:
    def __init__(self):
        self.agents = []
    def _destroy(self, agent):
        try:
            agent.deactivate()
        except PTRACE_ERRORS, error:
            writeError(None, error, "Agent deinit error")

src/f/u/fusil-1.5/fusil/mas/agent_list.py   fusil(Download)
from ptrace.error import PTRACE_ERRORS, writeError
 
class AgentList:
    def __init__(self):
        self.agents = []
    def _destroy(self, agent):
        try:
            agent.deactivate()
        except PTRACE_ERRORS as error:
            writeError(None, error, "Agent deinit error")

src/s/e/segvault-HEAD/fusil/fusil/application.py   segvault(Download)
from fusil.mas.mta import MTA
from fusil.mas.univers import Univers
from ptrace.error import PTRACE_ERRORS, writeError
from fusil.application_logger import ApplicationLogger
from fusil.process.tools import limitMemory, beNice
        except KeyboardInterrupt:
            self.interrupt("Application cleanup interrupted!")
        except PTRACE_ERRORS, error:
            writeError(None, error, "AGENT DEINIT ERRORT")
            self.exitcode = 1
                self.interrupt("Fuzzer execution interrupted!")
                run = 0
            except PTRACE_ERRORS, error:
                writeError(self, error, "Fuzzer execution error")
                self.exitcode = 1
        except KeyboardInterrupt:
            self.interrupt("Project interrupted!")
        except PTRACE_ERRORS, error:
            writeError(self, error)
            self.exitcode = 1

src/s/e/segvault-HEAD/fusil/ptrace/ptrace/func_arg.py   segvault(Download)
from ptrace.error import PTRACE_ERRORS, writeError
from logging import getLogger
from ptrace.ctypes_tools import formatAddress
 
class FunctionArgument:
                else:
                    self.text = repr(self.value)
            except PTRACE_ERRORS, err:
                writeError(getLogger(), err,
                    "Format argument %s of function %s() value error"
                else:
                    text = repr(value)
            except PTRACE_ERRORS, err:
                writeError(getLogger(), err, "Format struct value error")
                text = repr(value)

src/s/e/segvault-HEAD/fusil/ptrace/ptrace/syscall/syscall_argument.py   segvault(Download)
from ptrace.cpu_info import CPU_WORD_SIZE
from ptrace.ctypes_tools import uint2int, formatWordHex, formatAddress
from ptrace.signames import signalName
from ctypes import c_int
from ptrace.error import PTRACE_ERRORS, writeError
                if text:
                    return text
            except PTRACE_ERRORS, err:
                writeError(getLogger(), err, "Warning: Format %r value error" % self, log_level=INFO)
            return formatAddress(self.value)

src/s/e/segvault-HEAD/fusil/fusil/mas/agent.py   segvault(Download)
from sys import stderr
from fusil.mas.message import Message
from fusil.mas.mailbox import Mailbox
from weakref import ref as weakref_ref
from ptrace.error import PTRACE_ERRORS, writeError
            self.error("Agent destruction interrupted!")
            self.send('application_interrupt')
        except PTRACE_ERRORS, error:
            writeError(self, error, "Agent destruction error")
        except:

src/s/e/segvault-HEAD/fusil/ptrace/gdb.py   segvault(Download)
from logging import getLogger, info, warning, error
from ptrace.version import VERSION, WEBSITE
from ptrace.error import PTRACE_ERRORS, writeError
from ptrace.binding import HAS_PTRACE_SINGLESTEP
from ptrace.disasm import HAS_DISASSEMBLER
        except KeyboardInterrupt:
            error("Interrupt debugger: quit!")
        except PTRACE_ERRORS, err:
            writeError(getLogger(), err, "Debugger error")
        self.process = None

src/s/e/segvault-HEAD/fusil/ptrace/strace.py   segvault(Download)
from ptrace.syscall.socketcall_constants import SOCKETCALL
from ptrace.compatibility import any
from ptrace.error import PTRACE_ERRORS, writeError
from ptrace.ctypes_tools import formatAddress
import re
        except KeyboardInterrupt:
            error("Interrupted.")
        except PTRACE_ERRORS, err:
            writeError(getLogger(), err, "Debugger error")
        self.debugger.quit()

src/f/u/fusil-1.5/fusil/application.py   fusil(Download)
from fusil.mas.mta import MTA
from fusil.mas.univers import Univers
from ptrace.error import PTRACE_ERRORS, writeError
from ptrace.os_tools import RUNNING_PYTHON3
from fusil.application_logger import ApplicationLogger
        except KeyboardInterrupt:
            self.interrupt("Application cleanup interrupted!")
        except PTRACE_ERRORS as error:
            writeError(None, error, "AGENT DEINIT ERRORT")
            self.exitcode = 1
        except KeyboardInterrupt:
            self.interrupt("Fuzzer execution interrupted!")
        except PTRACE_ERRORS as error:
            writeError(self, error, "Fuzzer execution error")
            self.exitcode = 1
        except KeyboardInterrupt:
            self.interrupt("Project interrupted!")
        except PTRACE_ERRORS as error:
            writeError(self, error)
            self.exitcode = 1

src/p/y/python-ptrace-0.7/ptrace/func_arg.py   python-ptrace(Download)
from ptrace.error import PTRACE_ERRORS, writeError
from logging import getLogger
from ptrace.ctypes_tools import formatAddress
 
class FunctionArgument(object):
                else:
                    self.text = repr(self.value)
            except PTRACE_ERRORS as err:
                writeError(getLogger(), err,
                    "Format argument %s of function %s() value error"
                else:
                    text = repr(value)
            except PTRACE_ERRORS as err:
                writeError(getLogger(), err, "Format struct value error")
                text = repr(value)

  1 | 2  Next