登录 注册

sanitizers

去点 Star
内容创作与媒体工具
12,525
Stars
0
Forks
0
Watchers
0
Open Issues
未知
许可证
C
语言
创建时间
最近更新

项目能做什么

Google 开发的动态代码分析工具集,包含 AddressSanitizer、ThreadSanitizer、MemorySanitizer。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# sanitizers (Archived)

**This _repository_ has been archived and is no longer actively maintained.**

The Sanitizers _repository_, which includes AddressSanitizer, MemorySanitizer, ThreadSanitizer, LeakSanitizer, and more, is now archived. The core code for these sanitizers resides within the [LLVM](http://llvm.org) repository. This repository will be retained for archival purposes, providing access to historical documentation, bugfixes, and helper code.

**Important:** Please do not file new bug reports in this repository.

**Where to Report Bugs:**

* **LLVM:** For bugs related to the sanitizer runtimes and instrumentation, please report them to the [LLVM Bug Tracker](https://github.com/llvm/llvm-project/issues/).
* **GCC:** For bugs related to the GCC port of the sanitizers, please report them to the [GCC Bugzilla](https://gcc.gnu.org/bugzilla/).
* **Linux Kernel:** For bugs related to Kernel AddressSanitizer (KASAN), Kernel MemorySanitizer (KMSAN), or Kernel ConcurrencySanitizer (KCSAN), please report them through the appropriate Linux kernel bug reporting channels, such as the [Linux kernel mailing list](https://vger.kernel.org/vger-lists.html#linux-kernel).
* **Linux Distributions:** For bugs related to compiler issues in specific Linux distributions that are not reproducible in trunk compilers, please report them to the respective distribution's bug tracker (e.g., Debian Bug Tracking System, Red Hat Bugzilla).
* **Apple and Microsoft:** For bugs related to the compilers provided by Apple (Xcode) or Microsoft (Visual Studio), please report them through the respective vendor's bug reporting channels.
* **Android NDK:** For bugs related to Android, please report them to the [NDK issue tracker](https://github.com/android/ndk).

**Documentation (Archived):**

* [AddressSanitizer](../../wiki/AddressSanitizer) (detects addressability issues) and [LeakSanitizer](../../wiki/AddressSanitizerLeakSanitizer) (detects memory leaks)
* ThreadSanitizer (detects data races and deadlocks) for [C++](../../wiki/ThreadSanitizerCppManual) and [Go](../../wiki/ThreadSanitizerGoManual)
* [MemorySanitizer](../../wiki/MemorySanitizer) (detects use of uninitialized memory)
* [HWASAN](https://clang.llvm.org/docs/HardwareAssistedAddressSanitizerDesign.html), or Hardware-assisted AddressSanitizer, a newer variant of AddressSanitizer that consumes much less memory
* [UBSan](https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html), or UndefinedBehaviorSanitizer

**Kernel Sanitizers (Archived Documentation):**

* [KASAN](https://www.kernel.org/doc/html/v4.12/dev-tools/kasan.html)
* [KMSAN](https://github.com/google/kmsan)
* [KCSAN](https://github.com/google/kernel-sanitizers/blob/master/KCSAN.md)

Thank you for your understanding.
阅读完整原文

商业机会分析 AI 生成

Sanitizer 崩溃日志智能分诊与可视化 SaaS

产品构想构建一套接入 CI/CD 的分析平台,接收 ASan/TSan/MSan 输出的原始崩溃与竞态堆栈信息,利用 AST 分析和符号化服务进行自动聚类、根因定位与修复建议生成。
核心功能CI 插件一键接入、多平台(ASan/TSan/UBSan)报错统一聚合解析、自动化去重与根因智能诊断、漏洞严重度评级报表。
目标用户中大型企业 C/C++ 研发团队、DevOps 负责人、QA 自动化测试工程师。
难度/周期高 · 3-6个月 · 成本:开发机器与测试集群成本、LLVM/GCC 多版本编译与符号解析服务器成本。
收费模式B2B SaaS 订阅制(按监控的构建任务数或活跃代码库数量计费)。
竞争风险底层核心开源且技术门槛高,大厂内部多有自研分诊系统;开源社区已有基础报错格式化工具。
依据 AI推测

嵌入式与特定架构的 Sanitizer 移植与性能优化商业支持

产品构想针对资源受限设备、定制 RTOS 或特殊硬件架构提供 HWASAN/ASan 运行时适配、内存开销优化与商业技术支持服务。
核心功能定制化 Sanitizer Runtime、内存占用减半优化补丁、定制 RTOS 接入方案、技术支持与 SLA 保障。
目标用户汽车电子、工业控制、IoT 芯片开发及嵌入式系统解决方案厂商。
难度/周期极高 · 6-12个月 · 成本:各种硬件开发板采购成本、极高的底层系统与编译器开发人力成本。
收费模式项目制咨询费、企业级定制授权费及年度维护保障费。
竞争风险交付周期长且依赖具体硬件,缺乏通用标准,单人或极小团队难以支撑交付与售后维护。
依据 尚需验证的假设

基于 Sanitizers 的安全模糊测试 (Fuzzing) 托管服务

产品构想整合 libFuzzer/AFL 与各类 Sanitizers,为开源软件及商业库提供云端持续模糊测试与内存安全体检服务。
核心功能代码库一键挂载自动化插桩编译、持续分布式 Fuzz 运行、内存违规实时告警、安全合规导出报告。
目标用户需要通过安全合规审计的独立软件开发商 (ISV)、金融与高安全级软件团队。
难度/周期高 · 4-6个月 · 成本:持续高负载的云端计算资源(CPU/内存密集型集群)开销。
收费模式按测试时长/算力规格消耗订阅,或按审计报告次数收费。
竞争风险Google OSS-Fuzz 为开源项目提供免费服务;商业竞品(如 GitLab/Synopsys 等)已集成成熟的 Fuzzing 方案。
依据 数据支持的判断
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

项目中文简介Stars语言
cure53/DOMPurify 中文介绍暂未生成
DOMPurify - a DOM-only, super-fast, uber-tolerant XSS saniti
17,522 JavaScript
derailed/popeye 中文介绍暂未生成
👀 A Kubernetes cluster resource sanitizer
6,471 Go
asaskevich/govalidator 中文介绍暂未生成
[Go] Package of validators and sanitizers for strings, numer
6,203 Go
TheLartians/ModernCppStarter 中文介绍暂未生成
🚀 Kick-start your C++! A template for modern C++ projects us
5,411 CMake
leizongmin/js-xss 中文介绍暂未生成
Sanitize untrusted HTML (to prevent XSS) with a configuratio
5,310 HTML
microcosm-cc/bluemonday 中文介绍暂未生成
bluemonday: a fast golang HTML sanitizer (inspired by the OW
3,732 Go
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建于 ,最近推送
社区活跃Star 12,525 / Fork 0 / Issue 0(数据支持,可自行核实)
许可证未检测到(需人工确认)
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

快速开始(以仓库 README 为准)
git clone https://github.com/google/sanitizers.git
cd sanitizers
# 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
阅读原仓库文档
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。