Home | History | Annotate | Download | only in win

Lines Matching refs:reinterpret_cast

40     return (*reinterpret_cast<const unsigned char*>(s1) -
41 *reinterpret_cast<const unsigned char*>(s2));
50 EnumAllImportsStorage &storage = *reinterpret_cast<EnumAllImportsStorage*>(
63 EnumAllImportsStorage &storage = *reinterpret_cast<EnumAllImportsStorage*>(
76 return reinterpret_cast<PIMAGE_DOS_HEADER>(module_);
82 return reinterpret_cast<PIMAGE_NT_HEADERS>(
83 reinterpret_cast<char*>(dos_header) + dos_header->e_lfanew);
114 PBYTE target = reinterpret_cast<PBYTE>(address);
119 PBYTE start = reinterpret_cast<PBYTE>(
141 if (0 == _strnicmp(reinterpret_cast<LPCSTR>(section->Name), section_name,
161 PDWORD functions = reinterpret_cast<PDWORD>(
172 PBYTE function = reinterpret_cast<PBYTE>(RVAToAddr(*export_entry));
174 PBYTE exports = reinterpret_cast<PBYTE>(
183 return reinterpret_cast<FARPROC>(0xFFFFFFFF);
186 return reinterpret_cast<FARPROC>(function);
201 PDWORD names = reinterpret_cast<PDWORD>(RVAToAddr(exports->AddressOfNames));
209 LPCSTR name = reinterpret_cast<LPCSTR>(RVAToAddr(*middle));
230 PWORD ordinals = reinterpret_cast<PWORD>(
263 PIMAGE_EXPORT_DIRECTORY exports = reinterpret_cast<PIMAGE_EXPORT_DIRECTORY>(
268 PDWORD functions = reinterpret_cast<PDWORD>(RVAToAddr(
270 PDWORD names = reinterpret_cast<PDWORD>(RVAToAddr(exports->AddressOfNames));
271 PWORD ordinals = reinterpret_cast<PWORD>(RVAToAddr(
284 name = reinterpret_cast<LPCSTR>(RVAToAddr(names[hint]));
294 if (reinterpret_cast<char*>(func) >= reinterpret_cast<char*>(directory) &&
295 reinterpret_cast<char*>(func) <= reinterpret_cast<char*>(directory) +
297 forward = reinterpret_cast<LPCSTR>(func);
312 PIMAGE_BASE_RELOCATION base = reinterpret_cast<PIMAGE_BASE_RELOCATION>(
319 PWORD reloc = reinterpret_cast<PWORD>(base + 1);
331 base = reinterpret_cast<PIMAGE_BASE_RELOCATION>(
332 reinterpret_cast<char*>(base) + base->SizeOfBlock);
347 LPCSTR module_name = reinterpret_cast<LPCSTR>(RVAToAddr(import->Name));
348 PIMAGE_THUNK_DATA name_table = reinterpret_cast<PIMAGE_THUNK_DATA>(
350 PIMAGE_THUNK_DATA iat = reinterpret_cast<PIMAGE_THUNK_DATA>(
375 PIMAGE_IMPORT_BY_NAME import = reinterpret_cast<PIMAGE_IMPORT_BY_NAME>(
379 name = reinterpret_cast<LPCSTR>(&import->Name);
399 PImgDelayDescr delay_descriptor = reinterpret_cast<PImgDelayDescr>(directory);
416 module_name = reinterpret_cast<LPCSTR>(
418 name_table = reinterpret_cast<PIMAGE_THUNK_DATA>(
420 iat = reinterpret_cast<PIMAGE_THUNK_DATA>(
422 bound_iat = reinterpret_cast<PIMAGE_THUNK_DATA>(
424 unload_iat = reinterpret_cast<PIMAGE_THUNK_DATA>(
430 module_name = reinterpret_cast<LPCSTR>(delay_descriptor->rvaDLLName);
431 name_table = reinterpret_cast<PIMAGE_THUNK_DATA>(
433 iat = reinterpret_cast<PIMAGE_THUNK_DATA>(delay_descriptor->rvaIAT);
434 bound_iat = reinterpret_cast<PIMAGE_THUNK_DATA>(
436 unload_iat = reinterpret_cast<PIMAGE_THUNK_DATA>(
472 import = reinterpret_cast<PIMAGE_IMPORT_BY_NAME>(
478 import = reinterpret_cast<PIMAGE_IMPORT_BY_NAME>(
484 name = reinterpret_cast<LPCSTR>(&import->Name);
540 DWORD offset_within_section = reinterpret_cast<DWORD>(address) -
541 reinterpret_cast<DWORD>(PEImage::RVAToAddr(
553 return reinterpret_cast<char*>(module_) + rva;