Jesse Schwartzentruber
c302f2a6b8
Bug 1904855 - Add missing toplevel actor to IPCFuzzController. r=decoder
...
Differential Revision: https://phabricator.services.mozilla.com/D214972
2024-06-26 16:33:14 +00:00
Christian Holler (:decoder)
eda94dc327
Bug 1903326 - Add missing toplevel actor to IPCFuzzController. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D214137
2024-06-18 17:23:23 +00:00
Christian Holler (:decoder)
b547f02b10
Bug 1896359 - IPCFuzzController: Uniformly select target protocol. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D210440
2024-05-22 08:03:33 +00:00
Christian Holler (:decoder)
15b47f092a
Bug 1896674 - Add allow/deny lists to IPCFuzzController. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D210439
2024-05-22 08:03:32 +00:00
Christian Holler (:decoder)
3ef61037db
Bug 1891946 - Remove LAZY_SEND_BIT in IPCFuzzController. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D207714
2024-04-24 08:05:30 +00:00
Christian Holler (:decoder)
0410e669b9
Bug 1891945 - IPC Fuzzing: Improve the MOZ_FUZZ_IPC_PROTO code. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D207713
2024-04-24 08:05:29 +00:00
Christian Holler (:decoder)
2ba90e884b
Bug 1891938 - Add better debug support to IPCFuzzController. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D207712
2024-04-24 08:05:29 +00:00
Christian Holler (:decoder)
5c787613e1
Bug 1878958 - Add IPCMessageTypeIsSync and use it in IPCFuzzController. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D200874
2024-02-19 21:45:33 +00:00
Cristina Horotan
41faadc808
Backed out changeset 3d865fe1a532 (bug 1878958) for causing lint failures. CLOSED TREE
2024-02-19 18:48:28 +02:00
Christian Holler (:decoder)
97a9c1de3b
Bug 1878958 - Add IPCMessageTypeIsSync and use it in IPCFuzzController. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D200874
2024-02-19 16:28:54 +00:00
Christian Holler (:decoder)
c3aa3d7bf5
Bug 1866465 - Handle special messages in IPC fuzzing. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D194646
2023-11-28 11:16:09 +00:00
Christian Holler (:decoder)
d409b6402e
Bug 1866462 - Avoid seqno desync with multiple trigger messages in fuzzing. r=truber
...
Depends on D194644
Differential Revision: https://phabricator.services.mozilla.com/D194645
2023-11-28 11:16:09 +00:00
Christian Holler (:decoder)
96a5e2a8df
Bug 1866429 - Fix header copy in IPC_SingleMessage target. r=truber
...
Depends on D194643
Differential Revision: https://phabricator.services.mozilla.com/D194644
2023-11-28 11:16:08 +00:00
Christian Holler (:decoder)
7504f01021
Bug 1866421 - Make Nyx::is_replay work before snapshot point. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D194643
2023-11-28 11:16:08 +00:00
Christian Holler (:decoder)
01f1337180
Bug 1865046 - Check ProtocolId cast in IPC fuzzer. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D193772
2023-11-28 11:16:07 +00:00
Sandor Molnar
f2a0de9c7c
Backed out 5 changesets (bug 1866429, bug 1866421, bug 1865046, bug 1866462, bug 1866465) for causing build bustage at tools/fuzzing/ipc/IPCFuzzController.cpp CLOSED TREE
...
Backed out changeset a021bb2b97e1 (bug 1866465)
Backed out changeset cd89e550b68e (bug 1866462)
Backed out changeset acbaa77e7a0e (bug 1866429)
Backed out changeset 9c015650767e (bug 1866421)
Backed out changeset 1dc2d02c0432 (bug 1865046)
2023-11-27 20:31:27 +02:00
Christian Holler (:decoder)
2de767ce5f
Bug 1866465 - Handle special messages in IPC fuzzing. r=truber
...
Depends on D194645
Differential Revision: https://phabricator.services.mozilla.com/D194646
2023-11-27 16:35:21 +00:00
Christian Holler (:decoder)
626cb3b019
Bug 1866462 - Avoid seqno desync with multiple trigger messages in fuzzing. r=truber
...
Depends on D194644
Differential Revision: https://phabricator.services.mozilla.com/D194645
2023-11-27 16:35:21 +00:00
Christian Holler (:decoder)
e16e7f5f1a
Bug 1866429 - Fix header copy in IPC_SingleMessage target. r=truber
...
Depends on D194643
Differential Revision: https://phabricator.services.mozilla.com/D194644
2023-11-27 16:35:20 +00:00
Christian Holler (:decoder)
a7042f18a9
Bug 1866421 - Make Nyx::is_replay work before snapshot point. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D194643
2023-11-27 16:35:20 +00:00
Christian Holler (:decoder)
185465998a
Bug 1865046 - Check ProtocolId cast in IPC fuzzer. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D193772
2023-11-27 16:35:20 +00:00
Christian Holler (:decoder)
ae71eea535
Bug 1863728 - IPC Fuzzing: Add preserveHeader mode. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D193062
2023-11-14 09:59:42 +00:00
Christian Holler (:decoder)
d19ba546db
Bug 1864487 - Improve the decision debug message in IPC fuzzing. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D193452
2023-11-14 09:59:42 +00:00
Norisz Fay
725a971e46
Backed out 2 changesets (bug 1863728, bug 1864487) for causing bustage on IPCFuzzController.cpp CLOSED TREE
...
Backed out changeset 309a36cb8a63 (bug 1863728)
Backed out changeset 697d64b1b766 (bug 1864487)
2023-11-14 00:00:21 +02:00
Christian Holler (:decoder)
79e5a64e33
Bug 1863736 - Avoid skipping sequence numbers in IPCFuzzController. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D193067
2023-11-13 20:31:45 +00:00
Christian Holler (:decoder)
4dcdc514b2
Bug 1863735 - Release early on error in IPC fuzzing. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D193066
2023-11-13 20:31:44 +00:00
Christian Holler (:decoder)
18d5f2a8fb
Bug 1863732 - Fix divide by zero error in IPCFuzzController. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D193065
2023-11-13 20:31:44 +00:00
Christian Holler (:decoder)
c191f97ac6
Bug 1863731
- IPC Fuzzing: Add MOZ_FUZZ_PROTOID_FILTER. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D193064
2023-11-13 20:31:44 +00:00
Christian Holler (:decoder)
59073b8d52
Bug 1863729 - IPC Fuzzing: Add MOZ_FUZZ_DUMP_FILTER. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D193063
2023-11-13 20:31:43 +00:00
Christian Holler (:decoder)
a2e1866e22
Bug 1863728 - IPC Fuzzing: Add preserveHeader mode. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D193062
2023-11-13 20:31:43 +00:00
Christian Holler (:decoder)
28a1a00a47
Bug 1864487 - Improve the decision debug message in IPC fuzzing. r=truber
...
Depends on D193451
Differential Revision: https://phabricator.services.mozilla.com/D193452
2023-11-13 19:52:47 +00:00
Christian Holler (:decoder)
bec852555c
Bug 1864488 - Avoid reply message types in IPC fuzzing. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D193451
2023-11-13 19:52:46 +00:00
Christian Holler (:decoder)
c0d3b745c4
Bug 1860108 - Add IPC_SingleMessage fuzzer. r=nika,truber
...
Differential Revision: https://phabricator.services.mozilla.com/D191468
2023-11-06 22:22:59 +00:00
Christian Holler (:decoder)
63b0a25896
Bug 1861997
- Add OnMessageError handler to IPC fuzzing. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D192240
2023-10-30 18:16:55 +00:00
Christian Holler
afee8d1548
Bug 1854349 - Make trigger in IPC fuzzing configurable. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D188860
2023-10-10 10:33:46 +00:00
Christian Holler
53368507cb
Bug 1855915 - Make IPCFuzzController less verbose when actors are destroyed. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D189631
2023-10-04 10:01:27 +00:00
Christian Holler
2740047e37
Bug 1853933 - Make IPCFuzzController less verbose. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D188593
2023-09-21 08:26:27 +00:00
Christian Holler (:decoder)
157e74a7f7
Bug 1838594 - IPC fuzzing: Add an additional sync with main thread. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D181061
2023-06-20 19:50:01 +00:00
Christian Holler (:decoder)
9a0fd3c3fd
Bug 1838591 - Avoid shrinkTo call in IPCFuzzController. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D181055
2023-06-20 19:49:56 +00:00
Christian Holler (:decoder)
3cb30b35f1
Bug 1821010 - Remove legacy IPC fuzzing code. r=truber,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D171981
2023-03-23 14:53:22 +00:00
Butkovits Atila
f4a0d95530
Backed out changeset 7f4d99410d00 (bug 1821010) for causing bustages at content_parent_ipc_libfuzz.cpp. CLOSED TREE
2023-03-15 16:20:30 +02:00
Christian Holler (:decoder)
8e538acac8
Bug 1821010 - Remove legacy IPC fuzzing code. r=truber,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D171981
2023-03-15 13:44:29 +00:00
Christian Holler (:decoder)
e24d86e84f
Bug 1821006 - Fix buffer initialization bug in IPCFuzzController. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D171980
2023-03-14 07:50:37 +00:00
Christian Holler (:decoder)
3b82ba8433
Bug 1821008 - Add nyx abort macro and more debug messages. r=truber,glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D171979
2023-03-14 07:50:36 +00:00
Nika Layzell
9d6bb19c23
Bug 1809753 - Part 4: Remove unnecessary GetMainThreadEventTarget, r=mccr8
...
This method always returned GetMainThreadSerialEventTarget(). This patch
switches all callers over to use that method instead.
We can't easily switch all calls to be calls to NS_GetMainThread(), as there is
no version of that method returning a bare nsIThread* instance.
I didn't introduce one, as we may want to add a lock around mMainThread in the
future, which would require removing nsThreadManager::GetMainThreadWeak. As
this method only returns nsISerialEventTarget, it method could remain
implemented, however, by returning a statically allocated fake event target
which forwards dispatches (and QIs to nsIThread) to the real main thread.
Differential Revision: https://phabricator.services.mozilla.com/D166608
2023-01-16 23:14:12 +00:00
Sandor Molnar
41b78439d0
Backed out 6 changesets (bug 1809752, bug 1809753) for causing perma failures in browser/components/firefoxview/tests/browser/browser_feature_callout_position.js
...
Backed out changeset ea05784d74c4 (bug 1809753)
Backed out changeset 7c9b20eebcc8 (bug 1809753)
Backed out changeset d0267ac2256d (bug 1809753)
Backed out changeset aa9f2971bd6f (bug 1809753)
Backed out changeset f0d9fcfaa6f8 (bug 1809752)
Backed out changeset 6d58c799cffe (bug 1809752)
2023-01-17 03:19:24 +02:00
Nika Layzell
f7772bb6ae
Bug 1809753 - Part 4: Remove unnecessary GetMainThreadEventTarget, r=mccr8
...
This method always returned GetMainThreadSerialEventTarget(). This patch
switches all callers over to use that method instead.
We can't easily switch all calls to be calls to NS_GetMainThread(), as there is
no version of that method returning a bare nsIThread* instance.
I didn't introduce one, as we may want to add a lock around mMainThread in the
future, which would require removing nsThreadManager::GetMainThreadWeak. As
this method only returns nsISerialEventTarget, it method could remain
implemented, however, by returning a statically allocated fake event target
which forwards dispatches (and QIs to nsIThread) to the real main thread.
Differential Revision: https://phabricator.services.mozilla.com/D166608
2023-01-16 23:14:12 +00:00
Ray Kraesig
54ac39289a
Bug 1772908 - [1/6] Drive-by cleanup: simplify use of SyncRunnable r=xpcom-reviewers,necko-reviewers,nika,valentin
...
`SyncRunnable`'s helper functions take an `nsIRunnable *`; but the most
common way of building nsIRunnables, `NS_NewRunnableFunction`, returns
an `already_AddRefed<nsIRunnable>` instead. Add two new overloads of the
helper functions to eliminate the impedance mismatch.
(This does result in an uncomfortable amount of code duplication. While
we could eliminate that with appropriate use of SFINAE, it'll be simpler
if we wait for C++20 and its `requires` keyword.)
Additionally, add two explicitly-deleted overloads to catch and prevent
a previously-common antipattern that presumably resulted from this type
mismatch: accidentally wrapping the actual runnable in two layers of
`SyncRunnable`. Fix the former use-sites appropriately. (This was
probably harmless, but is also probably best avoided.)
No functional changes. This is in some sense a continuation of bug
1281626.
(This is no longer actually relevant to bug 1772908 due to a different
approach being taken. It remains in the patchset anyway, for
simplicity's sake.)
Differential Revision: https://phabricator.services.mozilla.com/D157131
2022-11-04 21:04:18 +00:00
Christian Holler
385aa3a622
Bug 1782507 - Pin IPC fuzzing to new actor / last port after constructor. r=truber
...
Depends on D153344
Differential Revision: https://phabricator.services.mozilla.com/D153345
2022-08-05 17:23:00 +00:00
Christian Holler
53b78333a2
Bug 1782505 - Observe destroyed actors in IPC fuzzing. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D153344
2022-08-02 22:06:28 +00:00