0ca835079d
Merge pull request #74 from pythonbpf/fix-vmlinux-ir-gen
...
Fix some issues with vmlinux struct usage in syntax
TODO: THIS DOES NOT FIX the XDP example.
The issue with the XDP example here is that the range is not being tracked due to multiple loads from stack which is making the verifier lose track of the range on that value.
2025-11-27 23:03:45 +05:30
de8c486461
fix: remove deref_to_depth on single depth pointers
2025-11-27 22:59:34 +05:30
a8595ff1d2
feat: allocate tmp variable for pointer to vmlinux struct field access.
2025-11-27 14:02:00 +05:30
189526d5ca
format chore
2025-11-27 12:42:10 +05:30
1593b7bcfe
feat:user defined struct casting
2025-11-27 12:41:57 +05:30
127852ee9f
Add passing test struct_pylib.py
2025-11-27 04:45:34 +05:30
4905649700
feat:non struct field values can be cast
2025-11-26 14:18:40 +05:30
7b7b00dbe7
add disksnoop ipynb
2025-11-25 22:51:24 +05:30
102e4ca78c
add disksnoop example
2025-11-24 22:50:39 +05:30
bf9635e324
Fix passing test hash_map_struct to include char array test
2025-11-23 06:27:01 +05:30
081ee5cb4c
move requests.py to passing tests
2025-11-22 13:19:55 +05:30
6f25c554a9
fix CO-RE read for cast structs
2025-11-22 01:47:25 +05:30
377fa4041d
add regular struct field access handling in vmlinux_registry.py
2025-11-22 00:36:59 +05:30
99321c7669
add a failing C test
2025-11-21 23:01:08 +05:30
25394059a6
allow casting
2025-11-21 21:47:10 +05:30
42b8865a56
Merge branch 'master' into request-struct
2025-11-21 02:10:52 +05:30
144d9b0ab4
change c-file test structure
2025-11-20 17:24:02 +05:30
740eed45e1
add placeholder debug info to shut llvmlite up about NoneType
2025-11-20 14:17:57 +05:30
c8801f4c3e
nonetype not parsed
2025-11-19 23:35:10 +05:30
7af54df7c0
Add passing test hash_map_struct.py for using structs as hashmap key/val types
2025-11-19 00:17:01 +05:30
49740598ea
format chore
2025-11-13 09:31:10 +05:30
73bbf00e7c
add tests
2025-11-13 09:29:53 +05:30
5031f90377
fix stacked vmlinux struct parsing issue
2025-11-10 20:06:04 +05:30
c5bef26b88
add multi imports to single import line.
2025-11-08 18:08:04 +05:30
5a8b64f1d9
Merge pull request #64 from pythonbpf/all_helpers
...
Add support for all eBPF helpers
2025-11-07 19:26:55 +05:30
5ad33b011e
move a test to passing
2025-11-05 18:02:28 +05:30
2f4785b796
add int type conversion for all vmlinux struct field int types.
2025-11-05 18:01:41 +05:30
c5fdd3bce2
move some tests to passing
2025-11-05 17:48:26 +05:30
b0d35693b9
format chore
2025-11-05 17:44:45 +05:30
44c6ceda27
fix context debug info repetition circular reference error
2025-11-05 17:44:29 +05:30
2685d0a0ee
add i32 support special case and find ctx repetition in multiple functions error.
2025-11-05 17:38:38 +05:30
4efd3223cd
Add passing uid_gid helper test
2025-11-02 03:47:26 +05:30
3489f45b63
Add failing XDP vmlinux tests
2025-11-01 18:57:07 +05:30
204ec26154
add i32 support and make it extensible
2025-11-01 14:44:39 +05:30
f9ee43e7ef
Add passing test smp_processor_id.py for helpers
2025-11-01 14:13:52 +05:30
70a04f54d1
Add passing test for bpf_probe_read helper
2025-11-01 13:51:08 +05:30
85a62d6cd8
add example and support unsigned i64
2025-11-01 08:13:22 +05:30
07580dabf2
revert struct reference pointer sizes to i8 to ensure that compiler does not optimize
2025-10-27 03:29:15 +05:30
238697469a
create debug info to subroutine type
2025-10-27 02:19:08 +05:30
0006e26b08
Add passing test for bpf_get_prandom_u32 implementation
2025-10-27 01:09:27 +05:30
93285dbdd8
geenrate gep IR
2025-10-26 02:12:33 +05:30
028d9c2c08
generate IR partly
2025-10-25 04:41:13 +05:30
c6b5ecb47e
find global variable ir and field data from metadata
2025-10-24 03:34:27 +05:30
f18a4399ea
format chore
2025-10-24 02:40:07 +05:30
64674cf646
add alloc for only i64
2025-10-24 02:06:39 +05:30
36a1a0903e
Merge branch 'master' into vmlinux-handler
2025-10-22 12:02:51 +05:30
f2bc7f1434
pass context to memory allocation
2025-10-22 12:01:52 +05:30
b3921c424d
parse context from first function argument to local symbol table
2025-10-22 11:40:49 +05:30
84fdf52658
Merge branch 'master' into bcc_examples
2025-10-22 04:09:07 +05:30
d8729342dc
add bpf_passthrough generation
2025-10-21 07:01:37 +05:30