Verification of Embedded Binaries using Coverage-guided Fuzzing with SystemC-based Virtual Prototypes
Sprache des Titels:
Englisch
Original Buchtitel:
ACM Great Lakes Symposium on VLSI (GLSVLSI)
Original Kurzfassung:
Extensive verification of embedded SW is very important to avoid errors and security vulnerabilities. Therefore, mainly simulationbased methods are employed that leverage Virtual Prototypes (VPs) for SW execution early in the design flow. VPs are essentially abstract models of the entire HW platform including peripherals. They are predominantly created in SystemC. However, a comprehensive simulation-based verification requires integration of sophisticated test generation techniques. In this paper we propose to leverage state-of-the-art Coverageguided Fuzzing (CGF) methods in combination with SystemC-based VPs for verification of embedded SW binaries. Using VPs, our approach allows a fast and accurate binary-level SW analysis and enables checking of complex HW/SW interactions. To guide the fuzzing process we combine the coverage from the embedded SW with the coverage of the SystemC-based peripherals. Our experiments, using RISC-V embedded SW binaries as examples, demonstrate the effectiveness of our approach.