2000 character limit reached
Automatically Transform Rust Source to Petri Nets for Checking Deadlocks (2212.02754v2)
Published 6 Dec 2022 in cs.PL, cs.FL, and cs.SE
Abstract: This paper presents a method of automatically converting source codes (Rust programs) into Petri nets, focusing on the detection of deadlocks caused by the double locks and lock conflicts in the parallel Rust programs. We construct the transformation rules and develop a tool. Our method can omit those Rust codes without relations to locks when scanning the input codes, and thus tool can handle a large-scale code. We do a number of experiments to show the advantages of our method compared with the state-of-the-art ones.