iconLogo
Published:2025/12/17 13:42:56

タイトル & 超要約:LLMとファジングでWP爆誕!✨ プログラムの弱点を自動発見!

ギャル的キラキラポイント✨ ● LLM(大規模言語モデル)とファジングの最強タッグ!プログラムの弱点を見つけるんだって💖 ● プログラムの「最も弱い前提条件」 (WP) を自動生成!バグを未然に防ぐの✨ ● IT業界の未来を明るくする可能性大!ビジネスチャンスがいっぱい💖

詳細解説 ● 背景 ソフトウェア(プログラム)って、開発が複雑化してるじゃん?😱 バグ(プログラムのミス)がないか、ちゃんとチェックするのが大変なのよね。そこで、プログラムがちゃんと動くための「条件」を自動で見つける技術が求められてるんだって!

● 方法 LLM(AI)がWP(プログラムが動くための条件)の候補をまず作るの!😲 その後、ファジングっていう、プログラムを色んなパターンで試す方法で、WPが正しいかチェックするんだって! 💡 間違ってたらLLMにフィードバックして、もっと良いWPを作ってもらうの!

● 結果 この技術を使えば、複雑なプログラムでも、WPを自動で見つけられるようになるらしい!🤩 形式的な方法じゃ対応できなかった部分もカバーできるみたい。つまり、もっと色んなプログラムの安全性を高められるってコト!

続きは「らくらく論文」アプリで

LLMs and Fuzzing in Tandem: A New Approach to Automatically Generating Weakest Preconditions

Daragh King / Vasileios Koutavas / Laura Kovacs

The weakest precondition (WP) of a program describes the largest set of initial states from which all terminating executions of the program satisfy a given postcondition. The generation of WPs is an important task with practical applications in areas ranging from verification to run-time error checking. This paper proposes the combination of Large Language Models (LLMs) and fuzz testing for generating WPs. In pursuit of this goal, we introduce \emph{Fuzzing Guidance} (FG); FG acts as a means of directing LLMs towards correct WPs using program execution feedback. FG utilises fuzz testing for approximately checking the validity and weakness of candidate WPs, this information is then fed back to the LLM as a means of context refinement. We demonstrate the effectiveness of our approach on a comprehensive benchmark set of deterministic array programs in Java. Our experiments indicate that LLMs are capable of producing viable candidate WPs, and that this ability can be practically enhanced through FG.

cs / cs.SE / cs.AI / cs.LO