Artifact of Enhancing Search-Based Testing with LLMs for Finding Bugs in System Simulators
Creators
Description
Abstract. Despite wide availability of automated testing techniques such as fuzzing, little attention has been devoted to testing computer architecture simulators. We propose a fully automated approach for this task. Our approach uses large language models to create input programs, including information about their parameters and their types, as test cases for the simulators. The LLM’s output becomes the initial seed for an existing fuzzer, AFL, which has been enhanced with three mutation operators, targeting both the input binary program and its parameters. We implement our approach in a tool called SearchSYS. We use it to test
the gem5 system simulator. SearchSYS discovered 21 new bugs in gem5, 14 where gem5’s software prediction differs from the real behaviour on actual hardware and 7 where it crashed. New defects were uncovered with each of the 6 LLMs used.
This record includes all data collected during the experiments between January to August 2024.
- The code: ASEGem5-main.zip.
- gem5 instrumented with coverage and gcc-9: gem5-instrumented-with-coverage-x86-ubuntu-20.04-gcc-9.zip. The Docker in the coverage folder in ASEGem5-main.zip works for more recent gcc versions.
- The data of Experiment 1:
- Initial corpus files (RQ1): LLM_test_inputs.zip.
- Bugs analysis: BugHuntingData_exp1_raw.tar.gz
- Coverage of initial corpus (RQ1-2): LLMresultsCov_beforeFuzzing.zip.
- Configurations results (RQ3): Experiment-1-1h-30_repeat_30_confg.zip (data) and Experiment-1-AnalysisRes-Select-Values4Counters.xlsx (analysis)
- Initial corpus files (RQ1): LLM_test_inputs.zip.
- The data of Experiment 2 (RQ4):
- Data after fuzzing (fuzzed corpus): <init-corpus-name>-exp2.tar.gz
- Coverage after fuzzing: CodeCoverage-Main-PostAFL.zip
- Analysis of the data: exp2-data.zip (raw) and gem5_mism_bugs_29-August_2024.xlsx (excel)
Files
ASEGem5-main.zip
Files
(37.3 GB)
Name | Size | Download all |
---|---|---|
md5:55e254aa94aea5ee858b6dabe0e0252e
|
411.0 MB | Preview Download |
md5:7d1bad3586ac37bb7a560881d2901941
|
403.0 MB | Download |
md5:baccc0ce15ebeedb6473d3ca28c87601
|
306.1 MB | Download |
md5:650639b4a41de888416c095fd7d8154e
|
442.6 MB | Download |
md5:f50cf9c28798cb298bde2bdeb82e30a9
|
16.5 GB | Preview Download |
md5:4ceca1e7997e2b0c656eea189daa6bb9
|
1.3 GB | Download |
md5:a10695ce066d613673e1ca1eeec186cc
|
43.8 kB | Preview Download |
md5:93e66d2ae455b9474b033c257424c868
|
2.0 GB | Preview Download |
md5:9cfe2451fdfc195d195a2fc0d028e626
|
6.1 MB | Download |
md5:d3d68b2e491ce8900a0ce8de0ef1be07
|
3.5 GB | Preview Download |
md5:90409d97b93b21c4c439e314cd60b19e
|
400.4 kB | Download |
md5:c7a6390fc07f6097a7e473916033c9b0
|
652.4 MB | Download |
md5:80b42c1b5d1b24c77891f2cfb3404255
|
725.7 MB | Download |
md5:80c68a1251e9d419d9bd1779c8f2d1c4
|
1.1 GB | Download |
md5:d9284bcd680bb0f1b73083688a7491e6
|
1.1 GB | Download |
md5:f399debd5940bcf948ba91b219f1b243
|
707.5 MB | Download |
md5:eff1cabeb1709f2f8b31b33a196915c8
|
977.7 MB | Download |
md5:e57ec76e21c732e7370ab715959122b9
|
254.2 MB | Preview Download |
md5:abd14678f79fd48cfe26ac403dc43fb3
|
905.9 MB | Preview Download |
md5:51a40d041c49c9e3a78fe666bf7abc98
|
828.7 MB | Download |
md5:ad9292811f8afd3cce74c10b48b38a39
|
919.2 MB | Download |
md5:3a36aeba4fecfb6233899a10114c6a33
|
484.3 MB | Download |
md5:d200097dfaa8589c8cc109ff5c4a6b19
|
566.2 MB | Download |
md5:314ef976987d1bc0ea5c5617b004d377
|
1.5 GB | Download |
md5:c53c1b1e460eaa7377d9ff646dfde2fd
|
1.7 GB | Download |