Wensheng Tang
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Previous Organizations / Institutes
The organizations / institutes from the scholar's other articles in the past ten years
Research Subjects
Wensheng Tang has a total of 17 co-authors. Here are the top co-authors by number of shared publications:
- Chengpeng Wang
Purdue University, West Lafayette, USA
5 shared publications - Charles Zhang
Hong Kong University of Science and Technology, Hong Kong, China
4 shared publications - Peisen Yao
The State Key Laboratory of Blockchain and Data Security, Zhejiang University, Hangzhou, China
3 shared publications - Bowen Zhang
Hong Kong University of Science and Technology, Hong Kong, China
2 shared publications - Qingkai Shi
Nanjing University
2 shared publications - Wei Chen
Hong Kong University of Science and Technology, Hong Kong, China
2 shared publications
Latest Publications
- Open Access
- 30 March 2025
- Published by Association for Computing Machinery (ACM)
- p. 1246-1262
Seal: Towards Diverse Specification Inference for Linux Interfaces from Security Patches
- 30 March 2025
- Published by Association for Computing Machinery (ACM)
- p. 1246-1262
Open AccessSeal: Towards Diverse Specification Inference for Linux Interfaces from Security Patches
- Open Access
- 27 April 2024
- Published by Association for Computing Machinery (ACM)
- p. 882-899
SIRO: Empowering Version Compatibility in Intermediate Representations via Program Synthesis
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.
- 27 April 2024
- Published by Association for Computing Machinery (ACM)
- p. 882-899
Open AccessSIRO: Empowering Version Compatibility in Intermediate Representations via Program Synthesis
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.
- Open Access
- 12 April 2024
- Published by Association for Computing Machinery (ACM)
- p. 1-13
LibAlchemy: A Two-Layer Persistent Summary Design for Taming Third-Party Libraries in Static Bug-Finding Systems
- 12 April 2024
- Published by Association for Computing Machinery (ACM)
- p. 1-13
Open AccessLibAlchemy: A Two-Layer Persistent Summary Design for Taming Third-Party Libraries in Static Bug-Finding Systems
- Open Access
- 29 March 2024
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Software Engineering and Methodology
- Vol. 33 (3) , 1-33
Octopus: Scaling Value-Flow Analysis via Parallel Collection of Realizable Path Conditions
Value-flow analysis is a fundamental technique in program analysis, benefiting various clients, such as memory corruption detection and taint analysis. However, existing efforts suffer from the low potential speedup that leads to a deficiency in scalability. In this work, we present a parallel algorithmOctopusto collect path conditions for realizable paths efficiently.Octopusbuilds on the realizability decomposition to collect the intraprocedural path conditions of different functions simultaneously on-demand and obtain realizable path conditions by concatenation, which achieves a high potential speedup in parallelization. We implementOctopusas a tool and evaluate it over 15 real-world programs. The experiment shows thatOctopussignificantly outperforms the state-of-the-art algorithms. Particularly, it detects NULL-pointer-dereference bugs for the projectllvmwith 6.3 MLoC within 6.9 minutes under the 40-thread setting. We also state and prove several theorems to demonstrate the soundness, completeness, and high potential speedup ofOctopus. Our empirical and theoretical results demonstrate the great potential ofOctopusin supporting various program analysis clients. The implementation has officially deployed at Ant Group, scaling the nightly code scan for massive FinTech applications.
- 29 March 2024
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Software Engineering and Methodology
- Vol. 33 (3) , 1-33
Open AccessOctopus: Scaling Value-Flow Analysis via Parallel Collection of Realizable Path Conditions
Value-flow analysis is a fundamental technique in program analysis, benefiting various clients, such as memory corruption detection and taint analysis. However, existing efforts suffer from the low potential speedup that leads to a deficiency in scalability. In this work, we present a parallel algorithmOctopusto collect path conditions for realizable paths efficiently.Octopusbuilds on the realizability decomposition to collect the intraprocedural path conditions of different functions simultaneously on-demand and obtain realizable path conditions by concatenation, which achieves a high potential speedup in parallelization. We implementOctopusas a tool and evaluate it over 15 real-world programs. The experiment shows thatOctopussignificantly outperforms the state-of-the-art algorithms. Particularly, it detects NULL-pointer-dereference bugs for the projectllvmwith 6.3 MLoC within 6.9 minutes under the 40-thread setting. We also state and prove several theorems to demonstrate the soundness, completeness, and high potential speedup ofOctopus. Our empirical and theoretical results demonstrate the great potential ofOctopusin supporting various program analysis clients. The implementation has officially deployed at Ant Group, scaling the nightly code scan for massive FinTech applications.
- Open Access
- 29 April 2022
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Programming Languages
- Vol. 6 (OOPSLA1) , 1-31
Complexity-guided container replacement synthesis
Containers, such as lists and maps, are fundamental data structures in modern programming languages. However, improper choice of container types may lead to significant performance issues. This paper presents Cres, an approach that automatically synthesizes container replacements to improve runtime performance. The synthesis algorithm works with static analysis techniques to identify how containers are utilized in the program, and attempts to select a method with lower time complexity for each container method call. Our approach can preserve program behavior and seize the opportunity of reducing execution time effectively for general inputs. We implement Cres and evaluate it on 12 real-world Java projects. It is shown that Cres synthesizes container replacements for the projects with 384.2 KLoC in 14 minutes and discovers six categories of container replacements, which can achieve an average performance improvement of 8.1%.
- 29 April 2022
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Programming Languages
- Vol. 6 (OOPSLA1) , 1-31
Open AccessComplexity-guided container replacement synthesis
Containers, such as lists and maps, are fundamental data structures in modern programming languages. However, improper choice of container types may lead to significant performance issues. This paper presents Cres, an approach that automatically synthesizes container replacements to improve runtime performance. The synthesis algorithm works with static analysis techniques to identify how containers are utilized in the program, and attempts to select a method with lower time complexity for each container method call. Our approach can preserve program behavior and seize the opportunity of reducing execution time effectively for general inputs. We implement Cres and evaluate it on 12 real-world Java projects. It is shown that Cres synthesizes container replacements for the projects with 384.2 KLoC in 14 minutes and discovers six categories of container replacements, which can achieve an average performance improvement of 8.1%.
- Open Access
- 10 July 2019
- Published by Association for Computing Machinery (ACM)
- p. 428-432
Identifying error code misuses in complex system
- 10 July 2019
- Published by Association for Computing Machinery (ACM)
- p. 428-432
Open AccessIdentifying error code misuses in complex system
- 1 October 2006
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- Vol. 2 (21647143) , 471-476
The Classification of Tumor Using Gene Expression Profile Based on Support Vector Machines and Factor Analysis
Gene expression data that is being used to gather information from tissue samples is expected to significantly improve the development of efficient tumor diagnosis and to provide understanding and insight into tumor related cellular processes. In this paper, we propose a novel feature selection approach which integrates the feature score criterion with factor analysis to further improve the SVM-based classification performance of gene expression data. We examine two sets of published gene expression data to validate the novel feature selection method by means of SVM classifier with different parameters. Experiments show that the proposed hybrid method can select a small quantity of principal factors to represent a large number of genes and SVM has a superior classification performance with the common factors which are extracted from gene expression data. Moreover, experiment results demonstrate successful cross-validation accuracy of 92% for the colon dataset and 100% for the leukemia dataset
- 1 October 2006
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- Vol. 2 (21647143) , 471-476
The Classification of Tumor Using Gene Expression Profile Based on Support Vector Machines and Factor Analysis
Gene expression data that is being used to gather information from tissue samples is expected to significantly improve the development of efficient tumor diagnosis and to provide understanding and insight into tumor related cellular processes. In this paper, we propose a novel feature selection approach which integrates the feature score criterion with factor analysis to further improve the SVM-based classification performance of gene expression data. We examine two sets of published gene expression data to validate the novel feature selection method by means of SVM classifier with different parameters. Experiments show that the proposed hybrid method can select a small quantity of principal factors to represent a large number of genes and SVM has a superior classification performance with the common factors which are extracted from gene expression data. Moreover, experiment results demonstrate successful cross-validation accuracy of 92% for the colon dataset and 100% for the leukemia dataset