Commit Graph

55 Commits

Author SHA1 Message Date
e499c29d42 float vmlinux_symtab till process_func_body 2025-10-20 22:13:38 +05:30
eee212795f add assignment dict handling to class_handler.py 2025-10-20 04:41:00 +05:30
7ae629e8f7 bump version to v0.1.5 2025-10-16 19:04:04 +05:30
8372111616 add basic IR gen strategy 2025-10-15 21:25:53 +05:30
eb4ee64ee5 Revert "float vmlinux_assignments_symtab"
This reverts commit ce7b170fea.
2025-10-15 19:11:53 +05:30
ce7b170fea float vmlinux_assignments_symtab 2025-10-15 18:19:51 +05:30
27ab3aaf1e Cleanup codegen.py 2025-10-13 19:17:58 +05:30
3ec3ab30fe add vmlinux processor to codegen pipeline
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>
2025-10-10 22:54:14 +05:30
ed196caebf add global symbol table populate function 2025-10-10 22:54:10 +05:30
384fc9dd40 changer order of passes 2025-10-10 22:54:09 +05:30
e7c4bdb150 add global support with broken generation function 2025-10-10 22:54:07 +05:30
dc7a127fa6 Restructure dir for functions 2025-10-05 15:09:39 +05:30
6fea580693 Fix t/f/return.py, tweak handle_binary_ops 2025-10-03 17:56:21 +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