PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
February 12, 2026ACM Transactions on Design Automation of Electronic Systems0 citations

Commercial Cyber-Physical System Development Tool Chain Bug Detecting via Diversity-Guided Fuzzing Test

View Full Paper
HLHui LiuSGShikai GuoJLJiaxue Liu

Key Points

  • The aim is to improve bug detection in embedded code generated from Simulink models.
  • Developed the DESCO approach for differential testing of embedded code generation.
  • Considered functional correlations between Simulink blocks for model partitioning.
  • Generated diverse Simulink models to test various code generation scenarios.
  • Detected 16 issues in three months, with 12 confirmed bugs by MathWorks Support.
  • Demonstrated significant improvements over existing testing methods.

Abstract

Simulink is MathWorks’ commercial cyber-physical systems development tool, which enables engineers to do rapid prototyping of their systems through simulation and embedded code generation. When a Simulink model meets requirements, engineers can utilize embedded coder to convert it into embedded code (e.g., C source code) and deploy it in safety-critical applications such as automotive, aerospace, and healthcare. However, bugs or incorrect implementations in code generation may lead to unexpected behaviors in target applications, posing security risks. Therefore, it is crucial to eliminate such bugs in embedded code generation. To address this issue, we propose DESCO, a differential testing approach to test embedded code generation in Simulink. DESCO considers the functional correlation between Simulink blocks for partitioning, aiming to generate diverse and complex bug-triggering Simulink models to thoroughly exercise the embedded code generation. DESCO then detects bugs by analyzing the outputs of these Simulink models by differential testing. The experiments demonstrate that DESCO significantly outperforms existing approaches. In three months, DESCO reported 16 issues, including 12 confirmed as bugs by MathWorks Support.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Liu et al. (2026) studied this question.

synapsesocial.com/papers/698d6d9f5be6419ac0d52b04https://doi.org/10.1145/3797030
Ask AI
Helpful
Bookmark
Share
View Full Paper