Commit Graph

82 Commits

Author SHA1 Message Date
8d50298e9e Remove redundant helper function check and debug print 2025-09-11 01:14:16 +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
357ad7cb99 Add if statement barebones 2025-09-10 03:12:25 +05:30
617aac973c Add handle_expr 2025-09-10 02:37:31 +05:30
55c9b2ebe1 Add var assigning for helpers 2025-09-10 01:49:14 +05:30
dafd6d18ab janitorial: create unified helper handler 2025-09-10 01:22:45 +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
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