This directory contains scripts and tools for debugging and reproducing issues found by fuzzers in simpleperf.
repro_fuzz_issue.sh: A comprehensive script to automate the build, sync, and execution of the libsimpleperf_report_fuzzer on an Android device.Before running any scripts, ensure your environment is set up for Android platform development:
bash source build/envsetup.shbash lunch <your_target>repro_fuzz_issue.shThe repro_fuzz_issue.sh script automates the process of building the fuzzer, pushing the necessary binaries and libraries to the device, and running a specific test case.
To reproduce a crash or issue found by a fuzzer:
./repro_fuzz_issue.sh /path/to/repro_test_case
The script will:
libsimpleperf_report_fuzzer for your current lunch target./data/fuzzer on the device.LD_LIBRARY_PATH.If you want to build and sync the binaries without running a specific test case: ./repro_fuzz_issue.sh
/data/fuzzer/data/fuzzer/testcase