Sebastian Hengst
98e733129a
Backed out changeset 4dab43248f15 (bug 1372823) for crashing GTest on Windows 10 x64 debug. r=backout
...
MozReview-Commit-ID: 1u7TFtv6Mdv
2017-09-21 17:27:32 +02:00
Bob Owen
97b8706961
Bug 1372823: Extend BaseThreadInitThunk thread start address verification to 64-bit. r=dmajor
2017-09-21 09:31:07 +01:00
Julien Cristau
92de7a31d5
Bug 1268470 - Part 3: Restrict klsihk64.dll block to versions < 14.0.457.0 r=jimm
...
MozReview-Commit-ID: CD7jpcGGr9s
2017-09-11 11:58:12 +02:00
Julien Cristau
45534f2d01
Bug 1268470 - Part 2: Block klsihk64.dll on Windows 8 r=jimm
...
MozReview-Commit-ID: B2IrXnr46eP
2017-09-08 12:00:56 +02:00
Julien Cristau
665513ad07
Bug 1268470 - Part 1: Add BLOCK_WIN8_ONLY flag to dll blocklist r=jimm
...
MozReview-Commit-ID: 8ZhqDv4YMOn
2017-09-08 11:59:13 +02:00
Tom Ritter
163d15fa81
Bug 1394007 Fix a signedness comparison warning in WindowsDllBlocklist.cpp r=dmajor
...
MozReview-Commit-ID: 3qH0PU2gBur
2017-08-30 00:43:46 -05:00
Tom Ritter
17e04e16e1
Bug 1393498 Mark the stub_BaseThreadInitThunk as MOZ_NORETURN to silence a warning about a noreturn function not returning r=dmajor,froydnj
...
/home/worker/workspace/build/src/mozglue/build/WindowsDllBlocklist.cpp:816:1: error: 'noreturn' function does return [-Werror]
MozReview-Commit-ID: SYgPDW0sMV
2017-08-24 22:49:09 -05:00
Ryan VanderMeulen
9fe20ef1ab
Backed out changeset d44d3fae6125 (bug 1393498) for bustage on a CLOSED TREE.
2017-08-24 19:54:02 -04:00
Tom Ritter
b2b25ec562
Bug 1393498 Mark the stub_BaseThreadInitThunk as MOZ_NORETURN to silence a warning about a noreturn function not returning r=dmajor
...
/home/worker/workspace/build/src/mozglue/build/WindowsDllBlocklist.cpp:816:1: error: 'noreturn' function does return [-Werror]
MozReview-Commit-ID: SYgPDW0sMV
2017-08-24 16:28:32 -05:00
Wes Kocher
ea2773bb82
Backed out changeset 0df56be60d07 (bug 1393498) for windows build failures a=backout
...
MozReview-Commit-ID: 9LrZYhCPjRv
2017-08-24 12:14:31 -07:00
Tom Ritter
18e089b233
Bug 1393498 Mark the stub_BaseThreadInitThunk as MOZ_NORETURN to silence a warning about a noreturn function not returning r=dmajor
...
/home/worker/workspace/build/src/mozglue/build/WindowsDllBlocklist.cpp:816:1: error: 'noreturn' function does return [-Werror]
MozReview-Commit-ID: SYgPDW0sMV
2017-08-24 09:32:04 -05:00
Carl Corcoran
aca32f6cc9
Bug 1361410: Don't hook BaseThreadInitThunk when WRusr.dll is loaded, mitigating a crash; r=dmajor
...
MozReview-Commit-ID: KqWq2bHT0CE
2017-08-17 15:05:17 +02:00
Tom Ritter
7bb512c282
Bug 1380103 Cast a DWORD (__attribute__((__stdcall__)) *)(void*) to a bare void* to fix a compiler error r=ccorcoran,dmajor
...
MozReview-Commit-ID: 88e6e2w5Gd1
2017-07-11 14:26:35 -05:00
David Major
680cb6e4b5
Bug 1378442 - Move Win64 profiler hooks to profiler_start. r=mstange
2017-07-05 18:45:31 -04:00
Nicholas Nethercote
55c693e8f9
Bug 1375299 (part 1) - Reduce usage of MOZ_GECKO_PROFILER. r=mstange.
...
This patch reduces the differences between builds where the profiler is enabled
and those where the profiler is disabled. It does this by removing numerous
MOZ_GECKO_PROFILER checks.
These changes have the following consequences.
- Various functions and classes are now defined in all builds, and so can be
used unconditionally: profiler_add_marker(), profiler_set_js_context(),
profiler_clear_js_context(), profiler_get_pseudo_stack(), AutoProfilerLabel.
(They are effectively no-ops in non-profiler builds, of course.)
- The no-op versions of PROFILER_* are now gone. The remaining versions are
almost no-ops when the profiler isn't built.
2017-06-22 06:26:16 +10:00
David Major
a0117f04a1
Bug 1372375: Avoid locks in EnsureWalkThreadReady during the profiler's critical section. r=mstange
...
EnsureWalkThreadReady takes two locks, one in _beginthreadex and another in the DLL hook setup.
We can avoid the first by not calling EnsureWalkThreadReady if we're walking a suspended thread, since we won't be using a separate WalkThread anyway.
To avoid the hook locks, I gave in and decided to go back to setting up the hooks in DllBlocklist_Initialize as originally planned.
2017-06-13 18:30:48 -04:00
Ehsan Akhgari
dbe2f70088
Bug 1370329 (part 3) - Add a Gecko Profiler label to patched_LdrLoadDll(). r=mstange.
...
This lets us easily identify the name of the DLL being loaded in a profile.
2017-06-07 12:37:18 +10:00
Carl Corcoran
e5a0729673
Bug 1322554: Interpose kernel32!BaseThreadInitThunk to add verification of thread start addresses; r=aklotz,dmajor
...
MozReview-Commit-ID: 8Jm1PXyRrEr
2017-05-24 11:56:40 +02:00
David Major
6a209ba9cc
Bug 1180561 - Intercept msmpeg2vdec's JIT unwind callback on Win7 x64. r=aklotz
...
So we can avoid stack-walking their JIT code. They don't have unwind information so their callback just kills the process.
2017-05-18 16:15:29 -04:00
David Major
7d1750f255
Bug 1180561 - Cleanup - Remove the DLL blocklist's anonymous namespace. r=aklotz
...
It makes it really annoying to set breakpoints on patched_LdrLoadDll.
2017-05-18 16:05:32 -04:00
Mike Hommey
16c7c0f06b
Bug 1365194 - Make extern "C" part of MOZ_MEMORY_API and MOZ_JEMALLOC_API. r=njn
...
This avoids many additions of `extern "C"` in C++ code and will avoid
having to do the same to mozjemalloc once built as C++.
2017-05-16 18:46:02 +09:00
Carsten "Tomcat" Book
1ff1e94ded
Backed out changeset b56224bf370d (bug 1365194)
2017-05-17 11:43:26 +02:00
Mike Hommey
4578277dba
Bug 1365194 - Make extern "C" part of MOZ_MEMORY_API and MOZ_JEMALLOC_API. r=njn
...
This avoids many additions of `extern "C"` in C++ code and will avoid
having to do the same to mozjemalloc once built as C++.
2017-05-16 18:46:02 +09:00
Aaron Klotz
510c4aa704
Bug 1363844: Add CHILD_PROCESSES_ONLY flag to Windows DLL blocklist; r=dmajor
...
MozReview-Commit-ID: f9ej2Hp0DF
2017-05-11 15:50:10 -06:00
Sebastian Hengst
343c781205
Backed out changeset bd40f51b033f (bug 1362814)
2017-05-08 00:03:12 +02:00
Ehsan Akhgari
988ee61a53
Bug 1362814 - Part 1: Add a Gecko Profiler label to patched_LdrLoadDll(); r=mstange
...
This allows us to easily identify the name of the DLL being loaded
in a profile.
2017-05-07 17:17:36 -04:00
Sebastian Hengst
20605ed80d
Backed out changeset 1fec6894255e (bug 1362814) for breaking Windows builds. r=backout
2017-05-07 17:41:38 +02:00
Ehsan Akhgari
c8466bb194
Bug 1362814 - Add a Gecko Profiler label to patched_LdrLoadDll(); r=mstange
...
This allows us to easily identify the name of the DLL being loaded
in a profile.
2017-05-07 11:03:51 -04:00
Marco Castelluccio
67995cb3f6
Bug 1233556 - Block injection of nahimicmsiosd.dll, as it can cause crashes. r=bsmedberg
2017-05-04 11:15:26 +02:00
David Major
73375957a3
Bug 1359507: Replace the stack walk workaround lock with an atomic counter of suppressions. r=mstange,froydnj
...
This fixes a deadlock by removing one of the two sides of a mutual-wait.
2017-05-03 12:10:48 -04:00
philipp
4f7df493af
Bug 1333486 - Add idmcchandler5.dll/idmcchandler5_64.dll to the blocklist. r=marco
2017-04-28 08:44:00 -04:00
Matt Howell
cf05f21b5f
Bug 1356637 - Blocklist a Nahimic DLL which is causing app update problems. r=bsmedberg
...
MozReview-Commit-ID: D9iEcuTMNRx
2017-04-21 08:40:13 -07:00
David Major
0e151a77e3
Bug 1354611: Acquire the stack walk lock in Win64's LdrLoadDll. r=aklotz
...
This will prevent the profiler from suspending a target thread while that thread holds the RtlLookupFunctionEntry lock, which the profiler itself also wants to use.
2017-04-20 15:09:11 -04:00
Phil Ringnalda
eea14233dd
Backed out changeset a50a4f9e972b (bug 1322554) for near-permaorange in Win8 debug updater xpcshell tests
2017-04-06 21:00:26 -07:00
Carl Corcoran
58e0c77274
Bug 1322554: Interpose kernel32!BaseThreadInitThunk to add verification of thread start addresses; r=dmajor
...
MozReview-Commit-ID: CvqZ3gXJyvo
2017-03-29 17:07:37 +02:00
philipp
b4de430b2a
Bug 1333486 - Blocklist Internet Download Manager .dll crashing on Firefox 53+. r=bsmedberg
2017-03-30 12:21:00 -04:00
Sebastian Hengst
61e0b6f042
Backed out changeset 23de710cae6f (bug 1322554) for breaking at least Windows 8 x64 builds (likely all Windows builds). r=backout on a CLOSED TREE
2017-03-30 18:47:15 +02:00
Carl Corcoran
29ae05e995
Bug 1322554: Interpose kernel32!BaseThreadInitThunk to add verification of thread start addresses; r=dmajor
...
MozReview-Commit-ID: I1P2I2um76i
2017-03-29 17:07:37 +02:00
Tom Ritter
4c9bfb8eba
Bug 1344921 relocate initialization (and declaration) of variable to not allow a jump to bypass it r=froydnj
...
MozReview-Commit-ID: LouiRkuCAqb
2017-03-23 14:56:54 -05:00
Jim Mathies
393700633f
Bug 1339908 - Blocklist goobzo associated dlls. r=bsmedberg
...
MozReview-Commit-ID: GFfdAGL1LeG
2017-03-28 09:02:04 -05:00
Marco Castelluccio
8a0815b6e6
Bug 1339083 - Blocklist old K7TotalSecurity versions. r=aklotz
2017-02-14 08:01:00 -05:00
David Major
59dddb89d5
Bug 1335163 - Remove the now-unused XPCOM ASLR checks in the DLL blocklist. r=bsmedberg
...
MozReview-Commit-ID: 2iY5g72d4xg
2017-02-01 10:52:13 +13:00
Mike Hommey
853c307fdf
Bug 1332523 - Move message indicating when the blocklist is initialized after user32.dll was loaded to the blocklist itself. r=dmajor
2017-01-12 11:13:40 +09:00
Chris Peterson
b40ab8d2d8
Bug 1329563 - Remove DLL blocklist checks for Windows XP. r=aklotz
...
MozReview-Commit-ID: 3zZDsjQii3o
2017-01-08 20:55:05 -08:00
Ting-Yu Chou
bd975ba947
Bug 1322463 - Replace snprintf/vsnprintf by SprintfLiteral/VsprintfLiteral for what clang plugin reports on Windows. r=Ehsan
...
MozReview-Commit-ID: 2bFcM53uEPb
2016-12-09 09:47:19 +08:00
Aaron Klotz
317126ad9b
Bug 1311969: Add nzbrcom.dll to blocklist; r=bsmedberg
...
MozReview-Commit-ID: BFVajNJNUdw
2016-11-03 14:22:20 -06:00
Chris Pearce
76b8a2ab7c
Bug 1239690 - Add vorbis.acm version 0.0.3.6 to the DLL blocklist. r=aklotz
...
Vorbis.acm seems to be somehow injecting itself into our process, and also the
Flash process, and intercepting the system audio APIs. Version 0.0.3.6 seems to
be crashing, and it's an obsolete version, so we should block it to stop it
crashing us.
MozReview-Commit-ID: Hk93kG0Ly4Q
2016-09-23 14:18:04 +12:00
Jim Mathies
c8a0767155
Bug 1286306 - Remove temporary assertion now that we have a test. r=aklotz
...
MozReview-Commit-ID: Cg2MjRGIjCO
2016-08-11 09:11:16 -05:00
Sylvestre Ledru
7b66fef498
Bug 1297534 - Revert the blocklist introduced to fix the startup crash in nsPrefBranch::GetIntPref (Websense Endpoint) r=aklotz
...
MozReview-Commit-ID: EMkHwgvwLyt
2016-08-24 00:03:00 +02:00
Sylvestre Ledru
d68192105f
Bug 1294650 - Block the version of websense crashing 48 & 49. Followup, we already had this dll r=aklotz
...
MozReview-Commit-ID: re4nqi94vk
2016-08-12 10:45:37 +02:00