kirancodes.me
To Proof Maintenance & Beyond!

ScaleCirc: Scaling the Analysis over Circom Circuits

Jinan Jiang, Haoran Qin, Xiapu Luo

Abstract

Zero-knowledge proof (ZKP) circuits implemented in programming languages like Circom are fundamental to blockchain and privacy-preserving applications. These code often suffer from constraint-related issues where constraints fail to accurately specify intended computations. While existing analysis tools have been proposed, they struggle with large-scale circuits containing complex template embeddings. We present ScaleCirc, a novel framework that addresses such limitations through: 1) systematic management of analysis redundancy via circuit deduplication strategies; 2) constrainedness propagation methods leveraging source code semantic information; and 3) a generalizable framework for different circuit analysis tasks. Evaluation on 691 real-world circuits shows ScaleCirc demonstrates higher efficiency, and successfully analyzes many Circom programs that existing works failed on.

BibTeX
@inproceedings{Jiang-al:ASE25,
  author    = {Jinan Jiang and
               Haoran Qin and
               Xiapu Luo},
  title     = {{ScaleCirc:} Scaling the Analysis over Circom Circuits},
  booktitle = {ASE},
  pages     = {1464--1476},
  publisher = {{IEEE}},
  year      = {2025},
}

Related papers