Re: [PATCH] - rewrote toolhelp implementation only on top of ntdll functions
5 Apr
2006
5 Apr
'06
9:37 a.m.
Eric Pouech <eric.pouech(a)wanadoo.fr> writes:
+ l = min(ldr_mod[i].BaseDllName.Length, sizeof(mod->szModule) - sizeof(WCHAR)); + memcpy(mod->szModule, ldr_mod[i].BaseDllName.Buffer, l); + mod->szModule[l / sizeof(WCHAR)] = '\0'; + l = min(ldr_mod[i].FullDllName.Length, sizeof(mod->szModule) - sizeof(WCHAR)); + memcpy(mod->szExePath, ldr_mod[i].FullDllName.Buffer, l);
This can't work, the dll name and path are in the address space of the target process. -- Alexandre Julliard julliard(a)winehq.org
7195
Age (days ago)
7195
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard