2014-10-28 16:38:21 +03:00
|
|
|
[ShowSSEConfig]
|
2017-07-12 00:46:12 +03:00
|
|
|
[TestPrintf]
|
2018-10-14 00:54:27 +03:00
|
|
|
[TestAlgorithm]
|
2016-10-19 13:12:11 +03:00
|
|
|
[TestArray]
|
2014-10-28 16:38:21 +03:00
|
|
|
[TestArrayUtils]
|
2020-10-01 11:25:15 +03:00
|
|
|
[TestAtomicBitflags]
|
2014-10-28 16:38:21 +03:00
|
|
|
[TestAtomics]
|
|
|
|
[TestBinarySearch]
|
2021-01-20 13:03:53 +03:00
|
|
|
[TestBitSet]
|
2014-10-28 16:38:21 +03:00
|
|
|
[TestBloomFilter]
|
2018-10-14 00:54:27 +03:00
|
|
|
[TestBufferList]
|
2014-10-28 16:38:21 +03:00
|
|
|
[TestCasting]
|
|
|
|
[TestCeilingFloor]
|
|
|
|
[TestCheckedInt]
|
2020-03-17 15:42:12 +03:00
|
|
|
[TestCompactPair]
|
2014-10-28 16:38:21 +03:00
|
|
|
[TestCountPopulation]
|
|
|
|
[TestCountZeroes]
|
2020-10-27 17:09:00 +03:00
|
|
|
[TestCrossProcessWin]
|
|
|
|
skip-if = os != 'win'
|
2017-07-01 02:58:11 +03:00
|
|
|
[TestDefineEnum]
|
2018-10-14 00:54:27 +03:00
|
|
|
[TestDoublyLinkedList]
|
2014-10-28 16:38:21 +03:00
|
|
|
[TestDllInterceptor]
|
2015-03-03 16:46:37 +03:00
|
|
|
skip-if = os != 'win'
|
2014-10-28 16:38:21 +03:00
|
|
|
[TestEndian]
|
2016-10-19 13:12:11 +03:00
|
|
|
[TestEnumeratedArray]
|
2014-10-28 16:38:21 +03:00
|
|
|
[TestEnumSet]
|
2016-09-07 05:20:16 +03:00
|
|
|
[TestEnumTypeTraits]
|
2016-04-19 13:55:43 +03:00
|
|
|
[TestFastBernoulliTrial]
|
2014-10-28 16:38:21 +03:00
|
|
|
[TestFloatingPoint]
|
2020-03-24 03:12:41 +03:00
|
|
|
[TestFunctionRef]
|
2018-10-14 00:54:27 +03:00
|
|
|
[TestFunctionTypeTraits]
|
2020-12-05 00:57:03 +03:00
|
|
|
[TestHashTable]
|
2019-12-24 02:11:35 +03:00
|
|
|
[TestIATPatcher]
|
2021-05-24 23:06:43 +03:00
|
|
|
skip-if =
|
|
|
|
os != 'win'
|
|
|
|
bits == 32 # fails on windows10x32
|
2014-10-28 16:38:21 +03:00
|
|
|
[TestIntegerPrintfMacros]
|
2015-07-02 06:31:07 +03:00
|
|
|
[TestIntegerRange]
|
2014-10-28 16:38:21 +03:00
|
|
|
[TestJSONWriter]
|
2019-10-14 20:14:54 +03:00
|
|
|
[TestLauncherRegistryInfo]
|
|
|
|
skip-if = os != 'win'
|
2016-04-19 13:55:43 +03:00
|
|
|
[TestLinkedList]
|
2014-10-28 16:38:21 +03:00
|
|
|
[TestMacroArgs]
|
|
|
|
[TestMacroForEach]
|
2016-04-19 13:55:43 +03:00
|
|
|
[TestMathAlgorithms]
|
2014-10-28 16:38:21 +03:00
|
|
|
[TestMaybe]
|
Bug 1671314 - Expand the region to be scanned for a trampoline. r=mhowell
The latest launcher process ping showed one of the reasons why we failed to
detour `NtMapViewOfSection` is that `MMPolicyBase::FindRegion` failed to find
a free region. Inspecting the function carefully, there were three problems.
Firstly, `FindRegion` did not fully scan the given range. To randomize
the address of a free region we use, we start scanning from a random address
within the given range. The problem is we scan only addresses bigger than
that random address, without scanning smaller addresses. Probably this is
the reason why `FindRegion` fails.
Secondly, `FindRegion` may return an address not aligned with the allocation
granularity because `VirtualQueryEx` returns such an address. If that happens,
the subsequent mapping API fails with the alignment error.
Lastly, when we randomize an address to start scanning from, we divide a random
number by `maxOffset`, but with that, we never start scanning from the last
region. It does not affect the product's behavior, but to have fair randomization,
a divisor should be `maxOffset + 1`.
This patch fixes all of these three problems along with a new test program.
Differential Revision: https://phabricator.services.mozilla.com/D94110
2020-10-21 01:51:00 +03:00
|
|
|
[TestMMPolicy]
|
|
|
|
skip-if = os != 'win'
|
2019-06-11 03:11:58 +03:00
|
|
|
[TestNativeNt]
|
2019-08-22 00:47:43 +03:00
|
|
|
skip-if = os != 'win'
|
2019-08-20 01:10:32 +03:00
|
|
|
[TestUriValidation]
|
2019-06-11 03:11:58 +03:00
|
|
|
skip-if = os != 'win'
|
2019-09-23 20:59:42 +03:00
|
|
|
[TestSameBinary]
|
|
|
|
skip-if = os != 'win'
|
2020-01-08 19:53:17 +03:00
|
|
|
[TestTimeStampWin]
|
|
|
|
skip-if = os != 'win'
|
2020-02-07 21:08:11 +03:00
|
|
|
[TestSafeThreadLocal]
|
|
|
|
skip-if = os != 'win'
|
2019-06-06 09:18:09 +03:00
|
|
|
[TestBaseProfiler]
|
2018-10-14 00:54:27 +03:00
|
|
|
[TestNonDereferenceable]
|
|
|
|
[TestNotNull]
|
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 23:21:10 +03:00
|
|
|
[TestPEExportSection]
|
|
|
|
skip-if = os != 'win'
|
2014-10-28 16:38:21 +03:00
|
|
|
[TestPoisonArea]
|
2015-03-27 05:35:36 +03:00
|
|
|
skip-if = os == 'android' # Bug 1147630
|
2018-10-14 00:54:27 +03:00
|
|
|
[TestRange]
|
2018-10-25 21:00:15 +03:00
|
|
|
[TestRandomNum]
|
2014-10-28 16:38:21 +03:00
|
|
|
[TestRefPtr]
|
2018-10-14 00:54:27 +03:00
|
|
|
[TestResult]
|
2014-10-28 16:38:21 +03:00
|
|
|
[TestRollingMean]
|
2016-04-19 13:55:43 +03:00
|
|
|
[TestScopeExit]
|
|
|
|
[TestSegmentedVector]
|
2014-10-28 16:38:21 +03:00
|
|
|
[TestSHA1]
|
2017-09-12 21:11:47 +03:00
|
|
|
[TestSmallPointerArray]
|
2016-02-04 14:35:12 +03:00
|
|
|
[TestSaturate]
|
2014-10-28 16:38:21 +03:00
|
|
|
[TestSplayTree]
|
2018-04-13 18:14:05 +03:00
|
|
|
[TestSPSCQueue]
|
2020-08-07 22:14:22 +03:00
|
|
|
[TestTainting]
|
2016-04-19 13:55:43 +03:00
|
|
|
[TestTemplateLib]
|
2018-10-14 00:54:27 +03:00
|
|
|
[TestTextUtils]
|
|
|
|
[TestThreadSafeWeakPtr]
|
2015-07-21 23:54:00 +03:00
|
|
|
[TestTuple]
|
2014-10-28 16:38:21 +03:00
|
|
|
[TestTypeTraits]
|
|
|
|
[TestTypedEnum]
|
|
|
|
[TestUniquePtr]
|
2018-10-14 00:54:27 +03:00
|
|
|
[TestUtf8]
|
2016-04-19 13:55:43 +03:00
|
|
|
[TestVariant]
|
|
|
|
[TestVector]
|
2014-10-28 16:38:21 +03:00
|
|
|
[TestWeakPtr]
|
2018-10-14 00:54:27 +03:00
|
|
|
[TestWrappingOperations]
|
2016-04-19 13:55:43 +03:00
|
|
|
[TestXorShift128PlusRNG]
|
2014-10-28 16:38:21 +03:00
|
|
|
[jsapi-tests]
|