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
d7a5a06eab
remove line numbers from debug info
...
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com >
2025-09-09 12:16:01 +05:30
92795fee98
Add ex4.bpf.c
2025-09-09 03:05:39 +05:30
8428516f13
Add execve3.py example
2025-09-09 02:59:01 +05:30
414db121b3
remove redundant test
2025-09-09 00:40:51 +05:30
03404bb164
make license handling easier
2025-09-09 00:19:53 +05:30
542cb549b7
Add basic assignment
2025-09-09 00:07:25 +05:30
ed37aa01d2
add another c example
2025-09-08 22:43:47 +05:30
655b7dcd85
Add map lookup example to execve2.py
2025-09-08 22:43:47 +05:30
f7aa054b31
get hashmap compiling
2025-09-08 22:26:16 +05:30
08ff07641e
Add map decorator and simplify type conversion logic
2025-09-08 20:32:51 +05:30
627ee9265a
fix: Hashmap type check
2025-09-08 20:06:21 +05:30
1bbf004554
Add basic map generation
2025-09-08 04:21:09 +05:30
70dfa0ff58
add -g to c-form Makefile
2025-09-08 00:37:42 +05:30
d87decd25e
Add bpf_ktime_get_ns helper function without IR gen
2025-09-07 20:58:54 +05:30
3b5425ca1b
Update check.sh
2025-09-07 20:42:43 +05:30
7e47f8dcef
Multi string and multi program support
2025-09-07 20:41:41 +05:30
1118e4fcd6
add naive unpythonic return type inference to function parsing
2025-09-07 20:12:39 +05:30
c0559639f2
Get ex2 running
2025-09-07 19:19:58 +05:30
734a49b295
emit BTF data using -g flag
2025-09-07 17:22:24 +05:30
acfb8b4424
revert changes to examples
2025-09-07 13:54:31 +05:30
166439ae14
alter check.sh to take filename as arg
2025-09-07 13:49:28 +05:30
ac8620284e
Add Maps example
2025-09-07 13:41:05 +05:30
ac7f8e09f8
Implement bpf chunk ID
2025-09-06 13:33:43 +05:30
81f4a0a799
Add shorter examples
2025-09-06 12:49:39 +05:30
ba3030a694
Update bpf examples and remove function pass code
2025-09-04 10:33:43 +05:30
9b4ef23a62
Comment out non string based decorator to decide later and also make
...
changes to decorator adding a "section"
2025-09-03 18:46:46 +05:30
0ee8b541d1
Add constant check (maybe broken) and also a globals pass
2025-09-03 18:30:52 +05:30
0a4d5ea4f9
Add sys_clone, add hello world example
2025-09-03 01:11:13 +05:30
0d026c5399
Fix syntax - make more pythonic
2025-09-03 01:01:21 +05:30
a8e7a42b72
WIP functions processing
2025-08-31 05:12:47 +05:30
b4a2f169ad
emit license
2025-08-30 22:33:58 +05:30
e19aa9fa66
Organize source files
2025-08-30 18:49:08 +05:30
d5557d3c01
Initialize PythonBPF project and toolchain
2025-08-30 18:08:14 +05:30