Commit Graph

  • 1847d96219 improve import and add failing test varun-r-mallya 2025-10-01 00:00:03 +05:30
  • 7e45864552 Move helper scripts to a new dir, make temp fixes to allow this Pragyansh Chaturvedi 2025-09-30 23:57:31 +05:30
  • 430617de7e add binops1.py failing test varun-r-mallya 2025-09-30 23:53:11 +05:30
  • fa2ff0a242 Use BPFHelperID Enums in bpf_helper_handler Pragyansh Chaturvedi 2025-09-30 23:51:05 +05:30
  • 7d91f88c4d add failing tests varun-r-mallya 2025-09-30 23:50:11 +05:30
  • c1466a5bca Add BPFHelperID enum to bpf_helper_handler Pragyansh Chaturvedi 2025-09-30 23:43:29 +05:30
  • 44b95b69ca Add __init__.py under structs/, fix imports Pragyansh Chaturvedi 2025-09-30 23:26:18 +05:30
  • 0e1cbb30b7 attribute out vmlinux varun-r-mallya 2025-09-30 21:10:20 +05:30
  • f489129949 Merge pull request #9 from pythonbpf/refactor varunrmallya 2025-09-30 21:07:06 +05:30
  • 0d0a318e46 cleanup and rename varun-r-mallya 2025-09-30 21:05:07 +05:30
  • 18811933bf cleanup stray files and add return paths varun-r-mallya 2025-09-30 20:52:41 +05:30
  • 912d0c8eac Merge pull request #8 from pythonbpf/refactor varunrmallya 2025-09-30 20:39:48 +05:30
  • b88888fc68 Add DebugInfoGenerator functions instead of obscene looking debug information directly varun-r-mallya 2025-09-30 20:37:02 +05:30
  • e80486975f Add DebugInfoGenerator class varun-r-mallya 2025-09-30 20:31:00 +05:30
  • 63944c5f93 add todo for global addition to debug compile unit. varun-r-mallya 2025-09-30 20:28:35 +05:30
  • ce9be8750d add dwarf behaviour conditions varun-r-mallya 2025-09-30 20:26:38 +05:30
  • 6afcffb4ed add debug module varun-r-mallya 2025-09-30 20:18:26 +05:30
  • af004cb864 janitorial varun-r-mallya 2025-09-30 20:09:04 +05:30
  • 980f2af414 Merge pull request #6 from pythonbpf/refactor-maps Pragyansh Chaturvedi 2025-09-30 19:58:32 +05:30
  • 87908e8713 Remove backslash for multiline conditions in maps Pragyansh Chaturvedi 2025-09-30 19:57:58 +05:30
  • 0f3cc434a3 Fix return for unknown map types Pragyansh Chaturvedi 2025-09-30 19:55:37 +05:30
  • d943b78a25 Add __init__ to maps to improve imports Pragyansh Chaturvedi 2025-09-30 19:51:28 +05:30
  • 744aa3fbdf Use logger instead of prints in map_pass Pragyansh Chaturvedi 2025-09-30 19:44:29 +05:30
  • 9fa362ec6a Remove global map_sym_tab Pragyansh Chaturvedi 2025-09-30 19:29:45 +05:30
  • ca51b7ce01 Fix invalid member func for MapProcessorRegistry Pragyansh Chaturvedi 2025-09-30 19:10:25 +05:30
  • 2e005f6eb5 Create MapProcessorRegistry to add more maps Pragyansh Chaturvedi 2025-09-30 19:08:56 +05:30
  • cbc6b93cd8 restructure maps dir, fix imports Pragyansh Chaturvedi 2025-09-30 19:01:46 +05:30
  • 9ae1b6ce15 Fix usage of map_params to use BPFMapType Pragyansh Chaturvedi 2025-09-30 13:28:18 +05:30
  • 1a1f2cf634 create BPFMapType enum Pragyansh Chaturvedi 2025-09-30 12:20:07 +05:30
  • 0d691865bc Add is_map in maps_pass Pragyansh Chaturvedi 2025-09-30 11:42:14 +05:30
  • 0fb1cafd20 Revise README for clarity and additional details varunrmallya 2025-09-30 03:05:27 +05:30
  • 1adf7d7fcc Merge pull request #5 from pythonbpf/struct_refactor Pragyansh Chaturvedi 2025-09-30 02:01:58 +05:30
  • 3ded17bf8b Fix size calc for ArrayType in structs Pragyansh Chaturvedi 2025-09-30 01:56:05 +05:30
  • 715442d7bf fix struct usage in expr_pass Pragyansh Chaturvedi 2025-09-30 01:44:56 +05:30
  • e464a3fdd5 fix struct usage in handle_helper_functions Pragyansh Chaturvedi 2025-09-30 01:43:12 +05:30
  • fed4c179e6 fix struct usage in functions_pass Pragyansh Chaturvedi 2025-09-30 01:40:11 +05:30
  • 32c22c3148 fix struct imports Pragyansh Chaturvedi 2025-09-30 00:47:28 +05:30
  • 4557b094e1 Use StructType in struct_pass, fix indexing Pragyansh Chaturvedi 2025-09-30 00:43:26 +05:30
  • 84500305db Move structs_pass under structs, create StructType Pragyansh Chaturvedi 2025-09-30 00:36:45 +05:30
  • 0d21f84529 Remove redundant functions from struct_pass Pragyansh Chaturvedi 2025-09-29 23:47:16 +05:30
  • 5bcc02a931 add parser_struct_fields Pragyansh Chaturvedi 2025-09-29 23:30:13 +05:30
  • fe91a176e2 fix structs_proc Pragyansh Chaturvedi 2025-09-29 23:01:20 +05:30
  • 083ee21e38 structs_pass cleanup Pragyansh Chaturvedi 2025-09-29 22:50:46 +05:30
  • ea5a1ab2de add jupyter notebook support varun-r-mallya 2025-09-27 12:23:29 +05:30
  • de5cc438ab Allow access from struct fields Pragyansh Chaturvedi 2025-09-26 23:01:14 +05:30
  • 8c2196c05c bump version v0.1.3 varun-r-mallya 2025-09-26 22:48:17 +05:30
  • a2f86d680d Merge pull request #4 from varun-r-mallya/type_system Pragyansh Chaturvedi 2025-09-26 18:27:10 +05:30
  • 0f365be65e Add some support for strings in structs Pragyansh Chaturvedi 2025-09-26 18:26:07 +05:30
  • 4ebf0480dd tweak commit to add placeholder string Pragyansh Chaturvedi 2025-09-26 04:54:01 +05:30
  • b9ddecd6b1 Add string as a primitve to struct defs Pragyansh Chaturvedi 2025-09-26 04:44:38 +05:30
  • 737c4d3039 Support storing and printing string type Pragyansh Chaturvedi 2025-09-26 04:17:29 +05:30
  • da8a495da7 Fix handle_cond for new symtab convention Pragyansh Chaturvedi 2025-09-26 04:05:37 +05:30
  • ee03ac04d0 Fix printk handler to comply with new symtab convention Pragyansh Chaturvedi 2025-09-26 01:02:10 +05:30
  • 51595f9ec2 Add types returns to bpf helpers Pragyansh Chaturvedi 2025-09-26 00:28:10 +05:30
  • 4cf284a81f provide type as weel in eval_expr Pragyansh Chaturvedi 2025-09-26 00:24:10 +05:30
  • 1517f6e052 Fix local_sym_tab accesses in expr_pass Pragyansh Chaturvedi 2025-09-25 23:54:04 +05:30
  • 95f360059b Fix local_sym_tab accesses in binary_ops Pragyansh Chaturvedi 2025-09-25 23:53:04 +05:30
  • dad57bd340 Fix local_sym_tab accesses in bpf_helper_handler Pragyansh Chaturvedi 2025-09-25 23:51:08 +05:30
  • 529b0bde19 Fix local_sym_tab accesses in functions_pass Pragyansh Chaturvedi 2025-09-25 23:49:28 +05:30
  • 943697ac9f Pass down type info in local_sym_tab Pragyansh Chaturvedi 2025-09-25 23:43:19 +05:30
  • ba90af9ff2 Allocate space for string consts Pragyansh Chaturvedi 2025-09-25 22:24:55 +05:30
  • 35969c4ff7 Add string example Pragyansh Chaturvedi 2025-09-25 22:15:14 +05:30
  • 9e87ee52f2 Move relevant vmlinux files to ex7.bpf.c Pragyansh Chaturvedi 2025-09-25 00:10:39 +05:30
  • d0be8893eb Add setuid C example Pragyansh Chaturvedi 2025-09-24 23:48:42 +05:30
  • dda05bd044 Add matplotlib example varun-r-mallya 2025-09-23 20:36:15 +05:30
  • 28e6f97708 add support for compilation with pylibbpf varun-r-mallya 2025-09-21 18:05:43 +05:30
  • a1bc813ec5 Small fix to enum va Pragyansh Chaturvedi 2025-09-21 17:58:51 +05:30
  • fefd6840c8 finish perf_event_output helper integration Pragyansh Chaturvedi 2025-09-21 17:50:58 +05:30
  • 79f0949abc Fix calling conventions changed by structs Pragyansh Chaturvedi 2025-09-21 16:19:12 +05:30
  • a1371697cc overhaul handle_helper_calls Pragyansh Chaturvedi 2025-09-21 16:10:29 +05:30
  • 3c976b88d3 pass down structs_sym_tab Pragyansh Chaturvedi 2025-09-21 15:20:41 +05:30
  • 69a86c2433 Add perf_event_output boilerplate Pragyansh Chaturvedi 2025-09-21 15:14:28 +05:30
  • 6b92a16ca1 update release for pylibbpf v0.1.2 varun-r-mallya 2025-09-21 12:31:26 +05:30
  • 12b8bf698b Add struct field access stub - too sleepy to debug Pragyansh Chaturvedi 2025-09-21 05:27:34 +05:30
  • 0f9a4078ee Complete struct field assignment Pragyansh Chaturvedi 2025-09-21 05:22:00 +05:30
  • 36c2c0b695 Add struct malloc, add struct instantiation to example Pragyansh Chaturvedi 2025-09-21 04:48:50 +05:30
  • 63c44fa48c Pass down structs_sym_tab Pragyansh Chaturvedi 2025-09-21 04:28:44 +05:30
  • c79dc635d7 Add process_bpf_struct Pragyansh Chaturvedi 2025-09-21 04:23:54 +05:30
  • 9fc939cb8e Add structs_pass, tweak functions_pass to respect structs Pragyansh Chaturvedi 2025-09-21 03:29:05 +05:30
  • 780f53cd3f Make bpf structs discoverable during chunk exploration Pragyansh Chaturvedi 2025-09-21 03:17:23 +05:30
  • 48c0a1f506 Add struct to init to allow inclusion Pragyansh Chaturvedi 2025-09-21 03:14:29 +05:30
  • 8e231845ef Add struct example and decorator Pragyansh Chaturvedi 2025-09-21 03:01:13 +05:30
  • d01c7ad8ba change README accordingly Pragyansh Chaturvedi 2025-09-20 04:31:11 +05:30
  • 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