Wei Chen

Wei Chen

Auto-generated profile, based on publicly available information

Wei Chen

Hong Kong University of Science and Technology, Hong Kong, China

Research Focus & Metrics

Academic Career Length

3Years (2024-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
27 April 2024
Verified
Conference Paper
Open access
BZBowen Zhang
Bowen Zhang
WCWei Chen
Wei Chen
PYPeisen Yao
Peisen Yao
CWChengpeng Wang
Chengpeng Wang
WTWensheng Tang
Wensheng Tang
CZCharles Zhang
Charles Zhang
This paper presents Siro, a new program transformation framework that translates between different versions of Intermediate Representations (IR), aiming to better address the issue of IR version incompatibility on IR-based software, such as static analyzers. We introduce a generic algorithm skeleton for Siro based on the divide-and-conquer principle. To minimize labor-intensive tasks of the implementation process, we further employ program synthesis to automatically generate translators for IR instructions within vast search spaces. Siro is instantiated on LLVM IR and has effectively helped to produce ten well-functioning IR translators for different version pairs, each taking less than three hours. From a practical perspective, we utilize these translators to assist static analyzers and fuzzers in reporting bugs and achieving accuracy of 91% and 95%, respectively. Remarkably, Siro has already been deployed in real-world scenarios and makes existing static analyzers available to safeguard the Linux kernel by uncovering 80 new vulnerabilities.

30 March 2025
Verified
Conference Paper
Open access
WCWei Chen
Wei Chen
BZBowen Zhang
Bowen Zhang
CWChengpeng Wang
Chengpeng Wang
WTWensheng Tang
Wensheng Tang
CZCharles Zhang
Charles Zhang

21 May 2024 in arXiv
Verified
Preprint
Open access
PDF file
BZBowen Zhang
Bowen Zhang
WCWei Chen
Wei Chen
HCHung-Chun Chiu
Hung-Chun Chiu
CZCharles Zhang
Charles Zhang
Static analysis techniques enhance the security, performance, and reliability of programs by analyzing and portraiting program behaviors without the need for actual execution. In essence, static analysis takes the Intermediate Representation (IR) of a target program as input to retrieve essential program information and understand the program. However, there is a lack of systematic analysis on the benefit of IR for static analysis, besides serving as an information provider. In general, a modern static analysis framework should possess the ability to conduct diverse analyses on different languages, producing reliable results with minimal time consumption, and offering extensive customization options. In this survey, we systematically characterize these goals and review the potential solutions from the perspective of IR. It can serve as a manual for learners and practitioners in the static analysis field to better understand IR design. Meanwhile, numerous research opportunities are revealed for researchers.

1 October 2026 in Proceedings of the ACM on Programming Languages
Verified
Journal Article
Open access
SPSixiang Peng
Sixiang Peng
CSChenyang Sun
Chenyang Sun
WCWei Chen
Wei Chen
BZBowen Zhang
Bowen Zhang
CZCharles Zhang
Charles Zhang
The application of high-precision value-flow analysis is experiencing a paradigm shift from planned executions to online ad hoc queries driven by human auditors and AI agents. However, existing techniques struggle in this interactive setting: exhaustive offline tabulation is fundamentally intractable, while memoryless online search suffers from redundant exploration and SMT invocations. To bridge this gap, we propose SPONGE, a novel two-phase framework that accelerates ad hoc queries through boundary-anchored indexing. Offline, SPONGE employs an adaptive-depth strategy to selectively precompute feasible value-flow segments at critical procedure boundaries, optimizing SMT allocation based on traversal probability and search space complexity. Online, it utilizes an index-guided push-down search with lazy expansion to dynamically stitch these pre-verified segments, effectively bypassing redundant state exploration and pruning unsatisfiable paths. We evaluated SPONGE on 9 C/C++ projects (up to 3.8 million LoC). Results demonstrate that SPONGE drops the 95th-percentile online query time from nearly 270 s to under 50 s compared to a baseline search. Furthermore, the adaptive strategy reduces offline indexing time by 75% over a uniform approach, amortizing the offline cost in fewer than 300 queries for workloads dominated by complex queries.