YWYongpan Wang

Yongpan Wang

*This is an algorithmically generated author record based on publicly available information.

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


Yongpan Wang has a total of 30 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    ClassEval-Pro: A Cross-Domain Benchmark for Class-Level Code Generation

    by Yeheng Chen, Chaoxiang Xie, Yuling Shi, Wenhao Zeng, Yongpan Wang, Hongyu Zhang, Xiaodong Gu

  • BinEnhance-Pro: Enhancing Binary Code Search by Distinguishing Similar but Non-Homologous Functions

    by Yongpan Wang, Qi Liu, Zhen Lei, Siyuan Li, Xiaojie Zhu, Zhihui Zhao, Xiaodong Gu, Yongle Chen

    Binary code search is essential in applications such as software reuse detection and vulnerability identification. Existing methods rely on intra-function semantics or their combination with call graphs, which struggle to address real-world complexities like function inlining (missing callees) and highly similar calls. Our previous work However, its effectiveness is limited by low-quality random training data, which fails to adequately distinguish Similar but Non-homologous Functions (SNFs), resulting in a high false positive rate. In this paper, we propose BinEnhance-Pro, a general framework that integrates a hard negative mining strategy into the training process. Specifically, we select SNFs with high similarity in internal embeddings as hard negatives, and introduce an adaptive balancing mechanism that determines their optimal ratio to random samples based on the learning capability of the internal semantic model. This strategy forces the model to learn finer-grained decision boundaries, effectively distinguishing true semantic equivalence from superficial structural similarity. We conduct experiments across six different tasks, and the results demonstrate both the performance and robustness of BinEnhance-Pro . When applied to existing methods such as Diemph, HermesSim on a public dataset, BinEnhance-Pro demonstrates a notable improvement in Mean Average Precision (MAP), increasing from 54.2% to 70.3%, and outperforming the enhancements brought by BinEnhance

  • Open Access

    LibvDiff: Library Version Difference Guided OSS Version Identification in Binaries

    by Chaopeng Dong, Siyuan Li, Shouguo Yang, Yang Xiao, Yongpan Wang, Hong Li, Zhi Li, Limin Sun

    Open-source software (OSS) has been extensively employed to expedite software development, inevitably exposing downstream software to the peril of potential vulnerabilities. Precisely identifying the version of OSS not only facilitates the detection of vulnerabilities associated with it but also enables timely alerts upon the release of 1-day vulnerabilities. However, current methods for identifying OSS versions rely heavily on version strings or constant features, which may not be present in compiled OSS binaries or may not be representative when only function code changes are made. As a result, these methods are often imprecise in identifying the version of OSS binaries being used. To this end, we propose LibvDiff, a novel approach for identifying open-source software versions. It detects subtle differences through precise symbol information and function-level code changes using binary code similarity detection. LibvDiff introduces a candidate version filter based on a novel version coordinate system to improve efficiency by quantifying gaps between versions and rapidly identifying potential versions. To speed up the code similarity detection process, LibvDiff proposes a function call-based anchor path filter to minimize the number of functions compared in the target binary. We evaluate the performance of LibvDiff through comprehensive experiments under various compilation settings and two datasets (one with version strings, and the other without version strings), which demonstrate that our approach achieves 94.5% and 78.7% precision in two datasets, outperforming state-of-the-art works (including both academic methods and industry tools) by an average of 54.2% and 160.3%, respectively. By identifying and analyzing OSS binaries in real-world firmware images, we make several interesting findings, such as developers having significant differences in their updates to different OSS, and different vendors may also utilize identical OSS binaries.


  • Open Access

    LibAM: An Area Matching Framework for Detecting Third-Party Libraries in Binaries

    by Siyuan Li, Yongpan Wang, Chaopeng Dong, Shouguo Yang, Hong Li, Hao Sun, Zhe Lang, Zuxin Chen, Weijie Wang, Hongsong Zhu, et al.

    Third-party libraries (TPLs) are extensively utilized by developers to expedite the software development process and incorporate external functionalities. Nevertheless, insecure TPL reuse can lead to significant security risks. Existing methods, which involve extracting strings or conducting function matching, are employed to determine the presence of TPL code in the target binary. However, these methods often yield unsatisfactory results due to the recurrence of strings and the presence of numerous similar non-homologous functions. Furthermore, the variation in C/C++ binaries across different optimization options and architectures exacerbates the problem. Additionally, existing approaches struggle to identify specific pieces of reused code in the target binary, complicating the detection of complex reuse relationships and impeding downstream tasks. And, we call this issue the poor interpretability of TPL detection results. In this article, we observe that TPL reuse typically involves not just isolated functions but also areas encompassing several adjacent functions on the Function Call Graph (FCG). We introduce LibAM, a novel Area Matching framework that connects isolated functions into function areas on FCG and detects TPLs by comparing the similarity of these function areas, significantly mitigating the impact of different optimization options and architectures. Furthermore, LibAM is the first approach capable of detecting the exact reuse areas on FCG and offering substantial benefits for downstream tasks. To validate our approach, we compile the first TPL detection dataset for C/C++ binaries across various optimization options and architectures. Experimental results demonstrate that LibAM outperforms all existing TPL detection methods and provides interpretable evidence for TPL detection results by identifying exact reuse areas. We also evaluate LibAM’s scalability on large-scale, real-world binaries in IoT firmware and generate a list of potential vulnerabilities for these devices. Our experiments indicate that the Area Matching framework performs exceptionally well in the TPL detection task and holds promise for other binary similarity analysis tasks. Last but not least, by analyzing the detection results of IoT firmware, we make several interesting findings, for instance, different target binaries always tend to reuse the same code area of TPL. The datasets and source code used in this article are available at https://github.com/Siyuan-Li201/LibAM .


  • LibDI: A Direction Identification Framework for Detecting Complex Reuse Relationships in Binaries

    by Siyuan Li, Chaopeng Dong, Yongpan Wang, Wenming Liu, Weijie Wang, Hong Li, Hongsong Zhu, Limin Sun

    With the continuous evolution of software development, the increasing reuse and complexity of programs have become prominent. Detecting and analyzing reuse relationships in binary programs are crucial for software maintenance, performance optimization, and security enhancement. However, existing methods only identify whether binaries have reuse relationships without distinguishing the source binary of the reused code. This limitation hinders the detection of complex reuse relationships, such as nested reuse and pseudo-propagation reuse, and adversely affects the detection of 1-day vulnerability propagation relationships. To address this challenge, we propose LibDI, a Direction Identification framework specifically designed for detecting complex reuse relationships in C/C++ binaries. LibDI utilizes the Multi-level direction identification technique to accurately determine the direction of reuse between binaries, enabling the identification of complex reuse relationships. Experimental results demonstrate that LibDI achieves a recognition accuracy of 0.976 on public datasets, significantly outperforming existing methods. Moreover, LibDI successfully identifies complex reuse relationships in large-scale IoT firmware and effectively detects the propagation paths of vulnerabilities.


  • Open Access

    Parsing Table Structures in the Wild

    by Rujiao Long, Wen Wang, Nan Xue, Feiyu Gao, Zhibo Yang, Yongpan Wang, Gui-Song Xia

    This paper tackles the problem of table structure parsing (TSP) from images in the wild. In contrast to existing studies that mainly focus on parsing well-aligned tabular images with simple layouts from scanned PDF documents, we aim to establish a practical table structure parsing system for real-world scenarios where tabular input images are taken or scanned with severe deformation, bending or occlusions. For designing such a system, we propose an approach named Cycle-CenterNet on the top of CenterNet with a novel cycle-pairing module to simultaneously detect and group tabular cells into structured tables. In the cycle-pairing module, a new pairing loss function is proposed for the network training. Alongside with our Cycle-CenterNet, we also present a large-scale dataset, named Wired Table in the Wild (WTW), which includes well-annotated structure parsing of multiple style tables in several scenes like the photo, scanning files, web pages, \emph{etc.}. In experiments, we demonstrate that our Cycle-CenterNet consistently achieves the best accuracy of table structure parsing on the new WTW dataset by 24.6\% absolute improvement evaluated by the TEDS metric. A more comprehensive experimental analysis also validates the advantages of our proposed methods for the TSP task.