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

All Samples(8)  |  Call(2)  |  Derive(2)  |  Import(4)
A function call. Attributes:
 - name (str): function name
 - arguments: list of FunctionArgument objects
 - restype (str, optional): result type
 - resvalue (optional): result value
 - argument_class: class used to build the new arguments

Methods:
 - format(): create a string representation of the call
 - addArgument(): add a new argument(more...)

src/s/e/segvault-HEAD/fusil/ptrace/ptrace/syscall/syscall_argument.py   segvault(Download)
from ptrace.syscall.posix_arg import (
    formatMmapProt, formatAccessMode, formatOpenMode, formatCloneFlags)
from ptrace.func_call import FunctionCall
from ptrace.syscall.socketcall import (setupSocketCall,
    formatOptVal, formatSockaddr, formatSockaddrInStruct)
                    return str(value)
            if name == "args":
                func_call = FunctionCall("socketcall", self.options)
                setupSocketCall(func_call, self.function.process, self.function[0], self.value)
                text = "<%s>" % func_call.format()

src/p/y/python-ptrace-0.7/ptrace/syscall/syscall_argument.py   python-ptrace(Download)
from ptrace.syscall.posix_arg import (
    formatMmapProt, formatAccessMode, formatOpenMode, formatCloneFlags)
from ptrace.func_call import FunctionCall
from ptrace.syscall.socketcall import (setupSocketCall,
    formatOptVal, formatSockaddr, formatSockaddrInStruct, formatSockaddrIn6Struct)
                    return str(value)
            if name == "args":
                func_call = FunctionCall("socketcall", self.options)
                setupSocketCall(func_call, self.function.process, self.function[0], self.value)
                text = "<%s>" % func_call.format()

src/s/e/segvault-HEAD/fusil/ptrace/ptrace/syscall/ptrace_syscall.py   segvault(Download)
from os import strerror
from itertools import izip
from ptrace.cpu_info import CPU_X86_64, CPU_POWERPC, CPU_I386
from ptrace.ctypes_tools import ulong2long, formatAddress, formatWordHex
from ptrace.func_call import FunctionCall
class PtraceSyscall(FunctionCall):
    def __init__(self, process, options, regs=None):
        FunctionCall.__init__(self, "syscall", options, SyscallArgument)
        self.process = process
        self.restype = "long"

src/p/y/python-ptrace-0.7/ptrace/syscall/ptrace_syscall.py   python-ptrace(Download)
from os import strerror
 
from ptrace.cpu_info import CPU_X86_64, CPU_POWERPC, CPU_I386, CPU_ARM
from ptrace.ctypes_tools import ulong2long, formatAddress, formatWordHex
from ptrace.func_call import FunctionCall
class PtraceSyscall(FunctionCall):
    def __init__(self, process, options, regs=None):
        FunctionCall.__init__(self, "syscall", options, SyscallArgument)
        self.process = process
        self.restype = "long"