gecko-dev/mozglue
Toshihito Kikuchi eb086eb295 Bug 1604008 - Use a target process's export table to cross-process detour. r=aklotz
When `WindowsDllInterceptor` detours a function in a remote process, it calculates
a target address via `GetProcAddress` in the caller's process first, and detours
that address in the target process.  If the caller's export table was modified, the
target address might be invalid in the target process.

With this patch, `WindowsDllInterceptor` uses the target process's export table to
calculate a target function address.

Differential Revision: https://phabricator.services.mozilla.com/D58305

--HG--
extra : moz-landing-system : lando
2020-01-11 00:34:21 +00:00
..
android Bug 1598196 - Support disabling the linker on Android in the code. r=froydnj 2019-11-21 14:57:24 +00:00
baseprofiler Bug 1600644 - Don't count ActivePS::mProfileBuffer's own size twice - r=canaltinova 2020-01-02 12:21:58 +00:00
build Bug 1590624 - mingw-clang cannot use _xgetbv without -mavx, work around it r=lsalzman,froydnj 2019-12-12 06:38:39 +00:00
dllservices Bug 1605248: Convert LoaderObserver::Clear to LoaderObserver::Disable; r=mhowell 2019-12-19 22:20:37 +00:00
linker Bug 1570499 - Part 1: Replace MOZ_FALLTHROUGH macro with C++17's [[fallthrough]] attribute. r=froydnj 2019-12-20 07:16:43 +00:00
misc Bug 1604008 - Use a target process's export table to cross-process detour. r=aklotz 2020-01-11 00:34:21 +00:00
static Bug 1594998 - Make standalone SpiderMonkey use libxul-like panic. r=froydnj 2019-11-15 13:14:42 +00:00
tests Bug 1604008 - Use a target process's export table to cross-process detour. r=aklotz 2020-01-11 00:34:21 +00:00
moz.build Bug 1598196 - Support disabling the linker on Android in the code. r=froydnj 2019-11-21 14:57:24 +00:00