|
|
19b42b9a19
|
Allocate hashmap lookup return vars based on the value type of said hashmap
|
2025-11-19 04:09:51 +05:30 |
|
|
|
5a8b64f1d9
|
Merge pull request #64 from pythonbpf/all_helpers
Add support for all eBPF helpers
|
2025-11-07 19:26:55 +05:30 |
|
|
|
338d4994d8
|
Fix count_temps_in_call to only look for Pointer args of a helper_sig
|
2025-11-05 17:36:37 +05:30 |
|
|
|
963e2a8171
|
Change ScratchPoolManager to use typed scratch space
|
2025-11-04 14:16:44 +05:30 |
|
|
|
123a92af1d
|
Change allocation pass to generate typed temp variables
|
2025-11-04 06:20:39 +05:30 |
|
|
|
752f564d3f
|
Change count_temps_in_call to return hashmap of types
|
2025-11-04 05:40:22 +05:30 |
|
|
|
7bf6f9c48c
|
add function_debug_info.py and format
|
2025-10-26 15:12:36 +05:30 |
|
|
|
a1fe2ed4bc
|
change to 64 bit pointers. May be an issue. revert this commit if issues arise
|
2025-10-26 15:00:53 +05:30 |
|
|
|
c6b5ecb47e
|
find global variable ir and field data from metadata
|
2025-10-24 03:34:27 +05:30 |
|
|
|
30bcfcbbd0
|
remove compile error on normal c_void_p in arg and separate localsymbol to avoid circular dep
|
2025-10-24 03:08:39 +05:30 |
|
|
|
f18a4399ea
|
format chore
|
2025-10-24 02:40:07 +05:30 |
|
|
|
64674cf646
|
add alloc for only i64
|
2025-10-24 02:06:39 +05:30 |
|
|
|
36a1a0903e
|
Merge branch 'master' into vmlinux-handler
|
2025-10-22 12:02:51 +05:30 |
|
|
|
f2bc7f1434
|
pass context to memory allocation
|
2025-10-22 12:01:52 +05:30 |
|
|
|
b3921c424d
|
parse context from first function argument to local symbol table
|
2025-10-22 11:40:49 +05:30 |
|
|
|
84fdf52658
|
Merge branch 'master' into bcc_examples
|
2025-10-22 04:09:07 +05:30 |
|
|
|
c3f3d1e564
|
format chore
|
2025-10-21 03:43:22 +05:30 |
|
|
|
5955db88cf
|
add vmlinux expressions to eval expr
|
2025-10-21 03:24:27 +05:30 |
|
|
|
e499c29d42
|
float vmlinux_symtab till process_func_body
|
2025-10-20 22:13:38 +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 |
|
|
|
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 |
|
|
|
e0ad1bfb0f
|
Move bulk of allocation logic to allocation_pass
|
2025-10-12 12:14:46 +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 |
|
|
|
105c5a7bd0
|
Cleanup handle_assign
|
2025-10-12 10:12:45 +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 |
|
|
|
207f714027
|
Use scratch space to store consts passed to helpers
|
2025-10-12 04:17:37 +05:30 |
|
|
|
6bce29b90f
|
Allocate scratch space for temp vars at the end of allocate_mem
|
2025-10-12 00:37:57 +05:30 |
|
|
|
321415fa28
|
Add update_max_temps_for_stmt in allocate_mem
|
2025-10-12 00:33:07 +05:30 |
|
|
|
8776d7607f
|
Add count_temps_in_call to call scratch space needed in a helper call
|
2025-10-12 00:17:10 +05:30 |
|
|
|
99aacca94b
|
WIP: allow pointer assignments to var
|
2025-10-10 13:48:40 +05:30 |
|
|
|
1d517d4e09
|
Add double_alloc in alloc_mem
|
2025-10-10 12:28:45 +05:30 |
|
|
|
047f361ea9
|
Allocate twice for map lookups
|
2025-10-10 06:09:46 +05:30 |
|
|
|
84ed27f222
|
Add handle_variable_assignment stub and boilerplate in handle_assign
|
2025-10-08 22:55:03 +05:30 |
|
|
|
6008d9841f
|
Change loglevel of multi-assignment warning in handle_assign
|
2025-10-08 22:45:09 +05:30 |
|
|
|
5f9eaff59c
|
Fix expr imports
|
2025-10-08 06:49:34 +05:30 |
|
|
|
4857739eec
|
cleanup handle_cond in functions_pass
|
2025-10-08 06:42:34 +05:30 |
|
|
|
caa5d92c32
|
Fix struct_access in eval_expr, move struct_access conditional test to passing
|
2025-10-07 13:35:31 +05:30 |
|
|
|
a574527891
|
Add support for unary op 'not' in eval_expr, move not test to passing
|
2025-10-07 04:49:45 +05:30 |
|
|
|
fb63dbd698
|
Move conditional logic to eval_expr, add _conver_to_bool, add passing bool test
|
2025-10-07 03:11:23 +05:30 |
|
|
|
d1055e4d41
|
Reduce a condition from handle_cond
|
2025-10-06 22:20:54 +05:30 |
|
|
|
5066cd4cfe
|
Use named args for eval_expr call in handle_return
|
2025-10-06 05:11:33 +05:30 |
|
|
|
b75dc82f90
|
Remove clutter from handle_return
|
2025-10-06 04:44:55 +05:30 |
|
|
|
f53ca3bd5b
|
Add ctypes in eval_expr
|
2025-10-06 04:43:04 +05:30 |
|
|
|
e6e2a69506
|
Add _is_xdp_name
|
2025-10-06 03:02:08 +05:30 |
|
|
|
e4e92710c0
|
Move XDP pass above general return handling
|
2025-10-06 02:58:57 +05:30 |
|
|
|
6f02b61527
|
Add _handle_xdp_return
|
2025-10-05 23:54:06 +05:30 |
|
|
|
a21ff5633c
|
Add _handle_none_return
|
2025-10-05 23:44:46 +05:30 |
|