Skip to content
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

JSPI Fuzzing: Interleave executions #7226

Merged
merged 55 commits into from
Jan 24, 2025
Merged
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
93c4196
star
kripken Jan 10, 2025
e220432
work
kripken Jan 10, 2025
211d585
chak
kripken Jan 10, 2025
9610d85
fixes
kripken Jan 10, 2025
ade1ebe
fixes
kripken Jan 10, 2025
bf5d537
fix
kripken Jan 10, 2025
8b25475
temp
kripken Jan 10, 2025
5514a2c
fix
kripken Jan 10, 2025
96df913
sad
kripken Jan 10, 2025
02b6bfd
fix
kripken Jan 10, 2025
824908c
work
kripken Jan 10, 2025
ef26967
work
kripken Jan 10, 2025
1ef833a
test
kripken Jan 10, 2025
70046a7
work
kripken Jan 10, 2025
ba381d4
test
kripken Jan 11, 2025
adc74f2
moof
kripken Jan 11, 2025
5fbb4d5
todo
kripken Jan 11, 2025
5af6120
start
kripken Jan 11, 2025
9e68a3b
test
kripken Jan 11, 2025
ed01751
test
kripken Jan 11, 2025
d01a605
fix?
kripken Jan 16, 2025
0f3b1dd
Merge remote-tracking branch 'origin/main' into d8.test
kripken Jan 16, 2025
bfb4d38
coverage run too
kripken Jan 16, 2025
c053377
Merge remote-tracking branch 'origin/main' into d8.test
kripken Jan 16, 2025
8d1a559
no errors on invalid yml, very sad
kripken Jan 16, 2025
94d9d01
Merge branch 'd8.test' into fuzz.interleave.jspi
kripken Jan 16, 2025
d806a95
jsvu needs bash
kripken Jan 17, 2025
6931fd5
Merge remote-tracking branch 'myself/d8.test' into fuzz.interleave.jspi
kripken Jan 17, 2025
7b00d01
DEBUG-REVERTME
kripken Jan 17, 2025
5bf3756
work around alpine testing REVERTME
kripken Jan 17, 2025
0d7668a
Revert "work around alpine testing REVERTME"
kripken Jan 17, 2025
e7c55e3
Revert "DEBUG-REVERTME"
kripken Jan 17, 2025
b793595
try to delete rather than skip
kripken Jan 17, 2025
a44418f
undo.moar
kripken Jan 17, 2025
d479e99
try
kripken Jan 17, 2025
14816ee
finish
kripken Jan 17, 2025
48e9392
apply to release too
kripken Jan 17, 2025
686d39b
Merge branch 'd8.test' into fuzz.interleave.jspi
kripken Jan 17, 2025
ea31e3c
Merge remote-tracking branch 'myself/fuzz.interleave.jspi' into fuzz.…
kripken Jan 17, 2025
09badf2
undo
kripken Jan 17, 2025
686403f
Merge remote-tracking branch 'origin/main' into fuzz.interleave.jspi
kripken Jan 17, 2025
b7abf06
Merge remote-tracking branch 'origin/main' into fuzz.interleave.jspi
kripken Jan 17, 2025
13a4a4d
fix test
kripken Jan 18, 2025
3c246b9
try to fix windows
kripken Jan 18, 2025
663a667
DEBUG.WINDOWS.1
kripken Jan 21, 2025
110069b
DEBUG.WINDOWS.2
kripken Jan 21, 2025
3a57dad
DEBUG.WINDOWS.3
kripken Jan 21, 2025
d570dcc
DEBUG.WINDOWS.4
kripken Jan 21, 2025
639c964
UNDO
kripken Jan 21, 2025
f4d4311
clean
kripken Jan 21, 2025
9cca44c
split
kripken Jan 22, 2025
3bfdbe5
split
kripken Jan 22, 2025
15fa8fe
simpl
kripken Jan 22, 2025
2daccd2
add chaining todo
kripken Jan 23, 2025
1dd5feb
add chaining todo
kripken Jan 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
split
kripken committed Jan 22, 2025
commit 9cca44c4a4b288e44857604471e6589a2de28628
10 changes: 7 additions & 3 deletions test/lit/d8/fuzz_shell_jspi.wast
Original file line number Diff line number Diff line change
@@ -22,12 +22,16 @@
)
)

;; Apply JSPI: prepend JSPI = 1 and remove comments around async and await.
;; Apply JSPI: first, prepend JSPI = 1

;; RUN: echo "JSPI = 1;" > %t.js

;; Use |echo| here to avoid quoting issues on windows paths.
;; RUN: echo %S | node -e "process.stdout.write(require('fs').readFileSync(path.join(require('fs').readFileSync(0, 'utf-8'), '..', '..', '..', 'scripts', 'fuzz_shell.js'), 'utf-8').replace(/[/][*] async [*][/]/g, 'async').replace(/[/][*] await [*][/]/g, 'await'))" >> %t.js
;; Copy fuzz_shell to a temp file that we will modify.
;; RUN: cat %S/../../../scripts/fuzz_shell.js > %t.0.js

;; Read that temp file and remove comments around async and await. (use |echo|
;; here to avoid quoting issues on windows paths)
;; RUN: cat %t.0.js | node -e "process.stdout.write(require('fs').readFileSync(0, 'utf-8').replace(/[/][*] async [*][/]/g, 'async').replace(/[/][*] await [*][/]/g, 'await'))" >> %t.js

;; Append another run with a random seed, so we reorder and delay execution.
;; RUN: echo "callExports(42);" >> %t.js