Zhehao Zhao

Zhehao Zhao

Auto-generated profile, based on publicly available information

Zhehao Zhao

Key Lab of HCST (PKU), MOE; SCS, Peking University, Beijing, China

Research Focus & Metrics

Academic Career Length

5Years (2022-Present)

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

Representative Publications

View All Publications
9 April 2022 in ACM Transactions on Software Engineering and Methodology
Verified
Journal Article
Open access
HZHuangzhao Zhang
Huangzhao Zhang
ZFZhiyi Fu
Zhiyi Fu
GLGe Li
Ge Li
LMLei Ma
Lei Ma
ZZZhehao Zhao
Zhehao Zhao
ZJZhi Jin
Zhi Jin
Deep learning (DL) has recently been widely applied to diverse source code processing tasks in the software engineering (SE) community, which achieves competitive performance (e.g., accuracy). However, the robustness, which requires the model to produce consistent decisions given minorly perturbed code inputs, still lacks systematic investigation as an important quality indicator. This article initiates an early step and proposes a framework CARROT for robustness detection, measurement, and enhancement of DL models for source code processing. We first propose an optimization-based attack technique CARROTAto generate valid adversarial source code examples effectively and efficiently. Based on this, we define the robustness metrics and propose robustness measurement toolkit CARROTM, which employs the worst-case performance approximation under the allowable perturbations. We further propose to improve the robustness of the DL models by adversarial training (CARROTT) with our proposed attack techniques. Our in-depth evaluations on three source code processing tasks (i.e., functionality classification, code clone detection, defect prediction) containing more than 3 million lines of code and the classic or SOTA DL models, including GRU, LSTM, ASTNN, LSCNN, TBCNN, CodeBERT, and CDLH, demonstrate the usefulness of our techniques for ❶ effective and efficient adversarial example detection, ❷ tight robustness estimation, and ❸ effective robustness enhancement.

11 September 2024
Verified
Conference Paper
Open access
NHNingyu He
Ningyu He
ZZZhehao Zhao
Zhehao Zhao
HGHanqin Guan
Hanqin Guan
JWJikai Wang
Jikai Wang
SPShuo Peng
Shuo Peng
YGYao Guo
Yao Guo
WebAssembly (Wasm), as a compact, fast, and isolation-guaranteed binary format, can be compiled from more than 40 high-level programming languages. However, vulnerabilities in Wasm binaries could lead to sensitive data leakage and even threaten their hosting environments. To identify them, symbolic execution is widely adopted due to its soundness and the ability to automatically generate exploitations. However, existing symbolic executors for Wasm binaries are typically platform-specific, which means that they cannot support all Wasm features. They may also require significant manual interventions to complete the analysis and suffer from efficiency issues as well. In this paper, we propose an efficient and fully-functional symbolic execution engine, named SeeWasm. Compared with existing tools, we demonstrate that SeeWasm supports full-featured Wasm binaries without further manual intervention, while accelerating the analysis by 2 to 6 times. SeeWasm has been adopted by existing works to identify more than 30 0-day vulnerabilities or security issues in well-known C, Go, and SGX applications after compiling them to Wasm binaries.

24 July 2025 in Science of Computer Programming
Verified
Journal Article
Closed access
ZZZhehao Zhao
Zhehao Zhao
YCYifeng Chen
Yifeng Chen