|
|
60737d9894
|
Improve error handling in compile, pass structs_sym_tab and maps_sym_tab to BpfProgram
|
2025-10-17 03:25:15 +05:30 |
|
|
|
009b11aca6
|
Implement bpf_probe_read_kernel_str helper, Allow i8* to i8 ArrayType conversion
|
2025-10-15 23:52:15 +05:30 |
|
|
|
9fc3c85b75
|
Add struct-field to named-var assignment of char arrays
|
2025-10-15 20:02:18 +05:30 |
|
|
|
fd630293f7
|
Remove duplicate alignment logic from allocation_pass
|
2025-10-15 18:14:13 +05:30 |
|
|
|
81f72a7698
|
Support var-to-var and var-to-struct-fld allocations
|
2025-10-15 18:10:04 +05:30 |
|
|
|
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 |
|
|
|
c56928bc8a
|
Add create_targets_and_rvals, use it in handle_assign to enable tuple assignment
|
2025-10-14 23:30:59 +05:30 |
|
|
|
dd3fc74d09
|
Add support for tuple style multiiassignment in allocation_pass
|
2025-10-14 23:06:43 +05:30 |
|
|
|
903654daff
|
Add hello_fields BCC Example
|
2025-10-14 04:42:12 +05:30 |
|
|
|
263402d137
|
Add trace_fields
|
2025-10-14 04:22:17 +05:30 |
|
|
|
edc33733d9
|
Add trace_pipe utility
|
2025-10-14 03:51:43 +05:30 |
|
|
|
27ab3aaf1e
|
Cleanup codegen.py
|
2025-10-13 19:17:58 +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 |
|
|
|
d4f5a9c36e
|
fix static typing errors
|
2025-10-13 19:07:06 +05:30 |
|
|
|
b2a57edf11
|
Simplify maps_pass
|
2025-10-13 19:01:01 +05:30 |
|
|
|
20ec307288
|
format chore
|
2025-10-13 19:00:59 +05:30 |
|
|
|
0b4c6264a8
|
complete dependency tree readiness resolution
|
2025-10-13 19:00:28 +05:30 |
|
|
|
6345fcdeff
|
Remove unused is_helper_call from allocation_pass
|
2025-10-13 18:38:07 +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 |
|
|
|
5d0a888542
|
Remove deadcode and seperate modules for pythonbpf.functions
|
2025-10-13 04:41:46 +05:30 |
|
|
|
0042280ff1
|
Rename public API and remove deadcode in return_utils
|
2025-10-13 04:23:58 +05:30 |
|
|
|
7a67041ea3
|
Move CallHandlerRegistry to expr/call_registry.py, annotate eval_expr
|
2025-10-13 04:16:22 +05:30 |
|
|
|
45e6ce5e5c
|
Move deref_to_depth to expr/ir_ops.py
|
2025-10-13 04:01:27 +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 |
|
|
|
2a1eabc10d
|
Fix regression in struct_perf_output
|
2025-10-13 00:00:43 +05:30 |
|
|
|
93634a4769
|
format chore
|
2025-10-12 23:47:46 +05:30 |
|
|
|
9b8462f1ed
|
add bitfield size resolution
|
2025-10-12 23:44:50 +05:30 |
|
|
|
785182787c
|
make semantics work other than field diffs
|
2025-10-12 23:16:00 +05:30 |
|
|
|
80396c78a6
|
recursive parsing fix without ctypes in recursed type
|
2025-10-12 20:59:18 +05:30 |
|
|
|
e0ad1bfb0f
|
Move bulk of allocation logic to allocation_pass
|
2025-10-12 12:14:46 +05:30 |
|
|
|
69bee5fee9
|
Seperate LocalSymbol from functions
|
2025-10-12 12:10:09 +05:30 |
|
|
|
2f1aaa4834
|
Fix typos
|
2025-10-12 11:41:01 +05:30 |
|
|
|
0f6971bcc2
|
Refactor allocate_mem
|
2025-10-12 11:34:40 +05:30 |
|
|
|
08c0ccf0ac
|
Pass map_sym_tab to handle_struct_field_assign
|
2025-10-12 10:37:20 +05:30 |
|
|
|
64e44d0d58
|
Use handle_struct_field_assignment in handle_assign
|
2025-10-12 10:30:46 +05:30 |
|
|
|
3ad1b73c5a
|
Add handle_struct_field_assignment to assign_pass
|
2025-10-12 10:19:52 +05:30 |
|
|
|
105c5a7bd0
|
Cleanup handle_assign
|
2025-10-12 10:12:45 +05:30 |
|
|
|
e8026a13bf
|
Allow helpers to be called within themselves
|
2025-10-12 09:30:37 +05:30 |
|
|
|
a3b4d09652
|
Fix errorstring in _handle_unary_op
|
2025-10-12 09:13:04 +05:30 |
|
|
|
4e33fd4a32
|
Add negation UnaryOp
|
2025-10-12 09:11:56 +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 |
|
|
|
8774277000
|
try to separate out ast node from vmlinux type
|
2025-10-12 01:59:14 +05:30 |
|