|国家预印本平台
首页|LASHED: LLMs And Static Hardware Analysis for Early Detection of RTL Bugs

LASHED: LLMs And Static Hardware Analysis for Early Detection of RTL Bugs

LASHED: LLMs And Static Hardware Analysis for Early Detection of RTL Bugs

来源:Arxiv_logoArxiv
英文摘要

While static analysis is useful in detecting early-stage hardware security bugs, its efficacy is limited because it requires information to form checks and is often unable to explain the security impact of a detected vulnerability. Large Language Models can be useful in filling these gaps by identifying relevant assets, removing false violations flagged by static analysis tools, and explaining the reported violations. LASHED combines the two approaches (LLMs and Static Analysis) to overcome each other's limitations for hardware security bug detection. We investigate our approach on four open-source SoCs for five Common Weakness Enumerations (CWEs) and present strategies for improvement with better prompt engineering. We find that 87.5% of instances flagged by our recommended scheme are plausible CWEs. In-context learning and asking the model to 'think again' improves LASHED's precision.

Baleegh Ahmad、Hammond Pearce、Ramesh Karri、Benjamin Tan

计算技术、计算机技术

Baleegh Ahmad,Hammond Pearce,Ramesh Karri,Benjamin Tan.LASHED: LLMs And Static Hardware Analysis for Early Detection of RTL Bugs[EB/OL].(2025-04-30)[2025-06-08].https://arxiv.org/abs/2504.21770.点此复制

评论