https://github.com/chl12172025-code/nullprt
A statically-compiled, system-level programming language for software protection, hardware-bound licensing, and anti-tampering. Cross-platform (Windows/macOS/Linux). Self-hosted toolchain.
https://github.com/chl12172025-code/nullprt
anti-tamper arm64 c-abi code-obfuscation compiler cross-platform licensing linux macos native-code nprt nullprt programming-language security self-hosted software-protection static-typing system-programming windows x86-64
Last synced: 14 days ago
JSON representation
A statically-compiled, system-level programming language for software protection, hardware-bound licensing, and anti-tampering. Cross-platform (Windows/macOS/Linux). Self-hosted toolchain.
- Host: GitHub
- URL: https://github.com/chl12172025-code/nullprt
- Owner: chl12172025-code
- License: apache-2.0
- Created: 2026-04-22T12:43:16.000Z (25 days ago)
- Default Branch: main
- Last Pushed: 2026-04-28T05:37:05.000Z (19 days ago)
- Last Synced: 2026-04-28T07:34:33.641Z (19 days ago)
- Topics: anti-tamper, arm64, c-abi, code-obfuscation, compiler, cross-platform, licensing, linux, macos, native-code, nprt, nullprt, programming-language, security, self-hosted, software-protection, static-typing, system-programming, windows, x86-64
- Language: C
- Homepage:
- Size: 290 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Roadmap: ROADMAP.md
Awesome Lists containing this project
README
[](https://github.com/chl12172025-code/Nullprt/actions/workflows/nullprt-ci.yml)
CI passes with expected diagnostics in early-stage bootstrap environments.
## Nullprt(NPRT)支持仓库
当前版本目标:`0.2.0-beta`。
### 文档入口
- 文档站点主页:`docs/index.html`
- GitHub Pages:`https://chl12172025-code.github.io/Nullprt/`
- API 参考(HTML):`site/api/index.html`(由 `scripts/generate_api_docs.ps1` 生成)
- 教程目录:`docs/tutorials/`
- 工程规格:`spec/`
- 扩展名与图标集成:`docs/extensions/icon-integration.md`
- 最小工具链验收清单:`docs/verification/minimal-toolchain-checklist.md`
### 工具链列表
- `apps/nprt-studio`:NPRT Studio 原生编辑器(Qt + Scintilla 架构骨架)
- `aegc1`:Nullprt 编译器驱动
- `nprt-pkg`:包管理器
- `nprt-lsp`:语言服务器(LSP 3.17)
- `nprt-debug`:开发者版调试器(DAP 集成入口)
- 支持最小会话状态:`attach/detach/break/step/stack/status`
- `nprt-prof`:开发者版性能分析器
- 支持 `text/json/html/svg` 输出与 trace 聚合输入(` `)
- `nprt-doc`:API 文档生成器
- 生成 `index.html` / `index.md` / `index.json`(最小 API 列表)
- `nprt-fmt`:代码格式化工具
- 支持 `--check/--write/--diff` 与 `--check-all/--write-all/--diff-all`
- `scripts/generate_api_docs.ps1`:文档生成脚本
### 示例项目
- `examples/hello_nprt/`
- `examples/http_server/`
- `examples/license_verification/`
- `examples/self_protection/`
- `examples/c_interop/`
- `examples/security_research_tool/`(仅开发者版本)
### Stage0 开发环境依赖
- Windows:需安装以下任一 C 工具链(Stage0 自举使用)
- Visual Studio Build Tools: [https://visualstudio.microsoft.com/visual-cpp-build-tools/](https://visualstudio.microsoft.com/visual-cpp-build-tools/)
- LLVM/Clang: [https://llvm.org/](https://llvm.org/)
- MinGW-w64: [https://www.mingw-w64.org/](https://www.mingw-w64.org/)
- macOS:Xcode Command Line Tools(`xcode-select --install`)
- Linux:`gcc` 或 `clang`(通过发行版包管理器安装)
上述外部编译器依赖仅在 Stage0 bootstrap 阶段需要;最终 Nullprt 发行包不依赖任何外部编译器。
## 安装
### 下载预编译二进制
从 [Releases](https://github.com/chl12172025-code/Nullprt/releases) 页面下载 `v0.2.0-beta` 对应平台压缩包(Windows/Linux/macOS x x86_64/arm64),解压后将 `bin/` 目录加入 `PATH`。
## 道德与法律合规
安全研究相关能力(硬件标识模拟、VM 行为模拟、跨进程内存操作)仅限授权的安全研究和兼容性测试。
默认发行构建必须关闭开发者研究能力,不得用于攻击第三方系统或绕过许可验证。