Граф коммитов

252 Коммитов

Автор SHA1 Сообщение Дата
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 (:decoder) 3fd3582189 Bug 1859998 - Improve Nyx file dump API. r=truber
Differential Revision: https://phabricator.services.mozilla.com/D191397
2023-10-19 14:17:46 +00:00
serge-sans-paille f839aeb59b Bug 1858299 - moz.yaml file should not start with --- r=tjr
That's usually a requirement for yaml files, but this break updatebot,
so add an exception here.

Differential Revision: https://phabricator.services.mozilla.com/D190651
2023-10-13 11:56:37 +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
serge-sans-paille d3e574bc41 Bug 1857234 - Have mach vendor's `**` globbing match hidden files r=tjr,devtools-reviewers,cubeb-reviewers,padenot,ochameau
This patch contains three changes:

1. a local version of glb.iglob in vendor_manifest.py that always
   matches hidden files for '**'. I've tested it on Python 3.5 up to
   3.12 and it works as expected.

2. a cleanup of many moz.yaml files that got convluted because of the
   previous behavior of '**'

3. removal of a few useless files that are now caught by the '**'
   globbing.

Differential Revision: https://phabricator.services.mozilla.com/D190195
2023-10-10 08:21:13 +00:00
serge-sans-paille 58903aaa06 Bug 1856988 - Vendor libfuzzer using `mach vendor` r=decoder
We hit some limitations of the globbing system in exclude file, which
relies on glob.iglob and skips dotfiles...

As a side effect update the license to the one actually shipped with
libfuzzer.

Differential Revision: https://phabricator.services.mozilla.com/D190068
2023-10-05 18:45:40 +00:00
Cristian Tuns 39cbd706eb Backed out changeset 6b3aa93d1a33 (bug 1856988) for causing lint failures in moz.yaml CLOSED TREE 2023-10-05 10:13:05 -04:00
serge-sans-paille e9ccf17041 Bug 1856988 - Vendor libfuzzer using `mach vendor` r=decoder
We hit some limitations of the globbing system in exclude file, which
relies on glob.iglob and skips dotfiles...

As a side effect update the license to the one actually shipped with
libfuzzer.

Differential Revision: https://phabricator.services.mozilla.com/D190068
2023-10-05 13:23: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
Manuel Bucher f71f056ccf Bug 1846540 - Improve IPC fuzzing doc r=decoder
Added my notes from when I was reproducing an IPC test failure.

* fix deprecation warning in fuzzfetch
* fix one spelling mistake
* add example command for IPC test case reproduction

Differential Revision: https://phabricator.services.mozilla.com/D186708
2023-09-05 13:18:15 +00:00
Mike Hommey 8f58459578 Bug 1841974 - Work around a rust bug that causes bogus ODR violation detection. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D182879
2023-07-07 11:02:28 +00:00
Norisz Fay 7e2bbefa0e Backed out 2 changesets (bug 1841974) for causing AddressSanitizer, Assertion failures on shared-libraries-win32.cc CLOSED TREE
Backed out changeset c7218806eb3f (bug 1841974)
Backed out changeset 7da6f26cd035 (bug 1841974)
2023-07-07 01:06:21 +03:00
Norisz Fay 05bd04294c Bug 1841974 - Fix for Fuzzer related SM bustage 2023-07-06 23:00:42 +03:00
Christian Holler (:decoder) dd6ef15900 Bug 1838595 - Nyx: Add a file dumping API. r=truber
Depends on D181058

Differential Revision: https://phabricator.services.mozilla.com/D181059
2023-06-20 19:51:47 +00:00
Christian Holler (:decoder) 72feb31526 Bug 1838596 - Nyx: Add an API to retrieve the raw fuzzing buffer. r=truber
Depends on D181057

Differential Revision: https://phabricator.services.mozilla.com/D181058
2023-06-20 19:51:47 +00:00
Christian Holler (:decoder) 0071128928 Bug 1838598 - Nyx: Adjust replay format. r=truber
Differential Revision: https://phabricator.services.mozilla.com/D181057
2023-06-20 19:51:47 +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
serge-sans-paille a2b9339758 Bug 1831979 - Synchronize psutil requirements with build/psutil_requirements.txt r=ahochheiden
psutil is a complex requirements and we don't want to rebuild it,
because it's a native requirements. So use the same requirement as the
one we use to build python.

Differential Revision: https://phabricator.services.mozilla.com/D177487
2023-05-10 07:25:11 +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
Marco Castelluccio f69e697461 Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D165395
2022-12-23 22:45:46 +00:00
Jesse Schwartzentruber 13974503c4 Bug 1798521 - Update Grizzly smoke test to run headless. r=tsmith
Differential Revision: https://phabricator.services.mozilla.com/D163220
2022-11-28 17:27:12 +00:00
Marco Castelluccio de29bc2f0e Bug 1790816 - Reformat tools/ with isort. r=linter-reviewers,perftest-reviewers,sparky,sylvestre DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162660
2022-11-24 10:58:05 +00:00
Chris H-C fc358ad992 Bug 1799442 - Update Glean to v51.8.2, rkv to 0.18 r=janerik,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D162345
2022-11-18 13:56:27 +00:00
Marian-Vasile Laza 023eed4276 Backed out changeset 75acc8e81d81 (bug 1799442) for causing WR tidy bustage. CLOSED TREE 2022-11-18 14:23:58 +02:00
Chris H-C 7655a12f65 Bug 1799442 - Update Glean to v51.8.2, rkv to 0.18 r=janerik,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D162345
2022-11-18 10:15:40 +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
Kagami Sascha Rosylight 16ea24f6cc Bug 1769290 - Part 26: Emit errors from JSHandleRootedTypedefChecker r=andi,geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D151842
2022-08-09 14:13:30 +00:00
Christian Holler 401cd59012 Bug 1782502 - Fix incorrect log message when fuzzing with Nyx. r=truber
Differential Revision: https://phabricator.services.mozilla.com/D153346
2022-08-06 08:29:27 +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