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

All Samples(25)  |  Call(25)  |  Derive(0)  |  Import(0)

src/t/o/toolbag-HEAD/toolbag/agent/dbg/vdb/extensions/windows.py   toolbag(Download)
 
        try:
            p = PE.peFromMemoryObject(t, base)
        except Exception, e:
            vdb.vprint('Error: %s (0x%.8x) %s' % (line, base, e))
            base = libs.get(name)
            try:
                p = PE.peFromMemoryObject(t, base)
            except Exception, e:
                vdb.vprint('Error: %s (0x%.8x) %s' % (name, base, e))
def showaslr(vdb, base, libname):
    t = vdb.getTrace()
    try:
        p = PE.peFromMemoryObject(t, base)
    except Exception, e:
 
        try:
            pobj = PE.peFromMemoryObject(t, base)
        except Exception, e:
            vdb.vprint('Error: %s (0x%.8x) %s' % (libname, base, e))

src/r/e/rebridge-HEAD/python_code/idabridge/vdb/vdb/extensions/windows.py   rebridge(Download)
 
        vdb.vprint("%s:" % line)
        p = PE.peFromMemoryObject(t, base)
        if p.IMAGE_LOAD_CONFIG != None:
            va = int(p.IMAGE_LOAD_CONFIG.SEHandlerTable)
        for name in lnames:
            base = libs.get(name)
            p = PE.peFromMemoryObject(t, base)
            enabled = False
            if p.IMAGE_LOAD_CONFIG != None:
def showaslr(vdb, base, libname):
    t = vdb.getTrace()
    p = PE.peFromMemoryObject(t, base)
    enabled = False
    c = p.IMAGE_NT_HEADERS.OptionalHeader.DllCharacteristics

src/v/d/vdb-fork-HEAD/vdb/extensions/windows.py   vdb-fork(Download)
 
        try:
            p = PE.peFromMemoryObject(t, base)
        except Exception, e:
            vdb.vprint('Error: %s (0x%.8x) %s' % (line, base, e))
            base = libs.get(name)
            try:
                p = PE.peFromMemoryObject(t, base)
            except Exception, e:
                vdb.vprint('Error: %s (0x%.8x) %s' % (name, base, e))
def showaslr(vdb, base, libname):
    t = vdb.getTrace()
    try:
        p = PE.peFromMemoryObject(t, base)
    except Exception, e:
 
        try:
            pobj = PE.peFromMemoryObject(t, base)
        except Exception, e:
            vdb.vprint('Error: %s (0x%.8x) %s' % (libname, base, e))

src/v/t/vtrace_scripts-HEAD/command_line/simpleAPI.py   vtrace_scripts(Download)
        base = p.IMAGE_NT_HEADERS.OptionalHeader.ImageBase
    else:
        p = PE.peFromMemoryObject(trace, base)
 
    ep = p.IMAGE_NT_HEADERS.OptionalHeader.AddressOfEntryPoint
    base = libBase[fileName.lower()]
 
    p = PE.peFromMemoryObject(trace, base)
 
    IMAGE_DIRECTORY_ENTRY_IMPORT          =1   # Import Directory
    base = libBase[fileName.lower()]
 
    p = PE.peFromMemoryObject(trace, base)
 
    IMAGE_DIRECTORY_ENTRY_IMPORT          =1   # Import Directory

src/v/t/vtrace_scripts-HEAD/simpleAPI.py   vtrace_scripts(Download)
        base = p.IMAGE_NT_HEADERS.OptionalHeader.ImageBase
    else:
        p = PE.peFromMemoryObject(trace, base)
 
    ep = p.IMAGE_NT_HEADERS.OptionalHeader.AddressOfEntryPoint
    base = libBase[fileName.lower()]
 
    p = PE.peFromMemoryObject(trace, base)
 
    IMAGE_DIRECTORY_ENTRY_IMPORT          =1   # Import Directory
    base = libBase[fileName.lower()]
 
    p = PE.peFromMemoryObject(trace, base)
 
    IMAGE_DIRECTORY_ENTRY_IMPORT          =1   # Import Directory

src/v/t/vtrace_scripts-HEAD/extensions/scripts/loadSymbols.py   vtrace_scripts(Download)
    return 2
  else:
    pe = PE.peFromMemoryObject(trace, baseaddr)
    oh = pe.IMAGE_NT_HEADERS.OptionalHeader
    deb = pe.IMAGE_NT_HEADERS.OptionalHeader.DataDirectory[PE.IMAGE_DIRECTORY_ENTRY_DEBUG]

src/t/o/toolbag-HEAD/toolbag/agent/dbg/vtrace/tools/iathook.py   toolbag(Download)
    ret = []
    baseaddr = trace.parseExpression(libname)
    pe = PE.peFromMemoryObject(trace, baseaddr)
    origs = {}
 

src/t/o/toolbag-HEAD/toolbag/agent/dbg/vtrace/platforms/win32.py   toolbag(Download)
    def parseWithPE(self, filename, baseaddr, normname):
        pe = PE.peFromMemoryObject(self, baseaddr)
        for rva, ord, name in pe.getExports():
            self.addSymbol(e_resolv.Symbol(name, baseaddr+rva, 0, normname))
 

src/t/o/toolbag-HEAD/toolbag/agent/dbg/vtrace/platforms/gdbstub.py   toolbag(Download)
 
        else:
            pe = PE.peFromMemoryObject(self, baseaddr)
            for rva, ord, name in pe.getExports():
                self.addSymbol(e_resolv.Symbol(name, baseaddr+rva, 0, normname))

src/r/e/rebridge-HEAD/python_code/idabridge/vdb/vtrace/platforms/win32.py   rebridge(Download)
    def parseWithPE(self, filename, baseaddr, normname):
        pe = PE.peFromMemoryObject(self, baseaddr)
        for rva, ord, name in pe.getExports():
            self.addSymbol(e_resolv.Symbol(name, baseaddr+rva, 0, normname))
 

  1 | 2  Next