EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

LLM-Based Unknown Function Automated Modeling in Sensor-Driven Systems for Multi-Language Software Security Verification

Liangjun Deng, Qi Zhong iD, Jingcheng Song iD, Hang Lei, Wenjuan Li

Sensors · 24.04.2025 · 25 (9) · 2683

DOI: 10.3390/s25092683 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Sensors, online erschienen am 24.04.2025. Verfasst von Liangjun Deng und 4 weiteren Autor:innen. Beteiligte Einrichtung: School of Information and Software Engineering, University of Electronic Science and Technology of China, Chengdu 610054, China. Die Arbeit wurde bisher 7-mal zitiert (Crossref) und nennt 37 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractSchlagwörterBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

The rapid expansion of the Internet of Things (IoT) has made software security and reliability a critical concern. With multi-language programs running on edge computing, embedded systems, and sensors, each connected device represents a potential attack vector, threatening data integrity and privacy. Symbolic execution is a key technique for automated vulnerability detection. However, unknown function interfaces, such as sensor interactions, limit traditional concrete or concolic execution due to uncertain function returns and missing symbolic expressions. Compared with system simulation, the traditional method is to construct an interface abstraction layer for the symbolic execution engine to reduce the cost of simulation. Nevertheless, the disadvantage of this solution is that the manual modeling of these functions is very inefficient and requires professional developers to spend hundreds of hours. In order to improve efficiency, we propose an LLM-based automated approach for modeling unknown functions. By fine-tuning a 20-billion-parameter language model, it automatically generates function models based on annotations and function names. Our method improves symbolic execution efficiency, reducing reliance on manual modeling, which is a limitation of existing frameworks like KLEE. Experimental results primarily focus on comparing the usability, accuracy, and efficiency of LLM-generated models with human-written ones. Our approach was integrated into one verification platform project and applied to the verification of smart contracts with distributed edge computing characteristics. The application of this method directly reduces the manual modeling effort from a month to just a few minutes. This provides a foundational validation of our method’s feasibility, particularly in reducing modeling time while maintaining quality. This work is the first to integrate LLMs into formal verification, offering a scalable and automated verification solution for sensor-driven software, blockchain smart contracts, and WebAssembly systems, expanding the scope of secure IoT development.

Schlagwörter

Stichwörter der Autor:innen

LLMWebAssemblysensorssymbolic executionvulnerability verification

Autor:innen und Institutionen

  • School of Information and Software Engineering, University of Electronic Science and Technology of China, Chengdu 610054, China.
  • Faculty of Data Science, City University of Macau, Macau, China.
  • School of Information Science and Engineering, Linyi University, Linyi 276000, China.
  • Department of Mathematics and Information Technology, The Education University of Hong Kong, Hong Kong, China.

ORCID-Profile: Qi Zhong, Jingcheng Song

Zitieren

APA

Deng, L., Zhong, Q., Song, J., Lei, H., & Li, W. (2025). LLM-Based Unknown Function Automated Modeling in Sensor-Driven Systems for Multi-Language Software Security Verification. Sensors, 25(9), 2683. https://doi.org/10.3390/s25092683

Vancouver

Deng L, Zhong Q, Song J, Lei H, Li W. LLM-Based Unknown Function Automated Modeling in Sensor-Driven Systems for Multi-Language Software Security Verification. Sensors. 2025;25(9):2683. doi:10.3390/s25092683

BibTeX
@article{Deng2025,
  author = {Deng, Liangjun and Zhong, Qi and Song, Jingcheng and Lei, Hang and Li, Wenjuan},
  title = {LLM-Based Unknown Function Automated Modeling in Sensor-Driven Systems for Multi-Language Software Security Verification},
  journal = {Sensors},
  year = {2025},
  volume = {25},
  number = {9},
  pages = {2683},
  doi = {10.3390/s25092683}
}
Kostenlos starten →