<div class="csl-bib-body">
<div class="csl-entry">King, D., Koutavas, V., & Kovacs, L. (2026). LLMs and fuzzing in tandem: a new approach to automatically generating weakest preconditions. <i>International Journal on Software Tools for Technology Transfer</i>. https://doi.org/10.1007/s10009-026-00844-2</div>
</div>
-
dc.identifier.issn
1433-2779
-
dc.identifier.uri
http://hdl.handle.net/20.500.12708/227059
-
dc.description.abstract
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 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.
en
dc.description.sponsorship
European Commission
-
dc.language.iso
en
-
dc.publisher
SPRINGER HEIDELBERG
-
dc.relation.ispartof
International Journal on Software Tools for Technology Transfer
-
dc.subject
LLM
en
dc.subject
invariants
en
dc.subject
automated reasoning
en
dc.subject
Weakest precondition
en
dc.subject
Fuzzing
en
dc.subject
Correctness
en
dc.subject
Verification
en
dc.title
LLMs and fuzzing in tandem: a new approach to automatically generating weakest preconditions
en
dc.type
Article
en
dc.type
Artikel
de
dc.contributor.affiliation
Trinity College Dublin, Ireland
-
dc.contributor.affiliation
Trinity College Dublin, Ireland
-
dc.relation.grantno
ERC Consolidator Grant 2020
-
dc.type.category
Original Research Article
-
tuw.journal.peerreviewed
true
-
tuw.peerreviewed
true
-
wb.publication.intCoWork
International Co-publication
-
tuw.project.title
Automated Reasoning with Theories and Induction for Software Technologies
-
tuw.researchTopic.id
I1
-
tuw.researchTopic.name
Logic and Computation
-
tuw.researchTopic.value
100
-
dcterms.isPartOf.title
International Journal on Software Tools for Technology Transfer
-
tuw.publication.orgunit
E192-04 - Forschungsbereich Formal Methods in Systems Engineering
-
tuw.publication.orgunit
E056-10 - Fachbereich SecInt-Secure and Intelligent Human-Centric Digital Technologies
-
tuw.publication.orgunit
E056-13 - Fachbereich LogiCS
-
tuw.publisher.doi
10.1007/s10009-026-00844-2
-
dc.identifier.eissn
1433-2787
-
dc.description.numberOfPages
12
-
tuw.author.orcid
0009-0001-8519-8970
-
tuw.author.orcid
0000-0002-3970-2486
-
tuw.author.orcid
0000-0002-8299-2714
-
wb.sci
true
-
wb.sciencebranch
Informatik
-
wb.sciencebranch.oefos
1020
-
wb.sciencebranch.value
100
-
item.fulltext
no Fulltext
-
item.grantfulltext
none
-
item.openairecristype
http://purl.org/coar/resource_type/c_2df8fbb1
-
item.cerifentitytype
Publications
-
item.languageiso639-1
en
-
item.openairetype
research article
-
crisitem.author.dept
Trinity College Dublin
-
crisitem.author.dept
Trinity College Dublin, Ireland
-
crisitem.author.dept
E192-04 - Forschungsbereich Formal Methods in Systems Engineering