Rationale:
Go through all git commits and list dartfuzz versions.
Change-Id: I2d6ac23fcff51631a40a97bb53289fd60e65000c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/116747
Reviewed-by: Aart Bik <ajcbik@google.com>
Commit-Queue: Felicitas Hetzelt <felih@google.com>
This reverts commit c8f3f132ad.
Revert "[vm] Fix CoreSnapshotSize and StandaloneSnapshotSize to account for the image page size."
This reverts commit 1d6ab52f38.
Bug: b/140791872
Change-Id: I34c42310e3ec4a09048967f34a0e1ddc6a67ea93
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/116688
Reviewed-by: Alexander Aprelev <aam@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Rationale:
Let's stress test this feature again. Note
that this will increase the number of skipped
tests quite a bit since the CFE complains
about a lot of the generated constructs.
It is still TBD to find out if this is
in the grammar or in the FE.
https://github.com/dart-lang/sdk/issues/38231
Change-Id: Iec4bcb2aa9039f5b01293f82e3e156cc2e35414f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/116663
Reviewed-by: Felicitas Hetzelt <felih@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Aart Bik <ajcbik@google.com>
Rationale:
Randomly overvwrite some methods of the parent in the child classes.
Change-Id: I64533c255915d3c1614ba41883ed6b5fd319c5c7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/115009
Commit-Queue: Felicitas Hetzelt <felih@google.com>
Reviewed-by: Aart Bik <ajcbik@google.com>
Rationale:
Add space between fp and seed parameter. Check whether generate variable
is set in TestRunnerKBC.
Change-Id: I3f1b21b65e75286d2ca560d9fa8c05ed3e4e5f55
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/116542
Reviewed-by: Aart Bik <ajcbik@google.com>
Commit-Queue: Felicitas Hetzelt <felih@google.com>
Rationale:
If we see many duplicated errors, the filter keywords can be used to
remove these from the output.
Change-Id: I7cf5c035a92aad465aa4dbfec99a03b5a64ca69d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/115820
Reviewed-by: Ben Konyi <bkonyi@google.com>
Reviewed-by: Aart Bik <ajcbik@google.com>
Commit-Queue: Felicitas Hetzelt <felih@google.com>
Rationale:
I need a bit more time to investigate the failures.
No need to have massive amounts of divergences in
our nightly in the meantime.
https://github.com/dart-lang/sdk/issues/38231
Change-Id: I2fee0ba36292a2a38fce1d9a4727e5c4b74f0f1c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/115842
Reviewed-by: Felicitas Hetzelt <felih@google.com>
Commit-Queue: Aart Bik <ajcbik@google.com>
Rationale:
Control flow collections are already the default for
a while, but this TODO was still there. We are now
testing all features of CFC fully. Also did some
comment cleanup and removed old-style "new" syntax.
Moved constructors into try-catch just in case
we will add code into constructors in the future.
Change-Id: I557650575f41d7501a0c6f37c07756ca47ad54fd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/115444
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Aart Bik <ajcbik@google.com>
Rationale:
The limit on the number of classes is the same as the number of methods
per class, leading to exponential growth of the generated program if
this limit is raised. This patch introduces an optional parameter to
increase the limit separately for different use cases.
Change-Id: Id74d00a47494162a67fd980c163243690c5c1ebb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/115004
Commit-Queue: Felicitas Hetzelt <felih@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
Reviewed-by: Aart Bik <ajcbik@google.com>
Rationale:
Adding a new element to a Map while iterating over the same Map
will cause an exception. This patch should avoid such assignments.
Change-Id: I82e461deabcf41291fe0d584905fbb03da2c8b08
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114752
Commit-Queue: Felicitas Hetzelt <felih@google.com>
Reviewed-by: Aart Bik <ajcbik@google.com>
Rationale:
Compiling takes time, so we should make sure that most of the compiled
code is actually executed.
Change-Id: I9c4af7e1940035a7ee2518f5b905dc204d8d0d8e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/115007
Reviewed-by: Aart Bik <ajcbik@google.com>
Commit-Queue: Felicitas Hetzelt <felih@google.com>
Rationale:
Due to recent performance degradation, we reduce the limit on emitted
methods and classes back to its old value.
Change-Id: Icd3c6bb65a380ded5b0a72b2a569c47d1d67e5c6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114749
Reviewed-by: Aart Bik <ajcbik@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Felicitas Hetzelt <felih@google.com>
Rationale:
Allow multiple classes to inherit from the same parent and to call
arbitrary methods of the direct parent.
Change-Id: I2db20811c252b1f9008154632f16b625333f4b56
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114050
Reviewed-by: Aart Bik <ajcbik@google.com>
Commit-Queue: Felicitas Hetzelt <felih@google.com>
Rationale:
We should advocate use of spread and control flow collections
Change-Id: I5e6e86b7f0506e4b44c70105ff574058a5910ecf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114440
Reviewed-by: Felicitas Hetzelt <felih@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Aart Bik <ajcbik@google.com>
Rationale:
We were using an OPTIONS environment that no longer
worked (if it ever worked?). We can just pass the
right compiler flags to precompiler2.
Change-Id: Ifb86c377eab4cc11bd2e9dc2996654e707fadc4f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114420
Reviewed-by: Felicitas Hetzelt <felih@google.com>
Commit-Queue: Aart Bik <ajcbik@google.com>
Rationale:
So far only variables of type ffi.Int32 were created. This patch
adds the remaining primitive types.
Change-Id: I3ded3c4c50d6867a879dfc95a72d2284cafa6875
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114260
Commit-Queue: Felicitas Hetzelt <felih@google.com>
Reviewed-by: Aart Bik <ajcbik@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
Rationale:
Extend the list of special values to always include boundary values +-1
Change-Id: I008967b306ed5891369f1669ee11c9e634e0f6f0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114186
Reviewed-by: Aart Bik <ajcbik@google.com>
Commit-Queue: Felicitas Hetzelt <felih@google.com>
Rationale:
Extend the capabilities of the fuzzing program generator to include
forEach loop.
Change-Id: I9acb8d9a8cd3f566c53d0d591ccc17d856e6de0d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114047
Commit-Queue: Felicitas Hetzelt <felih@google.com>
Reviewed-by: Aart Bik <ajcbik@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
Rationale:
AFL provides a list of integer values likely to trigger bugs in the
target program. I added the afl list to the local list of interesting
values.
Change-Id: I4f5a29b395ab3bd16a9389a3c381d73eb1ad8fc4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114051
Reviewed-by: Aart Bik <ajcbik@google.com>
Commit-Queue: Felicitas Hetzelt <felih@google.com>
Rationale:
+x on python so it can run stand alone
-x on dart files
Change-Id: Iea6ac2f4fbfb1d919f705ac25fcf070446437199
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114121
Reviewed-by: Felicitas Hetzelt <felih@google.com>
Commit-Queue: Aart Bik <ajcbik@google.com>
Rationale:
Many cases of the the loop iteration variable being modified within the
loop body, leading to infinite loops and timeouts. This patch tracks
currently active iteration variables and avoids emitting them on the lhs
of an assignment or within a pre/post operation.
Change-Id: I5e7c84f0de72410dc98d115d75b1f09e6631ece2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112843
Reviewed-by: Aart Bik <ajcbik@google.com>
Commit-Queue: Felicitas Hetzelt <felih@google.com>
Rationale:
Some programs generated by dartfuzz.dart cause failures when executed
due to the type of a loop variable being inferred as 'num'.
By setting the type of such variables explicitly to 'int' we avoid such cases.
Change-Id: Ibdfd06ece28914ee26fd38f2b3efa20cd93ba9ca
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112754
Commit-Queue: Felicitas Hetzelt <felih@google.com>
Reviewed-by: Aart Bik <ajcbik@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
Rationale:
Bytecode implementation is ready for some
more exhaustive testing. Fuzz on!
Change-Id: I648cc447ebb830bda56ae6659ca5bc65d13c76b6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112405
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Aart Bik <ajcbik@google.com>
Rationale:
A test should only be reported if the exit code indicates an error
outside of the Dart VM. Which is most likely the case for exit Code
values outside of the interval [-255,255]
https://github.com/dart-lang/sdk/issues/37632
Change-Id: I35e3352e85e1af5f5a06753d8f43e6606902c80d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/111989
Reviewed-by: Aart Bik <ajcbik@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Felicitas Hetzelt <felih@google.com>
Given the uri of a make_a_fuzz run, this script will first
extract the links pointng to each of the individual shards
and then parse the output generated by that shard for
divergences reported by the dartfuzz_test.dart program.
Change-Id: Ieb328737f940bf736c803ec58ac88e54e30e59b1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/111666
Reviewed-by: Aart Bik <ajcbik@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Felicitas Hetzelt <felih@google.com>