/vbox/src/VBox/Runtime/common/ldr/ |
H A D | ldrELF.cpp | 117 * @param enmArch Architecture specifier. 121 int rtldrELFOpen(PRTLDRREADER pReader, uint32_t fFlags, RTLDRARCH enmArch, PRTLDRMOD phLdrMod, PRTERRINFO pErrInfo) argument 150 rc = rtldrELF32Open(pReader, fFlags, enmArch, phLdrMod); 152 rc = rtldrELF64Open(pReader, fFlags, enmArch, phLdrMod);
|
H A D | ldrFile.cpp | 250 * @param enmArch CPU architecture specifier for the image to be loaded. 253 RTDECL(int) RTLdrOpen(const char *pszFilename, uint32_t fFlags, RTLDRARCH enmArch, PRTLDRMOD phLdrMod) argument 255 LogFlow(("RTLdrOpen: pszFilename=%p:{%s} fFlags=%#x enmArch=%d phLdrMod=%p\n", 256 pszFilename, pszFilename, fFlags, enmArch, phLdrMod)); 258 AssertMsgReturn(enmArch > RTLDRARCH_INVALID && enmArch < RTLDRARCH_END, ("%d\n", enmArch), VERR_INVALID_PARAMETER); 267 rc = RTLdrOpenWithReader(pReader, fFlags, enmArch, phLdrMod, NULL); 288 * @param enmArch CPU architecture specifier for the image to be loaded. 292 RTDECL(int) RTLdrOpenkLdr(const char *pszFilename, uint32_t fFlags, RTLDRARCH enmArch, PRTLDRMO argument [all...] |
H A D | ldrMemory.cpp | 263 RTDECL(int) RTLdrOpenInMemory(const char *pszName, uint32_t fFlags, RTLDRARCH enmArch, size_t cbImage, argument 267 LogFlow(("RTLdrOpenInMemory: pszName=%p:{%s} fFlags=%#x enmArch=%d cbImage=%#zx pfnRead=%p pfnDtor=%p pvUser=%p phLdrMod=%p\n", 268 pszName, pszName, fFlags, enmArch, cbImage, pfnRead, pfnDtor, pvUser, phLdrMod)); 280 AssertMsgReturnStmt(enmArch > RTLDRARCH_INVALID && enmArch < RTLDRARCH_END, ("%d\n", enmArch), 291 if (enmArch == RTLDRARCH_HOST) 293 enmArch = RTLDRARCH_AMD64; 295 enmArch = RTLDRARCH_X86_32; 297 enmArch [all...] |
H A D | ldrEx.cpp | 58 RTDECL(int) RTLdrOpenWithReader(PRTLDRREADER pReader, uint32_t fFlags, RTLDRARCH enmArch, PRTLDRMOD phMod, PRTERRINFO pErrInfo) argument 63 if (enmArch == RTLDRARCH_HOST) 65 enmArch = RTLDRARCH_AMD64; 67 enmArch = RTLDRARCH_X86_32; 69 enmArch = RTLDRARCH_WHATEVER; 124 rc = rtldrPEOpen(pReader, fFlags, enmArch, offHdr, phMod, pErrInfo); 130 rc = rtldrELFOpen(pReader, fFlags, enmArch, phMod, pErrInfo); 136 rc = rtldrLXOpen(pReader, fFlags, enmArch, offHdr, phMod, pErrInfo); 142 rc = rtldrLEOpen(pReader, fFlags, enmArch, phMod, pErrInfo); 148 rc = rtldrNEOpen(pReader, fFlags, enmArch, phMo [all...] |
H A D | ldrELFRelocatable.cpp.h | 1739 * @param enmArch Architecture specifier. 1742 static int RTLDRELF_NAME(Open)(PRTLDRREADER pReader, uint32_t fFlags, RTLDRARCH enmArch, PRTLDRMOD phLdrMod) argument 1761 pModElf->Core.enmArch = RTLDRARCH_X86_32; 1763 pModElf->Core.enmArch = RTLDRARCH_AMD64; 1789 if ( enmArch != RTLDRARCH_WHATEVER 1790 && enmArch != enmArchImage)
|
H A D | ldrkStuff.cpp | 899 * @param enmArch CPU architecture specifier for the image to be loaded. 903 int rtldrkLdrOpen(PRTLDRREADER pReader, uint32_t fFlags, RTLDRARCH enmArch, PRTLDRMOD phLdrMod, PRTERRINFO pErrInfo) argument 905 /* Convert enmArch to k-speak. */ 907 switch (enmArch) 986 switch (pMod->enmArch) 988 case KCPUARCH_X86_32: pNewMod->Core.enmArch = RTLDRARCH_X86_32; break; 989 case KCPUARCH_AMD64: pNewMod->Core.enmArch = RTLDRARCH_AMD64; break; 991 AssertMsgFailed(("%d\n", pMod->enmArch)); 992 pNewMod->Core.enmArch = RTLDRARCH_WHATEVER;
|
H A D | ldrPE.cpp | 3618 * @param enmArch Architecture specifier. 3623 int rtldrPEOpen(PRTLDRREADER pReader, uint32_t fFlags, RTLDRARCH enmArch, RTFOFF offNtHdrs, argument 3643 if ( enmArch != enmArchImage 3644 && ( enmArch != RTLDRARCH_WHATEVER 3704 pModPe->Core.enmArch = FileHdr.Machine == IMAGE_FILE_MACHINE_I386
|
/vbox/src/VBox/Runtime/common/dbg/ |
H A D | dbgmodldr.cpp | 193 static DECLCALLBACK(int) rtDbgModLdr_TryOpen(PRTDBGMODINT pMod, RTLDRARCH enmArch) argument 196 int rc = RTLdrOpen(pMod->pszImgFile, RTLDR_O_FOR_DEBUG, enmArch, &hLdrMod);
|
H A D | dbgmod.cpp | 786 RTLDRARCH enmArch, RTDBGCFG hDbgCfg) 796 AssertReturn(enmArch > RTLDRARCH_INVALID && enmArch < RTLDRARCH_END, VERR_INVALID_PARAMETER); 838 rc = pImg->pVt->pfnTryOpen(pDbgMod, enmArch); 889 rc = pDbg->pVt->pfnTryOpen(pDbgMod, enmArch); 1197 RTLDRARCH enmArch; member in struct:RTDBGMODMACHOARGS 1243 rc = pImg->pVt->pfnTryOpen(pDbgMod, pArgs->enmArch); 1330 static int rtDbgModFromMachOImageWorker(PRTDBGMODINT pDbgMod, RTLDRARCH enmArch, uint32_t cbImage, argument 1334 Args.enmArch = enmArch; 785 RTDbgModCreateFromImage(PRTDBGMOD phDbgMod, const char *pszFilename, const char *pszName, RTLDRARCH enmArch, RTDBGCFG hDbgCfg) argument 1365 RTDbgModCreateFromMachOImage(PRTDBGMOD phDbgMod, const char *pszFilename, const char *pszName, RTLDRARCH enmArch, uint32_t cbImage, uint32_t cSegs, PCRTDBGSEGMENT paSegs, PCRTUUID pUuid, RTDBGCFG hDbgCfg, uint32_t fFlags) argument [all...] |
H A D | dbgmoddbghelp.cpp | 382 static DECLCALLBACK(int) rtDbgModDbgHelp_TryOpen(PRTDBGMODINT pMod, RTLDRARCH enmArch) argument 384 NOREF(enmArch);
|
H A D | dbgmodnm.cpp | 480 static DECLCALLBACK(int) rtDbgModNm_TryOpen(PRTDBGMODINT pMod, RTLDRARCH enmArch) argument 482 NOREF(enmArch);
|
H A D | dbgmodcontainer.cpp | 709 static DECLCALLBACK(int) rtDbgModContainer_TryOpen(PRTDBGMODINT pMod, RTLDRARCH enmArch) argument 711 NOREF(pMod); NOREF(enmArch);
|
H A D | dbgmodcodeview.cpp | 2378 * @param enmArch The desired image architecture. 2473 uint32_t off, uint32_t cb, RTLDRARCH enmArch, const char *pszFilename) 2556 * @param enmArch The desired image architecture. 2560 RTLDRARCH enmArch, const char *pszFilename) 2565 rc = rtDbgModCvProbeCommon(pThis, &CvHdr, enmFileType, hFile, off, cb, enmArch, pszFilename); 2577 * @param enmArch The desired image architecture. 2579 static int rtDbgModCvProbeFile(PRTDBGMODINT pDbgMod, const char *pszFilename, RTLDRARCH enmArch) argument 2610 switch (enmArch) 2650 enmArch, pszFilename); 2690 cbFile - CvHdr.off, CvHdr.off, enmArch, pszFilenam 2472 rtDbgModCvProbeCommon(PRTDBGMODINT pDbgMod, PRTCVHDR pCvHdr, RTCVFILETYPE enmFileType, RTFILE hFile, uint32_t off, uint32_t cb, RTLDRARCH enmArch, const char *pszFilename) argument 2559 rtDbgModCvProbeFile2(PRTDBGMODINT pThis, RTCVFILETYPE enmFileType, RTFILE hFile, uint32_t off, uint32_t cb, RTLDRARCH enmArch, const char *pszFilename) argument 2701 rtDbgModCv_TryOpen(PRTDBGMODINT pMod, RTLDRARCH enmArch) argument [all...] |
H A D | dbgmoddwarf.cpp | 4742 static int rtDbgModDwarfTryOpenDbgFile(PRTDBGMODINT pDbgMod, PRTDBGMODDWARF pThis, RTLDRARCH enmArch) argument 4765 rc = pDbgInfoMod->pImgVt->pfnTryOpen(pDbgInfoMod, enmArch); 4787 static DECLCALLBACK(int) rtDbgModDwarf_TryOpen(PRTDBGMODINT pMod, RTLDRARCH enmArch) argument 4839 rtDbgModDwarfTryOpenDbgFile(pMod, pThis, enmArch);
|
/vbox/src/VBox/Runtime/tools/ |
H A D | RTLdrFlt.cpp | 164 RTLDRARCH enmArch = RTLDRARCH_WHATEVER; local 196 enmArch = RTLDRARCH_X86_32; 200 enmArch = RTLDRARCH_AMD64; 204 enmArch = RTLDRARCH_WHATEVER; 257 rc = RTDbgModCreateFromImage(&hMod, pszModule, NULL, enmArch, hDbgCfg);
|
/vbox/src/VBox/Runtime/include/internal/ |
H A D | dbgmod.h | 77 * @param enmArch The desired architecture. 79 DECLCALLBACKMEMBER(int, pfnTryOpen)(PRTDBGMODINT pMod, RTLDRARCH enmArch); 281 * @param enmArch The desired architecture. 283 DECLCALLBACKMEMBER(int, pfnTryOpen)(PRTDBGMODINT pMod, RTLDRARCH enmArch); 579 RTLDRARCH enmArch; member in struct:RTDBGMODDEFERRED::__anon16599::__anon16603
|
H A D | ldr.h | 431 RTLDRARCH enmArch; member in struct:RTLDRMODINTERNAL 491 int rtldrPEOpen(PRTLDRREADER pReader, uint32_t fFlags, RTLDRARCH enmArch, RTFOFF offNtHdrs, PRTLDRMOD phLdrMod, PRTERRINFO pErrInfo); 492 int rtldrELFOpen(PRTLDRREADER pReader, uint32_t fFlags, RTLDRARCH enmArch, PRTLDRMOD phLdrMod, PRTERRINFO pErrInfo); 493 int rtldrkLdrOpen(PRTLDRREADER pReader, uint32_t fFlags, RTLDRARCH enmArch, PRTLDRMOD phLdrMod, PRTERRINFO pErrInfo); 494 /*int rtldrLXOpen(PRTLDRREADER pReader, uint32_t fFlags, RTLDRARCH enmArch, RTFOFF offLX, PRTLDRMOD phLdrMod); 495 int rtldrMachoOpen(PRTLDRREADER pReader, uint32_t fFlags, RTLDRARCH enmArch, RTFOFF offSomething, PRTLDRMOD phLdrMod);*/
|
/vbox/src/VBox/VMM/VMMR3/ |
H A D | DBGFAddrSpace.cpp | 946 * @param enmArch The desired architecture, use RTLDRARCH_WHATEVER if 953 VMMR3DECL(int) DBGFR3AsLoadImage(PUVM pUVM, RTDBGAS hDbgAs, const char *pszFilename, const char *pszModName, RTLDRARCH enmArch, argument 969 int rc = RTDbgModCreateFromImage(&hDbgMod, pszFilename, pszModName, enmArch, pUVM->dbgf.s.hDbgCfg);
|
/vbox/src/VBox/Runtime/r0drv/nt/ |
H A D | ntBldSymDb.cpp | 103 MYARCH enmArch; member in struct:MYSET 280 const char *pszArch = pSet->enmArch == MYARCH_AMD64 ? "AMD64" : "X86"; 342 static RTEXITCODE saveStructures(PRTNTSDBOSVER pOsVerInfo, MYARCH enmArch, const char *pszPdb) argument 363 pSet->enmArch = enmArch; 387 if (iDiff > 0 || pInsertBefore->enmArch > pSet->enmArch) 896 MYARCH enmArch; 898 RTEXITCODE rcExit = FigurePdbVersionInfo(pszPdb, &OsVerInfo, &enmArch); 931 rcExit = saveStructures(&OsVerInfo, enmArch, pszPd [all...] |
/vbox/src/VBox/Debugger/ |
H A D | DBGCCommands.cpp | 1390 RTLDRARCH enmArch = RTLDRARCH_WHATEVER; local 1392 enmArch = RTLDRARCH_X86_32; 1394 enmArch = RTLDRARCH_AMD64; 1400 rc = DBGFR3AsLoadImage(pUVM, pDbgc->hDbgAs, pszFilename, pszModName, enmArch, &ModAddress, NIL_RTDBGSEGIDX, 0 /*fFlags*/);
|
/vbox/src/VBox/Debugger/testcase/ |
H A D | tstDBGCStubs.cpp | 132 VMMR3DECL(int) DBGFR3AsLoadImage(PUVM pUVM, RTDBGAS hAS, const char *pszFilename, const char *pszModName, RTLDRARCH enmArch, argument
|
/vbox/src/VBox/HostDrivers/Support/win/ |
H A D | SUPHardenedVerifyProcess-win.cpp | 2191 RTLDRARCH enmArch = fFlags & SUPHNTVI_F_RC_IMAGE ? RTLDRARCH_X86_32 : RTLDRARCH_HOST; local 2193 enmArch = RTLDRARCH_WHATEVER; 2194 rc = RTLdrOpenWithReader(&pNtViRdr->Core, RTLDR_O_FOR_VALIDATION, enmArch, &hLdrMod, pErrInfo);
|
H A D | SUPHardenedVerifyImage-win.cpp | 1239 RTLDRARCH enmArch = fFlags & SUPHNTVI_F_RC_IMAGE ? RTLDRARCH_X86_32 : RTLDRARCH_HOST; local 1243 rc = RTLdrOpenWithReader(&pNtViRdr->Core, fLdrFlags, enmArch, &hLdrMod, pErrInfo);
|