You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-11Lines changed: 5 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@
14
14
</p>
15
15
16
16
17
-
Python-BPF is an LLVM IR generator for eBPF programs written in Python. It uses [llvmlite](https://github.com/numba/llvmlite) to generate LLVM IR and then compiles to LLVM object files. These object files can be loaded into the kernel for execution. Unlike BCC, Python-BPF performs compilation without relying on its infrastructure.
17
+
Python-BPF is an LLVM IR generator for eBPF programs written in Python. It uses [llvmlite](https://github.com/numba/llvmlite) to generate LLVM IR and then compiles to LLVM object files. These object files can be loaded into the kernel for execution. Python-BPF performs compilation without relying on BCC.
18
18
19
19
> **Note**: This project is under active development and not ready for production use.
20
20
@@ -159,23 +159,17 @@ This architecture eliminates the need for embedding C code in Python, allowing f
159
159
```bash
160
160
make install
161
161
```
162
-
163
-
3. Build and test examples:
164
-
165
-
```bash
166
-
make
167
-
```
168
-
169
-
4. Verify an object file with the kernel verifier:
162
+
Then, run any example in `examples`
163
+
3. Verify an object file with the kernel verifier:
170
164
171
165
```bash
172
-
./check.sh check execve2.o
166
+
./tools/check.sh check execve2.o
173
167
```
174
168
175
169
5. Run an object file using `bpftool`:
176
170
177
171
```bash
178
-
./check.sh run execve2.o
172
+
./tools/check.sh run execve2.o
179
173
```
180
174
181
175
6. Explore LLVM IR output from clang in `examples/c-form` by running `make`.
0 commit comments