gecko-dev/testing
Toshihito Kikuchi f6a7430688 Bug 1610790: Part 2 - Implement GetProcAddress for a remote process. r=handyman
This patch adds a function to get an exported function in a remote process.
We need this implementation to address Bug 1604008, Bug 1608645, and Bug 1610790.

When `WindowsDllInterceptor` detours a function in a remote process, we used the
native `GetProcAddress` locally, and then detours the returned address in the
target process.  The problem is if the caller's export table was modified, the
address returned from `GetProcAddress` might be invalid in the target process,
which is Bug 1604008.

I implemented `GetProcAddress` depending on both local and remote process image,
but it caused two regressions Bug 1608645 and Bug 1610790 because multiple
applications modify firefox's export table in multiple ways, such as replacing
an entry of EAT, replacing an RVA to Export section, or etc.

With this patch, we can use `PEExportSection<MMPolicy>::GetProcAddress` to get
an exported function in a remote process without relying on any local data so
that it's not impacted by modification of the local export table.

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

Depends on D62314
2020-02-11 22:21:10 +02:00
..
awsy
condprofile Bug 1614256 - Reduce the number of confprofs r=Bebe 2020-02-10 10:08:39 +00:00
config Bug 1525218 - Use minidump_stackwalk toolchain artifacts instead of tooltool packages. r=froydnj 2020-02-06 08:39:54 +00:00
crashtest
extensions
firefox-ui Bug 1610014 - [marionette] Remove localization support from firefox-puppeteer. r=marionette-reviewers,maja_zf 2020-01-24 17:46:26 +00:00
geckodriver Bug 1613975 - Mark geckodriver as Rust 2018, r=whimboo,webdriver-reviewers 2020-02-10 14:53:43 +00:00
gtest
jsshell
marionette Bug 1613903 - Enable ESLint for testing/marionette/harness and testing/marionette/legacyaction.js (automatic changes). r=whimboo,marionette-reviewers 2020-02-10 16:32:06 +00:00
mochitest Bug 1613111 - Enable ESLint on testing/mochitest/tests/SimpleTest/ (automatic changes). r=kmag 2020-02-11 17:53:07 +00:00
modules
mozbase Bug 1614282 - [Mozproxy] Add retry and custom error message to download_file_from_url r=whimboo,tarek 2020-02-11 21:04:04 +00:00
mozharness Bug 1527313: [mozharness] Unconditionally set `abs_obj_dir` in l10n repcks; r=Callek 2020-02-11 19:49:11 +00:00
profiles Bug 1613627 - Rename all 'geo.wifi' related preferences to match the 'geo.provider.' convention and move default values to all.js. r=garvan 2020-02-06 14:50:22 +00:00
raptor Bug 1614282 - [Mozproxy] Add retry and custom error message to download_file_from_url r=whimboo,tarek 2020-02-11 21:04:04 +00:00
runtimes
specialpowers
talos Bug 1573418 Run Talos harness tests in CI r=rwood,igoldan,perftest-reviewers 2020-01-29 08:29:13 +00:00
tools
tps
web-platform Bug 1614198 - Some preparation to start using cbindgen for shape-outside and clip-path. r=boris 2020-02-11 20:56:13 +00:00
webdriver Bug 1613975 - Mark webdriver crate as Rust 2018, r=whimboo,webdriver-reviewers 2020-02-10 14:53:43 +00:00
xpcshell Bug 1613867 - Enable ESLint on testing/xpcshell/moz-http2/ (automatic changes). r=dragana 2020-02-10 09:31:25 +00:00
README.txt
addtest.py
cppunittest.ini Bug 1610790: Part 2 - Implement GetProcAddress for a remote process. r=handyman 2020-02-11 22:21:10 +02:00
mach_commands.py Bug 1611298 - Fix TypeError in |./mach addtest|. r=firefox-build-system-reviewers,rstewart 2020-01-23 22:46:24 +00:00
moz.build
parse_build_tests_ccov.py
remotecppunittests.py
runcppunittests.py
testinfo.py
testsuite-targets.mk

README.txt

Common testing tools for mozilla codebase projects, test suite definitions
for automated test runs, tests that don't fit anywhere else, and other fun
stuff