BunProfile: SHA3, X25519, markdown.ansi, rapidhash; disable WebView#9
Merged
dylan-conway merged 2 commits intomainfrom Apr 19, 2026
Merged
BunProfile: SHA3, X25519, markdown.ansi, rapidhash; disable WebView#9dylan-conway merged 2 commits intomainfrom
dylan-conway merged 2 commits intomainfrom
Conversation
…View - Add sha3-224/256/384/512 to CryptoHasher algorithm pool - Add BunSubtleCryptoGenerator exercising crypto.subtle.digest with SHA3-* and X25519 generateKey/deriveBits - Exercise Bun.markdown.ansi alongside .html - Register Bun.hash.rapidhash builtin - Set Bun.WebView = undefined in codePrefix so fuzz samples don't spawn browser processes
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughAdded SHA3 algorithms and a rapidhash builtin, introduced a new Changes
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
V8 removed this flag, which caused testJSEnvironmentLive to fail with 'Warning: unknown flag --experimental-wasm-rab-integration'.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds fuzz coverage for Bun APIs that landed recently and aren't yet exercised by the profile.
sha3-224/256/384/512to theCryptoHasheralgorithm pool, and add a newBunSubtleCryptoGeneratorthat callscrypto.subtle.digest("SHA3-256/384/512", …)(Update BoringSSL, add SHA3 to WebCrypto and node:crypto bun#29323).crypto.subtle.generateKey({name:"X25519"})→deriveBits(Implement X25519 deriveBits in SubtleCrypto bun#29152).Bun.markdown.ansi: the markdown generator now picks betweenhtmlandansi, andansiis registered on theBun.markdownbuiltin (Add markdown ANSI pretty-printer forbun ./file.mdbun#28833).Bun.hash.rapidhash: registered as a builtin (was missing).Bun.WebView: set toundefinedincodePrefixso mutated samples can't spawn browser processes mid-fuzz, same treatment asBun.FFI(Bun.WebView — headless browser automation (WebKit + Chrome backends) bun#28185).These changes are independent of #8 (which covers
Bun.cron,sliceAnsi, etc.) and apply cleanly on top of it with one trivial conflict in theBun.markdownmethod list.Test plan
swift buildpasses with no new warnings