Commit Graph

43 Commits

Author SHA1 Message Date
c3a512d5cf add global support with broken generation function 2025-10-03 22:20:04 +05:30
62ca3b5ffe format errors 2025-10-02 19:07:49 +05:30
f263c35156 move debug cu generation to debug module 2025-10-02 19:05:58 +05:30
0678d70309 bump version 2025-10-02 18:02:36 +05:30
4d0dd68d56 fix formatting 2025-10-02 17:58:24 +05:30
89b0a07419 add logging level control 2025-10-02 17:57:37 +05:30
469ca43eaa replace prints with logger.info 2025-10-02 17:46:27 +05:30
8650297866 make type checks viable 2025-10-02 00:51:23 +05:30
8d5067996f format chore and pre commit hook addition 2025-10-01 00:41:00 +05:30
1847d96219 improve import and add failing test 2025-10-01 00:00:03 +05:30
7d91f88c4d add failing tests 2025-09-30 23:50:36 +05:30
44b95b69ca Add __init__.py under structs/, fix imports 2025-09-30 23:26:18 +05:30
63944c5f93 add todo for global addition to debug compile unit. 2025-09-30 20:28:35 +05:30
ce9be8750d add dwarf behaviour conditions 2025-09-30 20:26:38 +05:30
6afcffb4ed add debug module 2025-09-30 20:18:26 +05:30
d943b78a25 Add __init__ to maps to improve imports 2025-09-30 19:51:28 +05:30
cbc6b93cd8 restructure maps dir, fix imports 2025-09-30 19:01:46 +05:30
32c22c3148 fix struct imports 2025-09-30 01:59:14 +05:30
ea5a1ab2de add jupyter notebook support 2025-09-27 12:24:49 +05:30
ee03ac04d0 Fix printk handler to comply with new symtab convention 2025-09-26 01:02:10 +05:30
28e6f97708 add support for compilation with pylibbpf
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>
2025-09-21 18:05:43 +05:30
63c44fa48c Pass down structs_sym_tab 2025-09-21 04:28:44 +05:30
9fc939cb8e Add structs_pass, tweak functions_pass to respect structs 2025-09-21 03:29:05 +05:30
780f53cd3f Make bpf structs discoverable during chunk exploration 2025-09-21 03:17:23 +05:30
a124476583 big overhaul of debug info and params passed to maps 2025-09-20 04:30:08 +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
05c398dc21 add compile command 2025-09-09 16:48:05 +05:30
263b849a38 Add newline to IR output and update version number 2025-09-09 14:01:09 +05:30
896daddf0b change debug_compile_unit addition location 2025-09-09 13:15:31 +05:30
33468b01d4 remove constants pass as it's functionality has been replicated
elsewhere
2025-09-09 00:35:29 +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
2a3f367e23 separate map creation logic 2025-09-08 21:26:27 +05:30
c0559639f2 Get ex2 running 2025-09-07 19:19:58 +05:30
4ce92f0c95 Implement probe string extraction 2025-09-06 13:41:56 +05:30
ac7f8e09f8 Implement bpf chunk ID 2025-09-06 13:33:43 +05:30
88fa690493 Add bpf decorator, start rewrite 2025-09-06 12:49:39 +05:30
c9e4910a89 hardcoded func gen 2025-09-06 12:49:37 +05:30
0ee8b541d1 Add constant check (maybe broken) and also a globals pass 2025-09-03 18:30:52 +05:30
a8e7a42b72 WIP functions processing 2025-08-31 05:12:47 +05:30
b4a2f169ad emit license 2025-08-30 22:33:58 +05:30
e19aa9fa66 Organize source files 2025-08-30 18:49:08 +05:30
d5557d3c01 Initialize PythonBPF project and toolchain 2025-08-30 18:08:14 +05:30