Add acknowledgements for the original ptrace-inject project

Credit Artemis21/ptrace-inject (https://github.com/Artemis21/ptrace-inject)
as the original Rust project this C++ port is based on, in both READMEs
and the public header.
This commit is contained in:
xiaozhou233 committed 2026-10-18 21:40:12 +08:00
1 parent b78aa07f78
commit 50135e5f87
3 files changed
+19

No files matched your search

+5
View File
@@ -317,3 +317,8 @@ cat /tmp/ptrace_inject_sample.txt
- **不 `dlclose`**:加载后的库会一直留在目标进程里,符合「注入」的预期。
- **路径可见性**:`canonicalize` 发生在注入器进程,目标进程必须能访问同一路径
(同一 mount namespace)。
## 致谢
本项目是 [Artemis21/ptrace-inject](https://github.com/Artemis21/ptrace-inject)
的 C++ 移植版。整体思路、基于 shellcode 的注入方式以及很多设计细节都来自原项目。
+7
View File
@@ -353,3 +353,10 @@ the target process.
the expected behaviour for injection.
- **Path visibility**: `canonicalize` runs in the injector process, so the
target must be able to access the same path (same mount namespace).
## Acknowledgements
This project is a C++ port of
[Artemis21/ptrace-inject](https://github.com/Artemis21/ptrace-inject).
The original idea, the shellcode-based injection approach, and much of the
design come from that project.
+7
View File
@@ -1,3 +1,10 @@
/*
* ptrace_inject - C ABI for injecting shared libraries with ptrace.
*
* C++ port of the original Rust project:
* https://github.com/Artemis21/ptrace-inject
*/
#ifndef PTRACE_INJECT_H
#define PTRACE_INJECT_H