-
```
fatal error: error in backend: unimplemented opcode: 191
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocesse…
-
https://github.com/vincentmli/xdp-tools/blob/dns-deny/xdp-dns/xdp_dns.bpf.c passed verifier, load and attached ok in BPFire
`xdp-loader load green0 -vvv -m skb -P 80 -p /sys/fs/bpf/xdp-dns -n xdp_…
-
# 虚拟机
eBPF 是一个 RISC 寄存器机,共有 11 个 64 位寄存虚拟机器,一个程序计数器和一个 512 字节固定大小的堆栈。九个寄存器是通用读写的,一个是只读堆栈指针,程序计数器是隐式的,即我们只能跳转到计数器的某个偏移量。VM 寄存器始终为 64 位宽(即使在 32 位 ARM 处理器内核中运行!)并且如果最高有效的 32 位为零,则支持 32 位子寄存器寻址 - 这将在第四部分…
-
I believe that increments like [this one](https://github.com/evilsocket/opensnitch/blob/1db03b5570ea429227ea39b4c6947a0746b1de59/ebpf_prog/opensnitch.c#L422) should be done via:
> __sync_fetch_and_…
-
Hi,
I'm at present exploring other applications for cbpf outside of filtering (ranking, sorting, etc) many of which require alternative return values (no longer just snaplen). As such I've been han…
-
Below are some of the block diagrams that we are currently basing the design on. Please let us know if there are any concerns or inaccuracies, as we are still wrapping our heads around the interface, …
-
`Illegal instruction (core dumped)` - when I run` ./simple_timer`. and a
`segmentation fault (core dumped)` - when I run `./simple_open`?
I have not been able to carry out a PoC due to the above …
-
### 开篇
之前也零零散散看过一些ebpf相关的知识, 就是没有深入的去学习, 2023 Q2开始计划每个Q在技术上只专注在一个点上(避免不聚焦导致最后一事无成). 花3个月深入的了解一门技术.
Q3计划专注在ebpf上, 整理了三个KR:
- [ ] KR1 看完 > 并整理学习笔记
- [ ] KR2 ebpf相关项目三个PR
- [ ] KR3 看看 > 并整理学…
-
Thanks to your great idea and project !
When I run the project with the correct kernel CONFIG (including CONFIG_BPF_SYSCALL=y , CONFIG_BPF_JIT=y),
but I still got the ouput:
```sh
root@ubun…
-
Hi,
I stumbled over the following issue, the compiler seems to create an invalid opcode for the following:
```
from bcc import BPF
# load BPF program
b = BPF(text = """
struct Key {
unsigned c…