Changeset 52213 in vbox for trunk/src/VBox/Runtime/testcase
- Timestamp:
- Jul 28, 2014 5:52:58 PM (10 years ago)
- Location:
- trunk/src/VBox/Runtime/testcase
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstLdr-2.cpp
r48935 r52213 113 113 { 114 114 RTUINTPTR Value; 115 rc = RTLdrGetSymbolEx(hLdrMod, pvBits, Addr, "Entrypoint", &Value);115 rc = RTLdrGetSymbolEx(hLdrMod, pvBits, Addr, UINT32_MAX, "Entrypoint", &Value); 116 116 if (RT_SUCCESS(rc)) 117 117 { -
trunk/src/VBox/Runtime/testcase/tstLdr-4.cpp
r48935 r52213 176 176 /* get the pointer. */ 177 177 RTUINTPTR Value; 178 rc = RTLdrGetSymbolEx(aLoads[i].hLdrMod, aLoads[i].pvBits, (uintptr_t)aLoads[i].pvBits, "DisasmTest1", &Value); 178 rc = RTLdrGetSymbolEx(aLoads[i].hLdrMod, aLoads[i].pvBits, (uintptr_t)aLoads[i].pvBits, 179 UINT32_MAX, "DisasmTest1", &Value); 179 180 if (rc == VERR_SYMBOL_NOT_FOUND) 180 rc = RTLdrGetSymbolEx(aLoads[i].hLdrMod, aLoads[i].pvBits, (uintptr_t)aLoads[i].pvBits, "_DisasmTest1", &Value); 181 rc = RTLdrGetSymbolEx(aLoads[i].hLdrMod, aLoads[i].pvBits, (uintptr_t)aLoads[i].pvBits, 182 UINT32_MAX, "_DisasmTest1", &Value); 181 183 if (RT_FAILURE(rc)) 182 184 { -
trunk/src/VBox/Runtime/testcase/tstLdr.cpp
r48935 r52213 237 237 { 238 238 RTUINTPTR Value; 239 int rc = RTLdrGetSymbolEx(aLoads[i].hLdrMod, aLoads[i].pvBits, aLoads[i].Addr, aSyms[iSym].pszName, &Value); 239 int rc = RTLdrGetSymbolEx(aLoads[i].hLdrMod, aLoads[i].pvBits, aLoads[i].Addr, 240 UINT32_MAX, aSyms[iSym].pszName, &Value); 240 241 if (RT_SUCCESS(rc)) 241 242 {
Note:
See TracChangeset
for help on using the changeset viewer.