Changeset 74654 in vbox for trunk/src/VBox/Runtime/testcase/tstLdr.cpp
- Timestamp:
- Oct 7, 2018 1:00:04 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstLdr.cpp
r69111 r74654 106 106 { NULL, NULL, (RTUINTPTR)0x40404040, "bar" }, 107 107 { NULL, NULL, (RTUINTPTR)0xefefef00, "foobar" }, 108 { NULL, NULL, (RTUINTPTR)0xefefef00, "kLdr-foo" },109 { NULL, NULL, (RTUINTPTR)0x40404040, "kLdr-bar" },110 { NULL, NULL, (RTUINTPTR)0xefefef00, "kLdr-foobar" }111 108 }; 112 109 unsigned i; … … 123 120 124 121 /* open it */ 125 int rc; 126 if (!strncmp(aLoads[i].pszName, RT_STR_TUPLE("kLdr-"))) 127 rc = RTLdrOpenkLdr(pszFilename, 0, RTLDRARCH_WHATEVER, &aLoads[i].hLdrMod); 128 else 129 rc = RTLdrOpen(pszFilename, 0, RTLDRARCH_WHATEVER, &aLoads[i].hLdrMod); 122 int rc = RTLdrOpen(pszFilename, 0, RTLDRARCH_WHATEVER, &aLoads[i].hLdrMod); 130 123 if (RT_FAILURE(rc)) 131 124 {
Note:
See TracChangeset
for help on using the changeset viewer.