Wensheng Tang

Wensheng Tang

Auto-generated profile, based on publicly available information

Wensheng Tang

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

Research Focus & Metrics

Academic Career Length

21Years (2006-Present)

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

Representative Publications

View All Publications
29 April 2022 in Proceedings of the ACM on Programming Languages
Verified
Journal Article
Open access
CWChengpeng Wang
Chengpeng Wang
PYPeisen Yao
Peisen Yao
WTWensheng Tang
Wensheng Tang
QSQingkai Shi
Qingkai Shi
CZCharles Zhang
Charles Zhang
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 March 2024 in ACM Transactions on Software Engineering and Methodology
Verified
Journal Article
Open access
WTWensheng Tang
Wensheng Tang
DDDejun Dong
Dejun Dong
SLShijie Li
Shijie Li
CWChengpeng Wang
Chengpeng Wang
PYPeisen Yao
Peisen Yao
CZCharles Zhang
Charles Zhang
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.


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

1 October 2006
Verified
Conference Paper
Closed access
SWShulin Wang
Shulin Wang
JWJi Wang
Ji Wang
HCHuowang Chen
Huowang Chen
WTWensheng Tang
Wensheng Tang
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