Shangyu Li

Shangyu Li

Auto-generated profile, based on publicly available information

Shangyu Li

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

Research Focus & Metrics

Academic Career Length

2Years (2025-Present)

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

Representative Publications

View All Publications
9 October 2025 in Proceedings of the ACM on Programming Languages
Verified
Journal Article
Open access
SLShangyu Li
Shangyu Li
ZZZhaoyang Zhang
Zhaoyang Zhang
SZSizhe Zhong
Sizhe Zhong
DZDiyu Zhou
Diyu Zhou
JSJiasi Shen
Jiasi Shen
The advances in modern storage technologies necessitate the development of new input/output (I/O) APIs to maximize their performance benefits. However, migrating existing software to use different APIs poses significant challenges due to mismatches in computational models and complex code structures surrounding stateful, non-contiguous multi-API call sites. We present Sprout, a new system for automatically migrating programs across I/O APIs that guarantees behavioral equivalence. Sprout uses flow-sensitive pointer analysis to identify semantic variables, which enables the typestate analysis for matching API semantics and the synthesis of migrated programs. Experimental results with real-world C programs highlight the efficiency and effectiveness of our approach. We also show that Sprout can be adapted to other domains, such as databases.