|
|
fb480639a5
|
Make char array struct fields work
|
2025-10-15 17:27:43 +05:30 |
|
|
|
13a804f7ac
|
Implement bpf_get_current_comm_emitter
|
2025-10-15 14:03:09 +05:30 |
|
|
|
a0d954b20b
|
Register bpf_get_current_comm_emitter for comm
|
2025-10-15 12:47:30 +05:30 |
|
|
|
69d8669e44
|
Merge pull request #28 from pythonbpf/vmlinux-working
Add compilation mechanism from vmlinux
Still does not compile to IR. only does semantic analysis.
Another PR will be opened soon for IR generation.
|
2025-10-13 19:08:41 +05:30 |
|
|
|
6b41f1fb84
|
Move print logic to helper/printk_emitter.py
|
2025-10-13 18:32:51 +05:30 |
|
|
|
74d8014ade
|
Move HelperHandlerRegistry to helper_registry.py
|
2025-10-13 18:21:50 +05:30 |
|
|
|
c5f0a2806f
|
Make printk_emiiter return True to prevent bogus logger warnings in eval_expr
|
2025-10-13 02:40:34 +05:30 |
|
|
|
fc058c4341
|
Use dependency inversion to remove handler delayed import in eval_expr
|
2025-10-13 02:28:00 +05:30 |
|
|
|
158cc42e1e
|
Move binop handling logic to expr_pass, remove delayed imports of get_operand_value
|
2025-10-13 00:36:42 +05:30 |
|
|
|
2f1aaa4834
|
Fix typos
|
2025-10-12 11:41:01 +05:30 |
|
|
|
e8026a13bf
|
Allow helpers to be called within themselves
|
2025-10-12 09:30:37 +05:30 |
|
|
|
2cf68f6473
|
Allow map-based helpers to be used as helper args / within binops which are helper args
|
2025-10-12 07:57:55 +05:30 |
|
|
|
d66e6a6aff
|
Allow struct members as helper args
|
2025-10-12 06:00:50 +05:30 |
|
|
|
cd74e896cf
|
Allow binops as args to helpers accepting int*
|
2025-10-12 04:20:46 +05:30 |
|
|
|
207f714027
|
Use scratch space to store consts passed to helpers
|
2025-10-12 04:17:37 +05:30 |
|
|
|
5dcf670f49
|
Add ScratchPoolManager and it's singleton
|
2025-10-12 01:47:11 +05:30 |
|
|
|
aae7aa981d
|
Fix expr imports
|
2025-10-10 22:54:03 +05:30 |
|
|
|
9febadffd3
|
Add pointer handling to helper_utils, finish pointer assignment
|
2025-10-10 15:01:15 +05:30 |
|
|
|
d84ce0c6fa
|
update helpers and change examples.
|
2025-10-08 13:57:09 +05:30 |
|
|
|
5f9eaff59c
|
Fix expr imports
|
2025-10-08 06:49:34 +05:30 |
|
|
|
86b9ec56d7
|
update formatter and pre-commit
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>
|
2025-10-02 22:43:05 +05:30 |
|
|
|
469ca43eaa
|
replace prints with logger.info
|
2025-10-02 17:46:27 +05:30 |
|
|
|
12ba3605e9
|
Fix local_sym_tab usage in helpers
|
2025-10-02 04:53:04 +05:30 |
|
|
|
9223d7b5c5
|
Remove local_var_metadata from helpers
|
2025-10-02 04:40:44 +05:30 |
|
|
|
1a66887f48
|
move helper annotations to helpers module
|
2025-10-02 01:55:32 +05:30 |
|
|
|
23f3cbcea7
|
add type annotations
|
2025-10-02 01:43:05 +05:30 |
|
|
|
59b3d6514b
|
fix ruff errors
|
2025-10-02 01:23:55 +05:30 |
|
|
|
6831f11179
|
Fix fstrings in examples, add alternate map attr access
|
2025-10-02 00:22:59 +05:30 |
|
|
|
81807ace34
|
Fix simple_string_print docstring
|
2025-10-01 23:59:07 +05:30 |
|
|
|
690ff7ffbc
|
Remove unnecessary prints
|
2025-10-01 23:57:22 +05:30 |
|
|
|
ba3e02052d
|
Register output in HelperHandlerRegistry
|
2025-10-01 23:56:16 +05:30 |
|
|
|
9099b3eaec
|
Replace logger.warn with logger.warning
|
2025-10-01 23:55:16 +05:30 |
|
|
|
cecf45061c
|
Fix line length nitpicks
|
2025-10-01 23:51:25 +05:30 |
|
|
|
929eef31ef
|
Add has_handler to HelperHandlerRegistry
|
2025-10-01 23:38:38 +05:30 |
|
|
|
28cc0c5eec
|
Refactor handle_helper_call
|
2025-10-01 23:32:27 +05:30 |
|
|
|
99d6c193f6
|
Fix calling of _simple_string_print
|
2025-10-01 22:53:19 +05:30 |
|
|
|
4f33db206c
|
Refactor bpf_perf_event_output_emitter
|
2025-10-01 22:49:50 +05:30 |
|
|
|
6ccbab402f
|
Complete printk refactor
|
2025-10-01 22:12:30 +05:30 |
|
|
|
7b01f1dde3
|
Complete helpers for fstrings in helper_utils
|
2025-10-01 21:43:11 +05:30 |
|
|
|
17f60d721b
|
Add _process_*_in_fval to helper_utils
|
2025-10-01 20:26:18 +05:30 |
|
|
|
d18c69fae1
|
Add _handle_fstring_print scaffolding
|
2025-10-01 19:56:20 +05:30 |
|
|
|
9c58116c82
|
Use get_flags_val in bpf_map_update_elem_emitter
|
2025-10-01 18:38:18 +05:30 |
|
|
|
18f164bdec
|
Add get_flags_val to helper_utils
|
2025-10-01 18:35:11 +05:30 |
|
|
|
ffcd2de44d
|
Replace usage of get_key_ptr with get_or_create_ptr_from_arg
|
2025-10-01 18:25:22 +05:30 |
|
|
|
8dd2746411
|
rename get_key_ptr to get_or_create_ptr_from_arg
|
2025-10-01 18:21:42 +05:30 |
|
|
|
7f6c318069
|
Use get_key_ptr in map_update helper
|
2025-10-01 18:14:32 +05:30 |
|
|
|
d2e0f17ca8
|
Use key_arg instead of call in get_key_ptr
|
2025-10-01 18:14:09 +05:30 |
|
|
|
4af6c4dcad
|
Refactor bpf_map_delete_elem_emitter
|
2025-10-01 18:00:51 +05:30 |
|
|
|
244ea143d4
|
Refactor bpf_map_lookup_elem_emitter, add utils
|
2025-10-01 17:36:05 +05:30 |
|
|
|
168ab29be3
|
Format function definitions in bpf_helper_handler
|
2025-10-01 04:04:32 +05:30 |
|