{"id":13627211,"url":"https://github.com/ergrelet/cpplumber","last_synced_at":"2025-06-17T02:32:40.162Z","repository":{"id":60177494,"uuid":"522020454","full_name":"ergrelet/cpplumber","owner":"ergrelet","description":"Static analysis tool based on clang, which detects source-to-binary information leaks in C and C++ projects","archived":false,"fork":false,"pushed_at":"2022-10-02T18:58:34.000Z","size":216,"stargazers_count":85,"open_issues_count":3,"forks_count":6,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-27T15:49:18.251Z","etag":null,"topics":["anti-reversing","c","clang","continuous-integration","cpp","devsecops","obfuscation","rust","static-analysis"],"latest_commit_sha":null,"homepage":"https://ergrelet.github.io/cpplumber/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ergrelet.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-06T18:11:09.000Z","updated_at":"2025-04-23T20:15:03.000Z","dependencies_parsed_at":"2023-01-19T02:16:00.504Z","dependency_job_id":null,"html_url":"https://github.com/ergrelet/cpplumber","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ergrelet/cpplumber","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ergrelet%2Fcpplumber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ergrelet%2Fcpplumber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ergrelet%2Fcpplumber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ergrelet%2Fcpplumber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ergrelet","download_url":"https://codeload.github.com/ergrelet/cpplumber/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ergrelet%2Fcpplumber/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260277403,"owners_count":22985092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anti-reversing","c","clang","continuous-integration","cpp","devsecops","obfuscation","rust","static-analysis"],"created_at":"2024-08-01T22:00:31.436Z","updated_at":"2025-06-17T02:32:40.089Z","avatar_url":"https://github.com/ergrelet.png","language":"Rust","readme":"# cpplumber [![License](https://img.shields.io/badge/license-GPL--3.0-blue.svg)](https://img.shields.io/badge/license-GPL--3.0-blue.svg) [![rustc 1.63.0](https://img.shields.io/badge/rust-1.63.0%2B-orange.svg)](https://img.shields.io/badge/rust-1.63.0%2B-orange.svg) [![Tests Status](https://github.com/ergrelet/cpplumber/workflows/Tests/badge.svg?branch=main)](https://github.com/ergrelet/cpplumber/actions?query=workflow%3ATests) [![Coverage Status](https://coveralls.io/repos/github/ergrelet/cpplumber/badge.svg?branch=main)](https://coveralls.io/github/ergrelet/cpplumber?branch=main)\n\nCpplumber is a static analysis tool that helps detecting and keeping track of C\nand C++ source code information that leaks into compiled executable files.\n\nThe project is written in Rust and depends on libclang, so it's cross-platform and\ncan be used on projects that use the latest C and C++ standards.\n\n## Key Features\n\n* Supports JSON compilation databases\n* Tracks leaks of string literals, struct names and class names\n* Allows filtering reported leaks through a YAML configuration file\n* Generates raw text and JSON reports\n\n## Quick Example\n\nImagine you have a source file `file1.c` that you compiled into `a.out` and\nyou want to know if some string literal ended up in `a.out`, you can simply do:\n```\n$ cpplumber --bin a.out file1.c\n[2022-09-24T19:57:14Z INFO  cpplumber] Gathering source files...\n[2022-09-24T19:57:14Z INFO  cpplumber] Filtering suppressed files...\n[2022-09-24T19:57:14Z INFO  cpplumber] Extracting artifacts from source files...\n[2022-09-24T19:57:15Z INFO  cpplumber] Filtering suppressed artifacts...\n[2022-09-24T19:57:15Z INFO  cpplumber] Looking for leaks in 'a.out'...\n\"My_Super_Secret_API_Key\" (string literal) leaked at offset 0x14f20 in \"/full/path/to/a.out\" [declared at /full/path/to/file1.c:5]\nError: Leaks detected!\n```\n\n## Documentation\n\nThe full user documentation is available [here](https://ergrelet.github.io/cpplumber/)\n(and also [here](https://github.com/ergrelet/cpplumber/blob/gh-pages/index.md)\nas Markdown).\n\n## How to Build\n\nRust version 1.63.0 or greater is needed to build the project.\n\n```\ngit clone https://github.com/ergrelet/cpplumber.git\ncd cpplumber\ncargo build --release\n```\n\n## How to Install\n\nIf you have Rust installed, you can easily install Cpplumber with `cargo`:\n```\ncargo install --git https://github.com/ergrelet/cpplumber --tag 0.1.0\n```\n\nAfter that, you can invoke `cpplumber` from anywhere through the command-line.\n\nKeep in mind that you need to have the required dependencies installed for\n`cpplumber` to run properly. Check out the user documentation for more details.\n\n","funding_links":[],"categories":["Static Analysis"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fergrelet%2Fcpplumber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fergrelet%2Fcpplumber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fergrelet%2Fcpplumber/lists"}