Lune

ASE2022Top-tier venue

Towards Understanding Third-party Library Dependency in C/C++ Ecosystem

Wei Tang, Zhengzi Xu, Chengwei Liu, Jiahui Wu, Shouguo Yang, Yi Li, Ping Luo, Yang Liu

Abstract

Third-party libraries (TPLs) are frequently reused in software to reduce development cost and the time to market. However, external library dependencies may introduce vulnerabilities into host applications. The issue of library dependency has received considerable critical attention. Many package managers, such as Maven, Pip, and NPM, are proposed to manage TPLs. Moreover, a significant amount of effort has been put into studying dependencies in language ecosystems like Java, Python, and JavaScript except C/C++. Due to the lack of a unified package manager for C/C++, existing research has only few understanding of TPL dependencies in the C/C++ ecosystem, especially at large scale. Towards understanding TPL dependencies in the C/C++ ecosystem, we collect existing TPL databases, package management tools, and dependency detection tools, summarize the dependency patterns of C/C++ projects, and construct a comprehensive and precise C/C++ dependency detector. Using our detector, we extract dependencies from a large-scale database containing 24K C/C++ repositories from GitHub. Based on the extracted dependencies, we provide the results and findings of an empirical study, which aims at understanding the characteristics of the TPL dependencies. We further discuss the implications to manage dependency for C/C++ and the future research directions for software engineering researchers and developers in fields of library development, software composition analysis, and C/C++ package manager.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

17 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Third-Party Library Dependency for Large-Scale SCA in the C/C++ Ecosystem: How Far Are We? cites Identifying Open-Source License Violation and 1-day Security Risk at Large Scale
  • Third-Party Library Dependency for Large-Scale SCA in the C/C++ Ecosystem: How Far Are We? cites Functional code clone detection with syntax and semantics fusion learning
  • DONAPI: Malicious NPM Packages Detector using Behavior Sequence Knowledge Mapping cites Demystifying the Vulnerability Propagation and Its Evolution via Dependency Trees in the NPM Ecosystem
  • DONAPI: Malicious NPM Packages Detector using Behavior Sequence Knowledge Mapping cites Small World with High Risks: A Study of Security Threats in the npm Ecosystem
  • BinaryAI: Binary Software Composition Analysis via Intelligent Binary Source Code Matching cites Identifying Open-Source License Violation and 1-day Security Risk at Large Scale
  • BinaryAI: Binary Software Composition Analysis via Intelligent Binary Source Code Matching cites Functional code clone detection with syntax and semantics fusion learning
  • BinaryAI: Binary Software Composition Analysis via Intelligent Binary Source Code Matching cites Demystifying the Vulnerability Propagation and Its Evolution via Dependency Trees in the NPM Ecosystem
  • BinaryAI: Binary Software Composition Analysis via Intelligent Binary Source Code Matching cites OSSFP: Precise and Scalable C/C++ Third-Party Library Detection using Fingerprinting Functions
  • Demystifying the Vulnerability Propagation and Its Evolution via Dependency Trees in the NPM Ecosystem cites Small World with High Risks: A Study of Security Threats in the npm Ecosystem
  • OSSFP: Precise and Scalable C/C++ Third-Party Library Detection using Fingerprinting Functions cites Identifying Open-Source License Violation and 1-day Security Risk at Large Scale
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers17

  1. BOMs Away! Inside the Minds of Stakeholders: A Comprehensive Study of Bills of Materials for Software SystemsTrevor Stalnaker, Nathan Wintersgill, Oscar Chaparro, Massimiliano Di Penta et al.ICSE 2024 · 50 citations
  2. BinaryAI: Binary Software Composition Analysis via Intelligent Binary Source Code MatchingLing Jiang, Junwen An, Huihui Huang, Qiyi Tang et al.ICSE 2024 · 43 citations
  3. DONAPI: Malicious NPM Packages Detector using Behavior Sequence Knowledge MappingCheng Huang, Nannan Wang, Ziyan Wang, Siqi Sun et al.USENIX Security 2024 · 38 citations
  4. OSSFP: Precise and Scalable C/C++ Third-Party Library Detection using Fingerprinting FunctionsJiahui Wu, Zhengzi Xu, Wei Tang, Lyuye Zhang et al.ICSE 2023 · 29 citations
  5. Third-Party Library Dependency for Large-Scale SCA in the C/C++ Ecosystem: How Far Are We?Ling Jiang, Hengchen Yuan, Qiyi Tang, Sen Nie et al.ISSTA 2023 · 24 citations

Builds on11

  1. Small World with High Risks: A Study of Security Threats in the npm EcosystemMarkus Zimmermann, Cristian-Alexandru Staicu, Cam Tenny, Michael PradelUSENIX Security 2019 · 281 citations
  2. Identifying Open-Source License Violation and 1-day Security Risk at Large ScaleRuian Duan, Ashish Bijlani, Meng Xu, Taesoo Kim et al.CCS 2017 · 126 citations
  3. Functional code clone detection with syntax and semantics fusion learningChunrong Fang, Zixi Liu, Yangyang Shi, Jeff Huang et al.ISSTA 2020 · 125 citations
  4. Demystifying the Vulnerability Propagation and Its Evolution via Dependency Trees in the NPM EcosystemChengwei Liu, Sen Chen, Lingling Fan, Bihuan Chen et al.ICSE 2022 · 94 citations
  5. A Qualitative Study of Dependency Management and Its Security ImplicationsIvan Pashchenko, Duc-Ly Vu, Fabio MassacciCCS 2020 · 84 citations

Related papers

  1. ATVHUNTER: Reliable Version Detection of Third-Party Libraries for Vulnerability Identification in Android ApplicationsXian Zhan, Lingling Fan, Sen Chen, Feng Wu et al.ICSE 2021 · 85 citations
  2. Insight: Exploring Cross-Ecosystem Vulnerability ImpactsMeiqiu Xu, Ying Wang, Shing-Chi Cheung, Hai Yu et al.ASE 2022 · 12 citations
  3. VulSCA: A Community-Level SCA Approach for Accurate C/C++ Supply Chain Vulnerability AnalysisYutao Hu, Chaofan Li, Yueming Wu, Yifeng Cai et al.NDSS 2026 · 1 citation
  4. Beyond Similarity Scores: Evidence-Based Third-Party Library Detection for C/C++ BinariesChengyue Liu, Zhengzi Xu, Lyuye Zhang, Jiahui Wu et al.ISSTA 2026
  5. Automated Third-Party Library Detection for Android Applications: Are We There Yet?Xian Zhan, Lingling Fan, Tianming Liu, Sen Chen et al.ASE 2020 · 55 citations
Dusk over the sea between two cliffs drawn in fine vertical lines