Changeset 16435 in vbox
- Timestamp:
- Jan 31, 2009 1:17:19 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Runtime/testcase/tstLdr-4.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstLdr-4.cpp
r14831 r16435 67 67 else if (!strcmp(pszSymbol, "RTLogDefaultInstance") || !strcmp(pszSymbol, "_RTLogDefaultInstance")) 68 68 *pValue = (uintptr_t)RTLogDefaultInstance; 69 else if (!strcmp(pszSymbol, "RTLogLoggerExV") || !strcmp(pszSymbol, "_RTLogLoggerExV")) 70 *pValue = (uintptr_t)RTLogLoggerExV; 71 else if (!strcmp(pszSymbol, "RTLogPrintfV") || !strcmp(pszSymbol, "_RTLogPrintfV")) 72 *pValue = (uintptr_t)RTLogPrintfV; 73 else if (!strcmp(pszSymbol, "RTR0AssertPanicSystem")|| !strcmp(pszSymbol, "_RTR0AssertPanicSystem")) 74 *pValue = (uintptr_t)0; 69 75 else if (!strcmp(pszSymbol, "MyPrintf") || !strcmp(pszSymbol, "_MyPrintf")) 70 76 *pValue = (uintptr_t)RTPrintf; … … 138 144 139 145 /* Allocate bits. */ 140 aLoads[i].pvBits = RTMem Alloc(cb);146 aLoads[i].pvBits = RTMemExecAlloc(cb); 141 147 if (!aLoads[i].pvBits) 142 148 { … … 194 200 { 195 201 if (aLoads[i].pvBits) 196 RTMem Free(aLoads[i].pvBits);202 RTMemExecFree(aLoads[i].pvBits); 197 203 if (aLoads[i].hLdrMod) 198 204 {
Note:
See TracChangeset
for help on using the changeset viewer.

