Skip to content

Commit

Permalink
[CFE] Fuzzer using Dart.G
Browse files Browse the repository at this point in the history
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 <johnniwinther@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
  • Loading branch information
jensjoha authored and Commit Queue committed Jan 10, 2025
1 parent b022eca commit c95568a
Show file tree
Hide file tree
Showing 14 changed files with 6,377 additions and 148 deletions.
1,519 changes: 1,519 additions & 0 deletions pkg/front_end/lib/src/util/parser_ast_helper.dart

Large diffs are not rendered by default.

357 changes: 209 additions & 148 deletions pkg/front_end/test/crashing_test_case_minimizer_impl.dart

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions pkg/front_end/test/spell_checking_list_tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ amend
amended
amortized
analyses
analytics
analyzerinput
andahalf
animal
animated
Expand Down Expand Up @@ -126,6 +128,7 @@ ca
cafebabe
calloc
camel
cap
capacity
capitalized
caption
Expand Down Expand Up @@ -202,6 +205,7 @@ ctrl
cumulative
cursor
cuts
cutting
cx
da
dacoharkes
Expand Down Expand Up @@ -246,6 +250,7 @@ di
diagnosticable
dictionaries
dictionary
dicy
differentiate
dijkstra
dijkstras
Expand Down Expand Up @@ -314,6 +319,7 @@ exercised
exercises
exitcode
exiting
exotic
expanded
expansive
explainer
Expand Down Expand Up @@ -349,6 +355,7 @@ foos
forbidden
forces
foreground
forever
forgot
forrest
forth
Expand All @@ -367,6 +374,7 @@ futu
futures
fuzz
fuzzed
fuzzer
fuzzing
fx
gallery
Expand Down Expand Up @@ -469,6 +477,7 @@ jc
jk
jlcontreras
joo
jsonrpc
jumped
kernels
kitty
Expand All @@ -491,12 +500,14 @@ lints
listening
listing
ln
locale
locating
logd
logs
loo
lookahead
loopback
lsp
ma
mac
maker
Expand All @@ -513,6 +524,7 @@ micro
migrations
mimicking
minimize
minimized
minimizer
minimizing
minitest
Expand Down Expand Up @@ -559,6 +571,7 @@ nondefault
nonexisting
noo
noted
notification
noting
nottest
nq
Expand Down Expand Up @@ -590,12 +603,14 @@ oracle
ot
outbound
outliers
outstanding
overflows
overhead
overlay
overly
ox
pack
packet
paging
paint
parallax
Expand Down Expand Up @@ -678,13 +693,15 @@ refname
refusing
regards
regenerate
regex
regressions
reify
reject
relinked
remap
remapping
remaps
removeable
rendition
reorder
reordering
Expand Down Expand Up @@ -727,6 +744,7 @@ sdkroot
sdks
secondary
secondtest
secure
seemingly
segment
selection
Expand All @@ -752,6 +770,7 @@ sigwinch
silence
simplistic
slashes
sleep
slight
sliver
smoke
Expand All @@ -773,6 +792,7 @@ spurious
sqrt
squared
ss
ssls
sssp
stacks
stashed
Expand All @@ -788,6 +808,7 @@ stringy
strip
strongest
stub's
stuck
stupid
subcommand
subdir
Expand All @@ -813,6 +834,7 @@ tails
taskset
te
templates
testfile
theoretically
there'll
thereby
Expand Down Expand Up @@ -889,6 +911,7 @@ vf
virtually
visualization
vp
vscode
vt
vte
waited
Expand All @@ -906,6 +929,7 @@ wins
wording
workers
workflow
workspace
worlds
worse
wrongly
Expand Down
Loading

0 comments on commit c95568a

Please sign in to comment.