Commit Graph

  • cc5f720406 Support simple XDP varun-r-mallya 2025-09-13 19:58:01 +05:30
  • 9f858bd159 Add recursive dereferencing and get example working varun-r-mallya 2025-09-13 00:12:04 +05:30
  • ca203a1fdd support referencing other variables inside binops varun-r-mallya 2025-09-12 23:05:52 +05:30
  • a09e4e1bb6 Add deref(), add delete helper, refactor pre-alloc Pragyansh Chaturvedi 2025-09-12 04:24:40 +05:30
  • 0950d0550c Add side by side view Pragyansh Chaturvedi 2025-09-12 04:24:03 +05:30
  • 63375d1710 bump version v0.1.1 varun-r-mallya 2025-09-11 09:21:14 +05:30
  • 4ff95bb3c9 Add error todo to execve3.py varun-r-mallya 2025-09-11 09:15:27 +05:30
  • 1936ded032 seperate expr handling logic to a different file to prevent circular import, add format strings Pragyansh Chaturvedi 2025-09-11 02:51:24 +05:30
  • cfdc14137c Add warning against production use varunrmallya 2025-09-11 02:39:31 +05:30
  • b64b5b2483 remove unary assign varun-r-mallya 2025-09-11 02:37:28 +05:30
  • 6f6f101a86 Add support for basic arithmetic operations varun-r-mallya 2025-09-11 02:29:16 +05:30
  • 4177a6cf46 Move eval_expr logic to cleanup handle_expr Pragyansh Chaturvedi 2025-09-11 02:04:23 +05:30
  • 4f726a7a1a Add comparison ops Pragyansh Chaturvedi 2025-09-11 01:52:30 +05:30
  • 3dd3784ec4 support nested if Pragyansh Chaturvedi 2025-09-11 01:37:50 +05:30
  • ef502bcc9f add error for unsupported constant Pragyansh Chaturvedi 2025-09-11 01:33:56 +05:30
  • 393aaeaef5 throw unsupported assignment error Pragyansh Chaturvedi 2025-09-11 01:20:51 +05:30
  • 10fb1f0914 Add else Pragyansh Chaturvedi 2025-09-11 01:13:54 +05:30
  • 8d50298e9e Remove redundant helper function check and debug print varun-r-mallya 2025-09-11 01:14:16 +05:30
  • 431921dbc1 multiple map elements support varun-r-mallya 2025-09-11 00:45:08 +05:30
  • 7de3a381b0 add map update function support varun-r-mallya 2025-09-10 23:44:29 +05:30
  • f830fbe8ba add bool assignment support varun-r-mallya 2025-09-10 11:40:07 +05:30
  • ebb872fc81 Alocate space at the entry bb of each bpf chunk Pragyansh Chaturvedi 2025-09-10 04:59:34 +05:30
  • aeb9a45175 Add condition eval and basic if example - workin Pragyansh Chaturvedi 2025-09-10 04:05:07 +05:30
  • 357ad7cb99 Add if statement barebones Pragyansh Chaturvedi 2025-09-10 03:12:25 +05:30
  • 617aac973c Add handle_expr Pragyansh Chaturvedi 2025-09-10 02:37:31 +05:30
  • 55c9b2ebe1 Add var assigning for helpers Pragyansh Chaturvedi 2025-09-10 01:49:14 +05:30
  • dafd6d18ab janitorial: create unified helper handler Pragyansh Chaturvedi 2025-09-10 01:22:45 +05:30
  • 3628276e08 Add ktime Pragyansh Chaturvedi 2025-09-09 23:40:05 +05:30
  • 8ee5d03c5d Update imports to use direct namespace imports varun-r-mallya 2025-09-09 17:12:04 +05:30
  • ccd2bb3366 Update README.md varun-r-mallya 2025-09-09 16:53:54 +05:30
  • 05c398dc21 add compile command varun-r-mallya 2025-09-09 16:48:05 +05:30
  • b474dfccdd Update README.md varun-r-mallya 2025-09-09 16:14:57 +05:30
  • a12c8e69aa Add PyPI release workflow and package metadata v0.0.0 varun-r-mallya 2025-09-09 14:21:03 +05:30
  • 263b849a38 Add newline to IR output and update version number varun-r-mallya 2025-09-09 14:00:44 +05:30
  • 75231cc7fb Update copyright year and owner in LICENSE file varunrmallya 2025-09-09 13:53:30 +05:30
  • f0c47b7b99 Add LICENSE varun-r-mallya 2025-09-09 13:50:56 +05:30
  • 9de20b23d8 Merge pull request #3 from varun-r-mallya/expt varunrmallya 2025-09-09 13:39:08 +05:30
  • e0385759b2 make dwarf constant handling easier varun-r-mallya 2025-09-09 13:37:50 +05:30
  • 896daddf0b change debug_compile_unit addition location varun-r-mallya 2025-09-09 13:15:31 +05:30
  • daa3982705 Merge pull request #2 from varun-r-mallya/expt varunrmallya 2025-09-09 12:57:31 +05:30
  • 12bca3cfab fix: debug info addition for specific hashmap varun-r-mallya 2025-09-09 12:57:03 +05:30
  • d7a5a06eab remove line numbers from debug info varun-r-mallya 2025-09-09 12:16:01 +05:30
  • 46cefd4143 Add debug info varun-r-mallya 2025-09-09 00:42:49 +05:30
  • 1a94f63a79 add type error fixing methods to hashmap varun-r-mallya 2025-09-09 11:43:19 +05:30
  • 92795fee98 Add ex4.bpf.c Pragyansh Chaturvedi 2025-09-09 03:05:39 +05:30
  • 8428516f13 Add execve3.py example Pragyansh Chaturvedi 2025-09-09 02:59:01 +05:30
  • ff7663803d implement bpf map lookup emission Pragyansh Chaturvedi 2025-09-09 01:04:17 +05:30
  • 414db121b3 remove redundant test varun-r-mallya 2025-09-09 00:40:51 +05:30
  • 33468b01d4 remove constants pass as it's functionality has been replicated elsewhere varun-r-mallya 2025-09-09 00:35:29 +05:30
  • d397aa5280 Add stub for bpf_ktime_get_ns varun-r-mallya 2025-09-09 00:26:31 +05:30
  • 5adc6d75e9 janitorial Pragyansh Chaturvedi 2025-09-09 00:26:06 +05:30
  • 7c15bff6c0 Implement lookup key parsing Pragyansh Chaturvedi 2025-09-09 00:19:19 +05:30
  • 03404bb164 make license handling easier varun-r-mallya 2025-09-09 00:19:53 +05:30
  • d6ba30805e add lookup method to fool type checker varun-r-mallya 2025-09-09 00:10:02 +05:30
  • 542cb549b7 Add basic assignment Pragyansh Chaturvedi 2025-09-09 00:07:05 +05:30
  • 5ce4474fa7 debug info versioning varun-r-mallya 2025-09-08 23:48:04 +05:30
  • e218e48162 Pass map_sym_tab to functions pass Pragyansh Chaturvedi 2025-09-08 22:50:14 +05:30
  • a5a671133c Add map_sym_tab Pragyansh Chaturvedi 2025-09-08 22:48:09 +05:30
  • ed37aa01d2 add another c example Pragyansh Chaturvedi 2025-09-08 22:43:24 +05:30
  • 655b7dcd85 Add map lookup example to execve2.py Pragyansh Chaturvedi 2025-09-08 20:07:06 +05:30
  • f7aa054b31 get hashmap compiling varun-r-mallya 2025-09-08 22:26:16 +05:30
  • 1a82875f68 rename globals to map varun-r-mallya 2025-09-08 21:31:56 +05:30
  • 2a3f367e23 separate map creation logic varun-r-mallya 2025-09-08 21:26:27 +05:30
  • 08ff07641e Add map decorator and simplify type conversion logic varun-r-mallya 2025-09-08 20:32:51 +05:30
  • 83937dc11a Remove debug prints and add @bpfglobal support varun-r-mallya 2025-09-08 20:16:31 +05:30
  • 627ee9265a fix: Hashmap type check varun-r-mallya 2025-09-08 20:06:21 +05:30
  • 1bbf004554 Add basic map generation Pragyansh Chaturvedi 2025-09-08 04:21:09 +05:30
  • 70dfa0ff58 add -g to c-form Makefile Pragyansh Chaturvedi 2025-09-08 00:37:42 +05:30
  • d87decd25e Add bpf_ktime_get_ns helper function without IR gen varun-r-mallya 2025-09-07 20:58:54 +05:30
  • 3b5425ca1b Update check.sh varun-r-mallya 2025-09-07 20:42:43 +05:30
  • 7e47f8dcef Multi string and multi program support varun-r-mallya 2025-09-07 20:41:41 +05:30
  • d52b9ceb69 separate out bpf_printk IR generator varun-r-mallya 2025-09-07 20:22:29 +05:30
  • 1118e4fcd6 add naive unpythonic return type inference to function parsing varun-r-mallya 2025-09-07 20:12:39 +05:30
  • c0559639f2 Get ex2 running varun-r-mallya 2025-09-07 19:19:58 +05:30
  • 734a49b295 emit BTF data using -g flag Pragyansh Chaturvedi 2025-09-07 17:22:24 +05:30
  • acfb8b4424 revert changes to examples Pragyansh Chaturvedi 2025-09-07 13:54:31 +05:30
  • 166439ae14 alter check.sh to take filename as arg Pragyansh Chaturvedi 2025-09-07 13:49:28 +05:30
  • ac8620284e Add Maps example Pragyansh Chaturvedi 2025-09-07 13:41:05 +05:30
  • 6a57b0d554 Add trace_fields scaffolding Pragyansh Chaturvedi 2025-09-07 13:31:38 +05:30
  • 43b8c2c010 Complete example 1, albeit hardcoded somewhat. Implement body function processing skeleton Pragyansh Chaturvedi 2025-09-06 14:40:51 +05:30
  • 4ce92f0c95 Implement probe string extraction Pragyansh Chaturvedi 2025-09-06 13:41:56 +05:30
  • ac7f8e09f8 Implement bpf chunk ID Pragyansh Chaturvedi 2025-09-06 13:33:43 +05:30
  • 88fa690493 Add bpf decorator, start rewrite Pragyansh Chaturvedi 2025-09-06 12:42:20 +05:30
  • 81f4a0a799 Add shorter examples Pragyansh Chaturvedi 2025-09-06 02:40:42 +05:30
  • c9e4910a89 hardcoded func gen Pragyansh Chaturvedi 2025-09-06 02:38:59 +05:30
  • 8d7c869c47 skip decorator constants varun-r-mallya 2025-09-04 10:45:28 +05:30
  • f836104b71 Update README.md varun-r-mallya 2025-09-04 10:40:36 +05:30
  • 0333886d4f Improve README documentation and setup steps varun-r-mallya 2025-09-04 10:39:47 +05:30
  • ba3030a694 Update bpf examples and remove function pass code varun-r-mallya 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" varun-r-mallya 2025-09-03 18:46:46 +05:30
  • 0ee8b541d1 Add constant check (maybe broken) and also a globals pass varun-r-mallya 2025-09-03 18:30:52 +05:30
  • 55b467b337 Merge pull request #1 from varun-r-mallya/r41k0u-fix-syntax varunrmallya 2025-09-03 11:01:22 +05:30
  • 0a4d5ea4f9 Add sys_clone, add hello world example Pragyansh Chaturvedi 2025-09-03 01:11:13 +05:30
  • 0d026c5399 Fix syntax - make more pythonic Pragyansh Chaturvedi 2025-09-03 01:01:21 +05:30
  • a8e7a42b72 WIP functions processing varun-r-mallya 2025-08-31 05:12:47 +05:30
  • b4a2f169ad emit license varun-r-mallya 2025-08-30 22:33:58 +05:30
  • b8ef7cc945 Remove trace_printk decorator function varun-r-mallya 2025-08-30 18:54:46 +05:30
  • e19aa9fa66 Organize source files varun-r-mallya 2025-08-30 18:49:08 +05:30
  • d5557d3c01 Initialize PythonBPF project and toolchain varun-r-mallya 2025-08-30 18:08:14 +05:30