-
**Describe the bug**
The inability to directly read the filename in sys_enter_openat is due to the fact that upon entering the system call, the filename (a user space pointer) may not have been fully…
-
**Describe the bug**
With `cilium/ebpf`, it is not possible reference kconfig variables like `LINUX_KERNEL_VERSION`.
**To Reproduce**
Steps to reproduce the behavior. Please include:
```sh
# …
-
### Describe the feature you'd like supported
Blocked on #1640
### Proposed solution
Port cilium/ebpf to run on ebpf-for-windows
### Additional context
_No response_
-
## Current situation
I would like to revisit the design decision in this commit:
https://github.com/inspektor-gadget/inspektor-gadget/pull/2015/commits/8b513e713340f35f9b301af6914542d3f6f8abf1
…
alban updated
11 months ago
-
## Cilium Feature Proposal
Using bpf2go to generate Golang code for enums from C code, the resulting Golang constants are hard to read.
For example, the following C enum:
```c
enum enum_name {…
-
Using bpf2go to generate Golang code for enums from C code, the resulting Golang constants are hard to read.
For example, the following C enum:
```c
enum enum_name {
ENUM_KEY_0;
ENUM_KEY_1;
…
-
https://github.com/NHAS/wag/blob/66fc1b2ef127948e2b7cf152e0caa2e74bdc59db/router/routes.go#L36
└─# make
BPF_CLANG=clang BPF_CFLAGS='-O2 -g -Wall -Werror' go generate ./...
go: downloading golan…
-
When defining an enum in C like
```c
enum test_enum {
FOO_BAR,
};
```
and using bpf2go to generate the Go type for that, the resulting Go constant is
```go
const (
identTestEnumFOO_BAR …
-
In order for end-users to implement logic in GO using our API types we want to provide guidance as to how we want application developers to interact with our API.
There are two options (for GOlang…
-
**Describe the bug**
When using c `unsigned __int128 saddr;` in ebpf, it was escaping golang's uint128 which was obviously incorrect, so added to convert it to [16]byte or [16]uint8 instead .... may …