History log of /art/tools/dexfuzz/src/dexfuzz/executors/Device.java
Revision Date Author Comments
02de20038ae0b75d809c33eb0b36127dff7e7220 23-Nov-2016 Branislav Rankov <branislav.rankov@linaro.org> Fixed a few bugs in dexfuzz:

- Set error level on exit when there are divergences.
- Fix cleanCodeCache not preprending adb shell.
- Fixed clearCache.
- Fixed bug in reading end of try block.
- Fixed bug in shifting try block.
- Fixed a bug reading debug info.

Test: Extract dex files from art-tests as named below and test run commands:
dexfuzz --arm --interpreter --optimizing --repeat=2 --execute --input=seeds/068-classloader.dex
dexfuzz --arm --interpreter --optimizing --repeat=2 --execute --input=seeds/510-checker-try-catch.dex
You should not get errors.

Change-Id: I0e0fb6dc27ef6f828a6427b088f6b2ca36aae243
83d3b79af2b607d2a1991f7438196263e7ea68ef 29-Sep-2016 Wojciech Staszkiewicz <staszkiewicz@google.com> Integrate dexfuzz with bisection search

Adds --bisection-search switch to dexfuzz. When specified makes
dexfuzz run bisection search on discovered output divergences.

Bisection search output is saved to bisection_outputs/ directory which
is assumed to be present.

If --bisection-search is used, bisection_search.py has to be on PATH.

Test: ./run_dex_fuzz_test.py , with hardcoded change to emit a known
divergent program instead of calling jfuzz.

Change-Id: I8fcb45e201761f1f05adee74e6b8636bcc452332
4c8bacc07b20babb6cc9ae777e53ba72c66e8599 20-May-2016 Aart Bik <ajcbik@google.com> Fix minor issues that prevented DexFuzz to run on host.

BUG=27036745

Change-Id: I8715efb9219f25c6b8ae2d14c5bdcfd83f881d40
733840f23a6983436437d4334f33d5032f494696 07-Apr-2015 Calin Juravle <calin@google.com> Remove fuzzer build-time dependency on core image.

Test if the image exists at runtime.

Forcing this dependency slows down development. For example, if after a
change dex2oat does not compile anymore you need to first revert to a
stable state and rebuild the core image to be able to move foreward.
Since this is a test tool, it is ok to assume that the core image has
already been built if host execution was selected.

Change-Id: Id61a960ba62bb8d1d21acb07114f72208fbc9720
807f17831e2749d5765599df1c9fbc58af3c6c7c 24-Mar-2015 Stephen Kyle <stephenckyle@googlemail.com> Adds host execution to dexfuzz.

Use --host to execute fuzzed tests using the host-build of ART.
See the README for more information.
Also includes some refactoring of Executors/Devices.

Change-Id: I789d6b3e102074b22431d8afa5a5c966b2710272
959ffdf65f280ee90b7944a8dd610564e7f99e69 28-Nov-2014 Stephen Kyle <stephen.kyle@arm.com> Adds the dexfuzz fuzzing tool to ART.

This tool can mutate DEX files, and execute them with multiple backends
of ART, making sure that all backends agree on the output of the
program. This should help identify bugs in particular backends, should
they produce output that disagrees with the other backends.

Build with mmm tools/dexfuzz from within art/.

See the README for details about how to use dexfuzz.

Change-Id: I3fc5d84a08b7d142a1fdc3d43a0324ce16b43608