-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fuzzer and CI enhancements, format bug fixes #5415
Conversation
4f78958
to
d25e6bd
Compare
e1fcc16
to
8d8c82e
Compare
I added a 32-bit x86 target, which uses
so is quite weird. Somehow it ends up using the |
8d8c82e
to
9ea3c94
Compare
It uses "values" from Off the top of my head the team has 33 hours a month (per organization). Active projects must take care of usage. BTW: it seems we can retire the CircleCI ASAN job (and use it for something else). |
FWIW, here's what I got with
This consumed a lot of memory (at least 70 GB, probably more), mostly for KeePass and LUKS. |
I think the CircleCI ASan job is with AVX-512, right? Those I added on GitHub Actions are currently at most AVX2. So they're different, and I'd rather keep both. |
Removal reversed. |
This adds support for
--fuzz=LIMIT
, whereLIMIT
is a decimal number specifying the maximum number of mangled ciphertexts to try per format. Since we had already supported an argument to that option to specify a "dictionary", I had to add a check forisdec
and support both features (one at a time). This is a hack, but this whole feature is (and it is not compiled in by default), so it's "fine".This also adds a number of GitHub Actions, which build with ASan and varying other options. One of them even runs
--fuzz=500
, which takes under a minute and fits 2 GB RAM. All of them use gcc 13. To reduce load on the CI infrastructure and have all of these jobs complete sooner,OMP_NUM_THREADS
is now capped to 2, which is hopefully enough to have a good chance of catching multithreading-related bugs. Previously, the auto-detected number of threads on GitHub Actions would be 4, and tests were taking significantly longer (I guess those are logical CPUs in 2 cores).Finally, the
--disable-simd
and--without-openssl
ASan workers (under my personal GitHub account) identified some bugs in the formats, which are now fixed.