Commit Graph

  • a124476583 big overhaul of debug info and params passed to maps Pragyansh Chaturvedi 2025-09-20 04:30:08 +05:30
  • 73862f0084 Make max_entries optional in map BTF, add PerfEventArray to execve5 Pragyansh Chaturvedi 2025-09-20 03:15:09 +05:30
  • b8fdc16b4f Add PerfEventArray class Pragyansh Chaturvedi 2025-09-20 02:57:27 +05:30
  • 4fd8bee8e7 Add IR and debug info generation for multiple MAP types Pragyansh Chaturvedi 2025-09-20 02:53:49 +05:30
  • 67fc3f9562 Add map type support to process_bpf_map Pragyansh Chaturvedi 2025-09-20 02:19:17 +05:30
  • 69d0cf2e0e Add process_perf_event_map Pragyansh Chaturvedi 2025-09-20 02:10:11 +05:30
  • b0f18229d9 Add PID helper Pragyansh Chaturvedi 2025-09-19 22:58:16 +05:30
  • 95727e3374 init execve5.py to emulate ex6.bpf.c Pragyansh Chaturvedi 2025-09-19 22:35:47 +05:30
  • 079288265f Format integers in fstrings to display as u64 Pragyansh Chaturvedi 2025-09-19 22:34:19 +05:30
  • efd6083caf Add custom struct C example Pragyansh Chaturvedi 2025-09-19 22:06:20 +05:30
  • 4797c007a0 Define arch in C example Pragyansh Chaturvedi 2025-09-19 04:22:36 +05:30
  • b2413644e4 Add generated vmlinux.py from ctypeslib Pragyansh Chaturvedi 2025-09-19 04:16:17 +05:30
  • af32758048 Add vmlinux.h Pragyansh Chaturvedi 2025-09-19 04:15:54 +05:30
  • cb11d60fcc Add barebones python skeleton for kfuncs Pragyansh Chaturvedi 2025-09-19 04:15:39 +05:30
  • 1967332175 Add kprobe and vmlinux example Pragyansh Chaturvedi 2025-09-19 04:15:13 +05:30
  • 224e6ba781 Add basic TODO.md Pragyansh Chaturvedi 2025-09-18 01:51:01 +05:30
  • 62db39db74 Add presentation and video links to README Pragyansh Chaturvedi 2025-09-18 01:47:24 +05:30
  • 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