DynamoRIO / DynamoRIO/drmemory
drstrace module fetch fails when symfetch.dll is built with VS2013
- Dominant language
- C
- Stars
- 2.7k
- Forks
- 290
- PR merge metrics
- No merged PRs in 30d
Description
_From [bruen...@google.com](https://code.google.com/u/109494838902877177630/) on August 20, 2014 02:33:55_
drstrace_unit_tests fails on the module fetch check when built with VS2013
it's failing here:
```
DO_DEBUG(DL_WARN,
printf("SymGetModuleInfoEx failed: %d", GetLastError());
);
```
0:000> dv
modpath = 0x002f7d68 "D:/derek/drmemory/build_suite/build_drmemory-dbg-32/bin/symfetch.dll"
symbol_path = 0x0058ecc8 "D:\derek\drmemory\build_suite\build_drmemory-dbg-32\logs\drstrace_unit_tests_5096"
symbol_path_sz = 0x104
wmodpath = wchar_t [260] "D:/derek/drmemory/build_suite/build_drmemory-dbg-32/bin/symfetch.dll"
proc = 0xffffffff
mod_info = struct _IMAGEHLP_MODULEW64
base = 0x10000000
got_pdbs = 0n0 ''
0:000> !dh 0x10000000
Can't read file header: error == 299
0:000> dd 0x10000000
10000000 ???????? ???????? ???????? ????????
```
LastErrorValue: 87
```
#define ERROR_INVALID_PARAMETER 87L // dderror
is VS2013 building symfetch.dll differently?
why didn't Mingwei hit this?
why did the module load claim to work then?
_Original issue: http://code.google.com/p/drmemory/issues/detail?id=1612_
Contributor guide
Assessment
This issue has not been assessed yet.