Commit Graph

  • a42a75179d format chore varun-r-mallya 2025-11-22 00:37:39 +05:30
  • 377fa4041d add regular struct field access handling in vmlinux_registry.py varun-r-mallya 2025-11-22 00:36:59 +05:30
  • 99321c7669 add a failing C test varun-r-mallya 2025-11-21 23:01:08 +05:30
  • 11850d16d3 field check in allocation pass varun-r-mallya 2025-11-21 20:50:40 +05:30
  • 9ee821c7f6 make pointer allocation feasible but subverting LLC varun-r-mallya 2025-11-21 20:21:24 +05:30
  • 25394059a6 allow casting varun-r-mallya 2025-11-21 20:11:35 +05:30
  • fde8eab775 allow allocation pass on vmlinux cast varun-r-mallya 2025-11-21 16:02:54 +05:30
  • 42b8865a56 Merge branch 'master' into request-struct varunrmallya 2025-11-21 02:10:52 +05:30
  • 144d9b0ab4 change c-file test structure varun-r-mallya 2025-11-20 17:24:02 +05:30
  • 902a52a07d remove debug print statements varun-r-mallya 2025-11-20 14:39:13 +05:30
  • 306570953b format chore varun-r-mallya 2025-11-20 14:18:45 +05:30
  • 740eed45e1 add placeholder debug info to shut llvmlite up about NoneType varun-r-mallya 2025-11-20 14:17:57 +05:30
  • 00ce3014dc Initial plan copilot/fix-attributeerror-vmlinux-structs copilot-swe-agent[bot] 2025-11-20 08:37:10 +00:00
  • c8801f4c3e nonetype not parsed varun-r-mallya 2025-11-19 23:35:10 +05:30
  • e5b3b001ce Minor fix for PTR_TO_MAP_VALUE_OR_NULL target Pragyansh Chaturvedi 2025-11-19 04:29:35 +05:30
  • 19b42b9a19 Allocate hashmap lookup return vars based on the value type of said hashmap Pragyansh Chaturvedi 2025-11-19 04:09:51 +05:30
  • 9f5ec62383 Add get_uint8_type to DebugInfoGenerator Pragyansh Chaturvedi 2025-11-19 03:24:40 +05:30
  • 7af54df7c0 Add passing test hash_map_struct.py for using structs as hashmap key/val types Pragyansh Chaturvedi 2025-11-19 00:17:01 +05:30
  • 573bbb350e Allow structs to be key/val type for hashmaps Pragyansh Chaturvedi 2025-11-19 00:08:15 +05:30
  • 64679f8072 Add skeleton _get_key_val_dbg_type in maps_debug_info.py Pragyansh Chaturvedi 2025-11-18 05:00:00 +05:30
  • 5667facf23 Pass down structs_sym_tab to maps_debug_info, allow vmlinux enums to be used in an indexed format for map declaration Pragyansh Chaturvedi 2025-11-18 04:33:44 +05:30
  • 4f8af16a17 Pass structs_sym_tab to maps_proc Pragyansh Chaturvedi 2025-11-18 03:29:58 +05:30
  • da45daa972 Pass down structs_sym_tab to maps_debug_info, allow vmlinux enums to be used in an indexed format for map declaration symex Pragyansh Chaturvedi 2025-11-18 04:33:44 +05:30
  • 39a0746db4 Pass structs_sym_tab to maps_proc Pragyansh Chaturvedi 2025-11-18 03:29:58 +05:30
  • b84884162d Merge pull request #69 from pythonbpf/symex Pragyansh Chaturvedi 2025-11-17 01:47:35 +05:30
  • e9bb90cb70 Add docstring for bpf_get_stack_emitter Pragyansh Chaturvedi 2025-11-17 01:46:57 +05:30
  • 49740598ea format chore varun-r-mallya 2025-11-13 09:31:10 +05:30
  • 73bbf00e7c add tests varun-r-mallya 2025-11-13 09:29:53 +05:30
  • 9d76502d5a Fix get_flags_val usage Pragyansh Chaturvedi 2025-11-13 02:24:35 +05:30
  • a10da4a277 Implement bpf_get_stack handler Pragyansh Chaturvedi 2025-11-13 00:59:50 +05:30
  • 29e90601b7 Init bpf_get_stack emitter Pragyansh Chaturvedi 2025-11-13 00:51:48 +05:30
  • 56df05a93c Janitorial formatting Pragyansh Chaturvedi 2025-11-12 14:38:35 +05:30
  • a55efc6469 Implement output helper for RingBuf maps, add a match-case based dispatch for output helper handlers for multiple map types Pragyansh Chaturvedi 2025-11-12 14:06:09 +05:30
  • 64cd2d2fc2 Set minimum supported Python version to 3.10 Pragyansh Chaturvedi 2025-11-12 14:06:00 +05:30
  • cbddc0aa96 Introduce MapSymbol to propagate map type info in map_sym_tab Pragyansh Chaturvedi 2025-11-12 13:16:23 +05:30
  • 209df33c8f Add RingBuf submit and reserve helpers Pragyansh Chaturvedi 2025-11-12 03:53:16 +05:30
  • 7a56e5d0cd Initialize required helpers for ringbuffer Pragyansh Chaturvedi 2025-11-12 01:59:07 +05:30
  • 1d7a436c9f Add linting function for RingBuf.discard Pragyansh Chaturvedi 2025-11-12 01:30:15 +05:30
  • 5eaeb3e921 Add max_entries constraints for RingBuffer Pragyansh Chaturvedi 2025-11-12 01:14:25 +05:30
  • cd52d0d91b Rename RingBuf map to RingBuffer Pragyansh Chaturvedi 2025-11-12 01:07:12 +05:30
  • df981be095 Janitorial format Pragyansh Chaturvedi 2025-11-11 21:08:06 +05:30
  • 316c21c428 Fix char_array to pointer/int detection fallback in helper_utils Pragyansh Chaturvedi 2025-11-11 21:00:42 +05:30
  • c883d95655 Minor fix - check expr type before sending to char_array handler in printk_formatter Pragyansh Chaturvedi 2025-11-11 17:43:20 +05:30
  • f7dee329cb fix nested pointers issue in array generation and also fix zero length array IR generation varun-r-mallya 2025-11-10 20:29:28 +05:30
  • 5031f90377 fix stacked vmlinux struct parsing issue varun-r-mallya 2025-11-10 20:06:04 +05:30
  • 95a624044a fix type error varun-r-mallya 2025-11-08 20:28:56 +05:30
  • c5bef26b88 add multi imports to single import line. varun-r-mallya 2025-11-08 18:08:04 +05:30
  • 5a8b64f1d9 Merge pull request #64 from pythonbpf/all_helpers Pragyansh Chaturvedi 2025-11-07 19:26:55 +05:30
  • cf99b3bb9a Fix call to get_or_create_ptr_from_arg for probe_read_str all_helpers Pragyansh Chaturvedi 2025-11-07 19:16:48 +05:30
  • 6c85b248ce Init sz in get_or_create_ptr_from_arg Pragyansh Chaturvedi 2025-11-07 19:03:21 +05:30
  • b5a3494cc6 Fix typo in get_or_create_ptr_from_arg Pragyansh Chaturvedi 2025-11-07 19:01:40 +05:30
  • be62972974 Fix ScratchPoolManager::counter Pragyansh Chaturvedi 2025-11-07 19:00:57 +05:30
  • 2f4a7d2f90 Remove get_struct_char_array_ptr in favour of get_char_array_ptr_and_size, wrap it in get_or_crate_ptr_from_arg to use in bpf_helper_handler Pragyansh Chaturvedi 2025-11-07 18:54:59 +05:30
  • 3ccd3f767e Add expected types for pointer creation of args in probe_read handler Pragyansh Chaturvedi 2025-11-06 19:59:04 +05:30
  • 2e37726922 Add signature relection for all helper handlers except print Pragyansh Chaturvedi 2025-11-06 19:47:57 +05:30
  • 5b36726b7d Make bpf_skb_store_bytes work Pragyansh Chaturvedi 2025-11-05 20:02:39 +05:30
  • faad3555dc Merge pull request #67 from pythonbpf/32int_support varunrmallya 2025-11-05 19:42:05 +05:30
  • 3e6cea2b67 Move get_struct_char_array_ptr from helper/printk_formatter to helper/helper_utils, enable array to ptr conversion in skb_store_bytes Pragyansh Chaturvedi 2025-11-05 19:10:58 +05:30
  • 5ad33b011e move a test to passing 32int_support varun-r-mallya 2025-11-05 18:02:28 +05:30
  • 2f4785b796 add int type conversion for all vmlinux struct field int types. varun-r-mallya 2025-11-05 18:01:41 +05:30
  • c5fdd3bce2 move some tests to passing varun-r-mallya 2025-11-05 17:48:26 +05:30
  • b0d35693b9 format chore varun-r-mallya 2025-11-05 17:44:45 +05:30
  • 44c6ceda27 fix context debug info repetition circular reference error varun-r-mallya 2025-11-05 17:44:29 +05:30
  • 2685d0a0ee add i32 support special case and find ctx repetition in multiple functions error. varun-r-mallya 2025-11-05 17:38:38 +05:30
  • 338d4994d8 Fix count_temps_in_call to only look for Pointer args of a helper_sig Pragyansh Chaturvedi 2025-11-05 17:36:37 +05:30
  • 3078d4224d Add typed scratch space support to the bpf_skb_store_bytes helper Pragyansh Chaturvedi 2025-11-04 16:09:11 +05:30
  • 7d29790f00 Make use of new get_next_temp in helpers Pragyansh Chaturvedi 2025-11-04 16:02:56 +05:30
  • 963e2a8171 Change ScratchPoolManager to use typed scratch space Pragyansh Chaturvedi 2025-11-04 14:16:44 +05:30
  • 123a92af1d Change allocation pass to generate typed temp variables Pragyansh Chaturvedi 2025-11-04 06:20:39 +05:30
  • 752f564d3f Change count_temps_in_call to return hashmap of types Pragyansh Chaturvedi 2025-11-04 05:40:22 +05:30
  • d8cddb9799 Add signature extraction to HelperHandlerRegistry Pragyansh Chaturvedi 2025-11-04 05:19:22 +05:30
  • 33e18f6d6d Introduce HelperSignature in HelperHandlerRegistry Pragyansh Chaturvedi 2025-11-03 21:21:13 +05:30
  • 5e371787eb Fix the number of args for skb_store_bytes by making the first arg implicit Pragyansh Chaturvedi 2025-11-03 21:11:16 +05:30
  • 67c9d9b932 Fix imports for bpf_skb_store_bytes Pragyansh Chaturvedi 2025-11-02 04:33:45 +05:30
  • f757a32a63 Implement bpf_skb_store_bytes_emitter Pragyansh Chaturvedi 2025-11-02 04:32:05 +05:30
  • c5de92b9d0 Add BPF_SKB_STORE_BYTES to HelperIDs Pragyansh Chaturvedi 2025-11-02 04:17:15 +05:30
  • 4efd3223cd Add passing uid_gid helper test Pragyansh Chaturvedi 2025-11-02 03:47:26 +05:30
  • 4884ed7577 Fix imports for bpf_get_current_uid_gid Pragyansh Chaturvedi 2025-11-02 03:35:41 +05:30
  • 5b7769dd38 Implement bpf_get_current_uid_gid_emitter Pragyansh Chaturvedi 2025-11-02 03:34:04 +05:30
  • b7c1e92f05 Add BPF_GET_CURRENT_UID_GID to HelperIDs Pragyansh Chaturvedi 2025-11-02 03:29:02 +05:30
  • 8b28a927c3 Add helpful TODO to PID_TGID emitter Pragyansh Chaturvedi 2025-11-02 03:27:27 +05:30
  • 3489f45b63 Add failing XDP vmlinux tests Pragyansh Chaturvedi 2025-11-01 18:57:07 +05:30
  • 204ec26154 add i32 support and make it extensible varun-r-mallya 2025-11-01 14:43:19 +05:30
  • f9ee43e7ef Add passing test smp_processor_id.py for helpers Pragyansh Chaturvedi 2025-11-01 14:13:52 +05:30
  • dabb8bf0df Fix imports for BPF_GET_SMP_PROCESSOR_ID Pragyansh Chaturvedi 2025-11-01 14:07:47 +05:30
  • 19dedede53 Implement BPF_GET_SMP_PROCESSOR_ID helper Pragyansh Chaturvedi 2025-11-01 14:05:50 +05:30
  • 82cac8f8ef Add BPF_GET_SMP_PROCESSOR_ID to HelperIDs Pragyansh Chaturvedi 2025-11-01 14:02:07 +05:30
  • 70a04f54d1 Add passing test for bpf_probe_read helper Pragyansh Chaturvedi 2025-11-01 13:51:08 +05:30
  • ec2ea835e5 Fix imports and type issues for bpf_probe_read Pragyansh Chaturvedi 2025-11-01 13:50:23 +05:30
  • 2257c175ed Implement BPF_PROBE_READ helper Pragyansh Chaturvedi 2025-11-01 13:14:50 +05:30
  • 5bf60d69b8 Add BPF_PROBE_READ to HelperIDs Pragyansh Chaturvedi 2025-11-01 12:52:15 +05:30
  • a9d82d40d3 Merge pull request #60 from pythonbpf/vmlinux-handler varunrmallya 2025-11-01 08:15:14 +05:30
  • 85a62d6cd8 add example and support unsigned i64 varun-r-mallya 2025-11-01 08:13:22 +05:30
  • c3fc790c71 remove fixed TODOs varun-r-mallya 2025-11-01 07:05:42 +05:30
  • 22e30f04b4 Merge pull request #66 from pythonbpf/dependabot/github_actions/actions-3249c11fdc varunrmallya 2025-10-27 17:21:49 +05:30
  • 620b8cb1e7 Bump the actions group with 2 updates dependabot[bot] 2025-10-27 11:49:59 +00:00
  • 1207fe9f92 Update .gitattributes to include new directories varunrmallya 2025-10-27 03:43:38 +05:30
  • b138405931 Merge pull request #65 from pythonbpf/varun-r-mallya-patch-1 varunrmallya 2025-10-27 03:41:59 +05:30
  • 262f00f635 Mark Jupyter Notebook files as vendored varunrmallya 2025-10-27 03:41:15 +05:30
  • 07580dabf2 revert struct reference pointer sizes to i8 to ensure that compiler does not optimize varun-r-mallya 2025-10-27 03:28:16 +05:30