错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

SearchGEM5: Towards Reliable Gem5 with Search Based Software Testing and Large Language Models

  • Aidan Dakhama,
  • Karine Even-Mendoza,
  • W.B. Langdon,
  • Hector Menendez,
  • Justyna Petke

摘要

We introduce a novel automated testing technique that combines LLM and search-based fuzzing. We use ChatGPT to parameterise C programs. We compile the resultant code snippets, and feed compilable ones to SearchGEM5, our extension to AFL++ fuzzer with customised new mutation operators. We run thus created 4005 binaries through our system under test, gem5, increasing its existing test coverage by more than 1000 lines. We discover 244 instances where gem5 simulation of the binary differs from the binary’s expected behaviour.