Sign inGet started
Paper · arXiv

A Synthesis Method of Safe Rust Code Based on Pushdown Colored Petri Nets

Safe Rust guarantees memory safety through strict compile-time constraints: ownership can be transferred, borrowing can temporarily guarantee either shared read-only or exclusive write access, and ownership and borrowing are scoped by lifetime. Automatically synthesizing correct and safe Rust code is challenging, as the generated code must not only satisfy ownership, borrowing, and lifetime constraints, but also meet type and interface requirements at compile time. This work proposes a synthesis method based on our newly defined Pushdown Colored Petri Net (PCPN) that models these compilation constraints directly from public API signatures to synthesize valid call sequences. Token colors e...

AuthorsKaiwen Zhang, Guanjun Liu
Primary categorycs.SE
Published2 April 2026
Last updated at source2 April 2026
cs.SEcs.AIcs.FLcs.PL
Embed this entry
<iframe src="https://silytics.si/embed/item/b6f42d30-3d78-4897-9a25-e585df2f15c1" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.