/vbox/src/VBox/Runtime/testcase/ |
H A D | tstLdr-2.cpp | 67 * @param pszModule Module name. 73 static DECLCALLBACK(int) testGetImport(RTLDRMOD hLdrMod, const char *pszModule, const char *pszSymbol, unsigned uSymbol, RTUINTPTR *pValue, void *pvUser) argument
|
H A D | tstLdr-4.cpp | 51 * @param pszModule Module name. 57 static DECLCALLBACK(int) testGetImport(RTLDRMOD hLdrMod, const char *pszModule, const char *pszSymbol, unsigned uSymbol, RTUINTPTR *pValue, void *pvUser) argument
|
H A D | tstLdr.cpp | 56 * @param pszModule Module name. 62 static DECLCALLBACK(int) testGetImport(RTLDRMOD hLdrMod, const char *pszModule, const char *pszSymbol, unsigned uSymbol, RTUINTPTR *pValue, void *pvUser) argument
|
H A D | tstLdr-3.cpp | 198 * @param pszModule Module name. 204 static DECLCALLBACK(int) testGetImport(RTLDRMOD hLdrMod, const char *pszModule, const char *pszSymbol, unsigned uSymbol, RTUINTPTR *pValue, void *pvUser) argument
|
/vbox/src/VBox/Runtime/r0drv/solaris/ |
H A D | dbgkrnlinfo-r0drv-solaris.c | 70 * @param pszModule The name of the module to open. 76 static int rtR0DbgKrnlInfoModRetain(char *pszModule, modctl_t **ppMod, ctf_file_t **ppCTF) argument 78 AssertPtrReturn(pszModule, VERR_INVALID_PARAMETER); 83 modid_t ModId = mod_name_to_modid(pszModule); 102 LogRel(("rtR0DbgKrnlInfoModRetain: ctf_modopen failed for '%s' err=%d\n", pszModule, err)); 108 LogRel(("rtR0DbgKrnlInfoModRetain: mod_hold_by_id failed for '%s'\n", pszModule)); 114 LogRel(("rtR0DbgKrnlInfoModRetain: mod_name_to_modid failed for '%s'\n", pszModule)); 229 RTR0DECL(int) RTR0DbgKrnlInfoQuerySymbol(RTDBGKRNLINFO hKrnlInfo, const char *pszModule, argument 237 AssertReturn(!pszModule, VERR_MODULE_NOT_FOUND);
|
/vbox/src/VBox/HostDrivers/Support/ |
H A D | SUPDrvIDC.h | 153 const char *pszModule; member in struct:SUPDRVIDCREQGETSYM::__anon16279::SUPDRVIDCREQGETSYMIN
|
H A D | SUPLibLdr.cpp | 98 static int supLoadModule(const char *pszFilename, const char *pszModule, const char *pszSrvReqHandler, void **ppvImageBase); 99 static DECLCALLBACK(int) supLoadModuleResolveImport(RTLDRMOD hLdrMod, const char *pszModule, const char *pszSymbol, unsigned uSymbol, RTUINTPTR *pValue, void *pvUser); 102 SUPR3DECL(int) SUPR3LoadModule(const char *pszFilename, const char *pszModule, void **ppvImageBase, PRTERRINFO pErrInfo) argument 110 rc = supLoadModule(pszFilename, pszModule, NULL, ppvImageBase); 118 SUPR3DECL(int) SUPR3LoadServiceModule(const char *pszFilename, const char *pszModule, argument 128 rc = supLoadModule(pszFilename, pszModule, pszSrvReqHandler, ppvImageBase); 140 * @param pszModule Module name. 146 static DECLCALLBACK(int) supLoadModuleResolveImport(RTLDRMOD hLdrMod, const char *pszModule, argument 156 if ( pszModule 157 && *pszModule 333 supLoadModule(const char *pszFilename, const char *pszModule, const char *pszSrvReqHandler, void **ppvImageBase) argument [all...] |
H A D | SUPDrv.cpp | 4923 const char *pszModule = pReq->u.In.pszModule; local 4936 if (pszModule) 4938 AssertPtrReturn(pszModule, VERR_INVALID_POINTER); 4939 pszEnd = RTStrEnd(pszModule, 64); 4942 Log3(("supdrvIDC_LdrGetSymbol: pszModule=%p:{%s} pszSymbol=%p:{%s}\n", pszModule, pszModule, pszSymbol, pszSymbol)); 4945 if ( !pszModule 4946 || !strcmp(pszModule, "SupDr [all...] |
H A D | SUPLib.cpp | 144 static int supLoadModule(const char *pszFilename, const char *pszModule, const char *pszSrvReqHandler, void **ppvImageBase); 145 static DECLCALLBACK(int) supLoadModuleResolveImport(RTLDRMOD hLdrMod, const char *pszModule, const char *pszSymbol, unsigned uSymbol, RTUINTPTR *pValue, void *pvUser); 1933 SUPR3DECL(int) SUPR3TracerRegisterModule(uintptr_t hModNative, const char *pszModule, struct VTGOBJHDR *pVtgHdr, argument 1940 AssertPtrReturn(pszModule, VERR_INVALID_POINTER); 1941 size_t cchModule = strlen(pszModule); 1943 AssertReturn(!RTPathHavePath(pszModule), VERR_INVALID_PARAMETER); 2008 memcpy(Req.u.In.szName, pszModule, cchModule + 1);
|
/vbox/src/VBox/Frontends/VBoxBalloonCtrl/ |
H A D | VBoxWatchdogUtils.cpp | 140 * @param pszModule Module name to get payload from. 142 void* payloadFrom(PVBOXWATCHDOG_MACHINE pMachine, const char *pszModule) argument 145 AssertPtrReturn(pszModule, NULL); 146 mapPayloadIter it = pMachine->payload.find(pszModule); 153 int payloadAlloc(PVBOXWATCHDOG_MACHINE pMachine, const char *pszModule, argument 157 AssertPtrReturn(pszModule, VERR_INVALID_POINTER); 163 mapPayloadIter it = pMachine->payload.find(pszModule); 173 pMachine->payload.insert(std::make_pair(pszModule, p)); 178 void payloadFree(PVBOXWATCHDOG_MACHINE pMachine, const char *pszModule) argument 181 AssertPtrReturnVoid(pszModule); [all...] |
/vbox/src/VBox/Runtime/tools/ |
H A D | RTLdrFlt.cpp | 233 const char *pszModule = ValueUnion.psz; local 257 rc = RTDbgModCreateFromImage(&hMod, pszModule, NULL, enmArch, hDbgCfg); 259 rc = RTDbgModCreateFromPeImage(&hMod, pszModule, NULL, NIL_RTLDRMOD, cbImage, uTimestamp, hDbgCfg); 261 return RTMsgErrorExit(RTEXITCODE_FAILURE, "RTDbgModCreateFromImage(,%s,,) -> %Rrc", pszModule, rc); 265 return RTMsgErrorExit(RTEXITCODE_FAILURE, "RTDbgAsModuleLink(,%s,%llx,) -> %Rrc", pszModule, u64Address, rc);
|
/vbox/src/VBox/Main/src-all/ |
H A D | ExtPackUtil.cpp | 625 * @param pszModule The module string to validate. 627 bool VBoxExtPackIsValidModuleString(const char *pszModule) argument 629 if (!pszModule || *pszModule == '\0') 633 while ( RT_C_IS_ALNUM(*pszModule) 634 || *pszModule == '-' 635 || *pszModule == '_') 636 pszModule++; 638 return *pszModule == '\0';
|
/vbox/src/VBox/Runtime/r0drv/darwin/ |
H A D | dbgkrnlinfo-r0drv-darwin.cpp | 1106 RTR0DECL(int) RTR0DbgKrnlInfoQuerySymbol(RTDBGKRNLINFO hKrnlInfo, const char *pszModule, argument 1114 AssertReturn(!pszModule, VERR_MODULE_NOT_FOUND);
|
/vbox/src/VBox/Runtime/common/ldr/ |
H A D | ldrELFRelocatable.cpp.h | 1289 static DECLCALLBACK(int) RTLDRELF_NAME(GetImportStubCallback)(RTLDRMOD hLdrMod, const char *pszModule, const char *pszSymbol, argument
|
H A D | ldrkStuff.cpp | 499 const char *pszModule = NULL; local 506 pszModule = pszBuf; 511 int rc = pArgs->u.pfnGetImport(&pArgs->pMod->Core, pszModule, pszSymbol, pszSymbol ? ~0 : iSymbol, &Value, pArgs->pvUser);
|
/vbox/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/ |
H A D | VBoxDispDbg.cpp | 694 char *pszModule = vboxVDbgDoGetModuleName(); local 695 if (!pszModule) 698 cbModule = strlen(pszModule); 702 if (_stricmp(pszName, pszModule + (cbModule - cbName)))
|
/vbox/src/VBox/VMM/VMMR3/ |
H A D | PDMLdr.cpp | 66 static DECLCALLBACK(int) pdmR3GetImportRC(RTLDRMOD hLdrMod, const char *pszModule, const char *pszSymbol, unsigned uSymbol, RTUINTPTR *pValue, void *pvUser); 326 * @param pszModule Module name. 332 static DECLCALLBACK(int) pdmR3GetImportRC(RTLDRMOD hLdrMod, const char *pszModule, const char *pszSymbol, unsigned uSymbol, argument 342 if (pszModule && !*pszModule) 343 pszModule = NULL; 348 if (!pszModule || !strcmp(pszModule, "VMMRCBuiltin.rc")) 383 AssertMsg(!pszModule, ("Unknown builtin symbol '%s' for module '%s'!\n", pszSymbol, pModule->szName)); NOREF(pModule); 386 if (RT_SUCCESS(rc) || pszModule) 721 PDMR3LdrGetSymbolR3(PVM pVM, const char *pszModule, const char *pszSymbol, void **ppvValue) argument 775 PDMR3LdrGetSymbolR0(PVM pVM, const char *pszModule, const char *pszSymbol, PRTR0PTR ppvValue) argument 833 PDMR3LdrGetSymbolR0Lazy(PVM pVM, const char *pszModule, const char *pszSearchPath, const char *pszSymbol, PRTR0PTR ppvValue) argument 882 PDMR3LdrGetSymbolRC(PVM pVM, const char *pszModule, const char *pszSymbol, PRTRCPTR pRCPtrValue) argument 949 PDMR3LdrGetSymbolRCLazy(PVM pVM, const char *pszModule, const char *pszSearchPath, const char *pszSymbol, PRTRCPTR pRCPtrValue) argument 1474 pdmR3LdrFindModule(PUVM pUVM, const char *pszModule, PDMMODTYPE enmType, bool fLazy, const char *pszSearchPath) argument 1558 PDMR3LdrGetInterfaceSymbols(PVM pVM, void *pvInterface, size_t cbInterface, const char *pszModule, const char *pszSearchPath, const char *pszSymPrefix, const char *pszSymList, bool fRing0) argument [all...] |
/vbox/src/VBox/Debugger/ |
H A D | DBGCCommands.cpp | 1842 * @param pszModule Module name. 1844 static int dbgcPlugInTryLoad(PDBGCPLUGIN pPlugIn, const char *pszModule) argument 1849 int rc = RTLdrLoad(pszModule, &pPlugIn->hLdrMod); 1855 LogRel(("DBGC: RTLdrGetSymbol('%s', '%s',) -> %Rrc\n", pszModule, DBGC_PLUG_IN_ENTRYPOINT, rc)); 1884 char *pszModule = (char *)alloca(cchModule); local 1885 AssertReturn(pszModule, VERR_TRY_AGAIN); 1886 memcpy(pszModule, pchPath, cchPath); 1887 pszModule[cchPath] = '\0'; 1889 int rc = RTPathAppend(pszModule, cchModule, DBGC_PLUG_IN_PREFIX); 1891 strcat(pszModule, pszPlugI [all...] |
/vbox/src/VBox/HostDrivers/Support/win/ |
H A D | SUPHardenedVerifyProcess-win.cpp | 534 static DECLINLINE(bool) supHardNtVpIsModuleNameMatch(PSUPHNTVPIMAGE pImage, const char *pszModule) argument 542 char chRight = *pszModule++; 573 * @param pszModule The name of the module we're looking for. 575 static PSUPHNTVPIMAGE supHardNtVpFindModule(PSUPHNTVPSTATE pThis, const char *pszModule) argument 581 && supHardNtVpIsModuleNameMatch(&pThis->aImages[pThis->iImageHint], pszModule)) 589 if (supHardNtVpIsModuleNameMatch(&pThis->aImages[i], pszModule)) 603 static DECLCALLBACK(int) supHardNtVpGetImport(RTLDRMOD hLdrMod, const char *pszModule, const char *pszSymbol, unsigned uSymbol, argument 606 /*SUP_DPRINTF(("supHardNtVpGetImport: %s / %#x / %s.\n", pszModule, uSymbol, pszSymbol));*/ 610 PSUPHNTVPIMAGE pImage = supHardNtVpFindModule(pThis, pszModule); 621 else if (!RTStrNICmp(pszModule, RT_STR_TUPL [all...] |
/vbox/src/VBox/Frontends/VBoxManage/ |
H A D | VBoxInternalManage.cpp | 466 const char *pszModule = NULL; local 483 /* pszModule */ 485 pszModule = argv[3]; 513 hrc = SetString(machine, "VBoxInternal/DBGF/loadsyms", KeyStr.c_str(), "Module", pszModule); 542 const char *pszModule = NULL; local 560 pszModule = argv[3]; 587 if (SUCCEEDED(hrc) && pszModule != NULL) 588 hrc = SetString(machine, "VBoxInternal/DBGF/loadmap", KeyStr.c_str(), "Name", pszModule);
|
/vbox/src/recompiler/ |
H A D | VBoxREMWrapper.cpp | 1961 * @param pszModule Module name. 1967 static DECLCALLBACK(int) remGetImport(RTLDRMOD hLdrMod, const char *pszModule, const char *pszSymbol, unsigned uSymbol, RTUINTPTR *pValue, void *pvUser) argument 1982 AssertMsgFailed(("%s.%s\n", pszModule, pszSymbol)); 2158 const char *pszModule = remIs64bitEnabled(pVM) ? "VBoxREM64" : "VBoxREM32"; local 2159 int rc = SUPR3HardenedLdrLoadAppPriv(pszModule, &g_ModREM2, RTLDRLOAD_FLAGS_LOCAL, NULL); 2162 LogRel(("REM: %s\n", pszModule));
|