c27da22bcb
remove ruff errors. May contain breaking changes.
2025-10-01 00:54:04 +05:30
8d5067996f
format chore and pre commit hook addition
2025-10-01 00:41:00 +05:30
0d0a318e46
cleanup and rename
2025-09-30 21:05:07 +05:30
af004cb864
janitorial
2025-09-30 20:09:04 +05:30
d943b78a25
Add __init__ to maps to improve imports
2025-09-30 19:51:28 +05:30
cbc6b93cd8
restructure maps dir, fix imports
2025-09-30 19:01:46 +05:30
de5cc438ab
Allow access from struct fields
2025-09-26 23:02:51 +05:30
0f365be65e
Add some support for strings in structs
2025-09-26 18:26:07 +05:30
4ebf0480dd
tweak commit to add placeholder string
2025-09-26 04:54:01 +05:30
b9ddecd6b1
Add string as a primitve to struct defs
2025-09-26 04:44:38 +05:30
737c4d3039
Support storing and printing string type
2025-09-26 04:17:29 +05:30
35969c4ff7
Add string example
2025-09-25 22:15:14 +05:30
9e87ee52f2
Move relevant vmlinux files to ex7.bpf.c
2025-09-25 00:10:39 +05:30
d0be8893eb
Add setuid C example
2025-09-24 23:48:42 +05:30
69a86c2433
Add perf_event_output boilerplate
2025-09-21 15:14:55 +05:30
0f9a4078ee
Complete struct field assignment
2025-09-21 05:22:00 +05:30
36c2c0b695
Add struct malloc, add struct instantiation to example
2025-09-21 04:48:50 +05:30
8e231845ef
Add struct example and decorator
2025-09-21 03:01:13 +05:30
a124476583
big overhaul of debug info and params passed to maps
2025-09-20 04:30:08 +05:30
73862f0084
Make max_entries optional in map BTF, add PerfEventArray to execve5
2025-09-20 03:15:09 +05:30
b0f18229d9
Add PID helper
2025-09-19 22:58:16 +05:30
95727e3374
init execve5.py to emulate ex6.bpf.c
2025-09-19 22:35:47 +05:30
efd6083caf
Add custom struct C example
2025-09-19 22:06:20 +05:30
4797c007a0
Define arch in C example
2025-09-19 04:22:36 +05:30
b2413644e4
Add generated vmlinux.py from ctypeslib
2025-09-19 04:16:17 +05:30
af32758048
Add vmlinux.h
2025-09-19 04:15:54 +05:30
cb11d60fcc
Add barebones python skeleton for kfuncs
2025-09-19 04:15:39 +05:30
1967332175
Add kprobe and vmlinux example
2025-09-19 04:15:13 +05:30
cc5f720406
Support simple XDP
2025-09-13 19:58:01 +05:30
9f858bd159
Add recursive dereferencing and get example working
2025-09-13 00:12:04 +05:30
ca203a1fdd
support referencing other variables inside binops
2025-09-12 23:05:52 +05:30
a09e4e1bb6
Add deref(), add delete helper, refactor pre-alloc
2025-09-12 04:26:27 +05:30
4ff95bb3c9
Add error todo to execve3.py
2025-09-11 09:15:27 +05:30
1936ded032
seperate expr handling logic to a different file to prevent circular import, add format strings
2025-09-11 03:07:57 +05:30
b64b5b2483
remove unary assign
2025-09-11 02:37:28 +05:30
6f6f101a86
Add support for basic arithmetic operations
2025-09-11 02:29:16 +05:30
4f726a7a1a
Add comparison ops
2025-09-11 01:52:30 +05:30
3dd3784ec4
support nested if
2025-09-11 01:37:50 +05:30
ef502bcc9f
add error for unsupported constant
2025-09-11 01:33:56 +05:30
10fb1f0914
Add else
2025-09-11 01:15:28 +05:30
431921dbc1
multiple map elements support
2025-09-11 00:45:08 +05:30
7de3a381b0
add map update function support
2025-09-10 23:44:29 +05:30
f830fbe8ba
add bool assignment support
2025-09-10 11:40:07 +05:30
ebb872fc81
Alocate space at the entry bb of each bpf chunk
2025-09-10 04:59:34 +05:30
aeb9a45175
Add condition eval and basic if example - workin
2025-09-10 04:05:07 +05:30
55c9b2ebe1
Add var assigning for helpers
2025-09-10 01:49:14 +05:30
3628276e08
Add ktime
2025-09-09 23:40:05 +05:30
8ee5d03c5d
Update imports to use direct namespace imports
...
WARNING: OLD STYLE IMPORTS DO NOT WORK The old style of importing the
full module and using pb.* prefixes has been replaced with direct
imports of the needed names. This makes the code more explicit about
what is being used and removes the unnecessary pb prefix.
2025-09-09 17:12:04 +05:30
05c398dc21
add compile command
2025-09-09 16:48:05 +05:30
e0385759b2
make dwarf constant handling easier
2025-09-09 13:37:50 +05:30