Skip to content

Commit c95568a

Browse files
jensjohaCommit Queue
authored andcommitted
[CFE] Fuzzer using Dart.G
This is the first commit of this effort. It's not polished and mostly generates nonsense output that, though, should not crash the compiler. Further work might add options to create less-nonsense output). Change-Id: Ic7f140ea6f248bfa9a0e62ca37326def1d0a5086 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/403601 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Jens Johansen <[email protected]>
1 parent b022eca commit c95568a

14 files changed

+6377
-148
lines changed

pkg/front_end/lib/src/util/parser_ast_helper.dart

Lines changed: 1519 additions & 0 deletions
Large diffs are not rendered by default.

pkg/front_end/test/crashing_test_case_minimizer_impl.dart

Lines changed: 209 additions & 148 deletions
Large diffs are not rendered by default.

pkg/front_end/test/spell_checking_list_tests.txt

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ amend
3838
amended
3939
amortized
4040
analyses
41+
analytics
42+
analyzerinput
4143
andahalf
4244
animal
4345
animated
@@ -126,6 +128,7 @@ ca
126128
cafebabe
127129
calloc
128130
camel
131+
cap
129132
capacity
130133
capitalized
131134
caption
@@ -202,6 +205,7 @@ ctrl
202205
cumulative
203206
cursor
204207
cuts
208+
cutting
205209
cx
206210
da
207211
dacoharkes
@@ -246,6 +250,7 @@ di
246250
diagnosticable
247251
dictionaries
248252
dictionary
253+
dicy
249254
differentiate
250255
dijkstra
251256
dijkstras
@@ -314,6 +319,7 @@ exercised
314319
exercises
315320
exitcode
316321
exiting
322+
exotic
317323
expanded
318324
expansive
319325
explainer
@@ -349,6 +355,7 @@ foos
349355
forbidden
350356
forces
351357
foreground
358+
forever
352359
forgot
353360
forrest
354361
forth
@@ -367,6 +374,7 @@ futu
367374
futures
368375
fuzz
369376
fuzzed
377+
fuzzer
370378
fuzzing
371379
fx
372380
gallery
@@ -469,6 +477,7 @@ jc
469477
jk
470478
jlcontreras
471479
joo
480+
jsonrpc
472481
jumped
473482
kernels
474483
kitty
@@ -491,12 +500,14 @@ lints
491500
listening
492501
listing
493502
ln
503+
locale
494504
locating
495505
logd
496506
logs
497507
loo
498508
lookahead
499509
loopback
510+
lsp
500511
ma
501512
mac
502513
maker
@@ -513,6 +524,7 @@ micro
513524
migrations
514525
mimicking
515526
minimize
527+
minimized
516528
minimizer
517529
minimizing
518530
minitest
@@ -559,6 +571,7 @@ nondefault
559571
nonexisting
560572
noo
561573
noted
574+
notification
562575
noting
563576
nottest
564577
nq
@@ -590,12 +603,14 @@ oracle
590603
ot
591604
outbound
592605
outliers
606+
outstanding
593607
overflows
594608
overhead
595609
overlay
596610
overly
597611
ox
598612
pack
613+
packet
599614
paging
600615
paint
601616
parallax
@@ -678,13 +693,15 @@ refname
678693
refusing
679694
regards
680695
regenerate
696+
regex
681697
regressions
682698
reify
683699
reject
684700
relinked
685701
remap
686702
remapping
687703
remaps
704+
removeable
688705
rendition
689706
reorder
690707
reordering
@@ -727,6 +744,7 @@ sdkroot
727744
sdks
728745
secondary
729746
secondtest
747+
secure
730748
seemingly
731749
segment
732750
selection
@@ -752,6 +770,7 @@ sigwinch
752770
silence
753771
simplistic
754772
slashes
773+
sleep
755774
slight
756775
sliver
757776
smoke
@@ -773,6 +792,7 @@ spurious
773792
sqrt
774793
squared
775794
ss
795+
ssls
776796
sssp
777797
stacks
778798
stashed
@@ -788,6 +808,7 @@ stringy
788808
strip
789809
strongest
790810
stub's
811+
stuck
791812
stupid
792813
subcommand
793814
subdir
@@ -813,6 +834,7 @@ tails
813834
taskset
814835
te
815836
templates
837+
testfile
816838
theoretically
817839
there'll
818840
thereby
@@ -889,6 +911,7 @@ vf
889911
virtually
890912
visualization
891913
vp
914+
vscode
892915
vt
893916
vte
894917
waited
@@ -906,6 +929,7 @@ wins
906929
wording
907930
workers
908931
workflow
932+
workspace
909933
worlds
910934
worse
911935
wrongly

0 commit comments

Comments
 (0)