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
ccd2bb3366
Update README.md
2025-09-09 16:55:00 +05:30
05c398dc21
add compile command
2025-09-09 16:48:05 +05:30
b474dfccdd
Update README.md
2025-09-09 16:14:57 +05:30
a12c8e69aa
Add PyPI release workflow and package metadata
v0.0.0
2025-09-09 14:21:03 +05:30
263b849a38
Add newline to IR output and update version number
2025-09-09 14:01:09 +05:30
75231cc7fb
Update copyright year and owner in LICENSE file
2025-09-09 13:53:30 +05:30
f0c47b7b99
Add LICENSE
...
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com >
2025-09-09 13:51:33 +05:30
9de20b23d8
Merge pull request #3 from varun-r-mallya/expt
...
dwarf constant handling
2025-09-09 13:39:08 +05:30
e0385759b2
make dwarf constant handling easier
2025-09-09 13:37:50 +05:30
896daddf0b
change debug_compile_unit addition location
2025-09-09 13:15:31 +05:30
daa3982705
Merge pull request #2 from varun-r-mallya/expt
...
Debug info addition to map
2025-09-09 12:57:31 +05:30
12bca3cfab
fix: debug info addition for specific hashmap
2025-09-09 12:57:03 +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
46cefd4143
Add debug info
2025-09-09 11:47:11 +05:30
1a94f63a79
add type error fixing methods to hashmap
2025-09-09 11:44:43 +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
ff7663803d
implement bpf map lookup emission
2025-09-09 01:04:39 +05:30
414db121b3
remove redundant test
2025-09-09 00:40:51 +05:30
33468b01d4
remove constants pass as it's functionality has been replicated
...
elsewhere
2025-09-09 00:35:29 +05:30
d397aa5280
Add stub for bpf_ktime_get_ns
2025-09-09 00:26:31 +05:30
5adc6d75e9
janitorial
2025-09-09 00:26:06 +05:30
7c15bff6c0
Implement lookup key parsing
2025-09-09 00:21:09 +05:30
03404bb164
make license handling easier
2025-09-09 00:19:53 +05:30
d6ba30805e
add lookup method to fool type checker
2025-09-09 00:10:02 +05:30
542cb549b7
Add basic assignment
2025-09-09 00:07:25 +05:30
5ce4474fa7
debug info versioning
2025-09-08 23:48:04 +05:30
e218e48162
Pass map_sym_tab to functions pass
2025-09-08 22:50:14 +05:30
a5a671133c
Add map_sym_tab
2025-09-08 22:48:09 +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
1a82875f68
rename globals to map
2025-09-08 21:31:56 +05:30
2a3f367e23
separate map creation logic
2025-09-08 21:26:27 +05:30
08ff07641e
Add map decorator and simplify type conversion logic
2025-09-08 20:32:51 +05:30
83937dc11a
Remove debug prints and add @bpfglobal support
2025-09-08 20:16:31 +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
d52b9ceb69
separate out bpf_printk IR generator
2025-09-07 20:22:29 +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