Allow int** pointers to store binops of type int** op int

This commit is contained in:
Pragyansh Chaturvedi
2025-10-10 20:36:37 +05:30
parent 9febadffd3
commit 7529820c0b
3 changed files with 24 additions and 45 deletions

View File

@ -402,7 +402,7 @@ def eval_expr(
elif isinstance(expr, ast.BinOp):
from pythonbpf.binary_ops import handle_binary_op
return handle_binary_op(expr, builder, None, local_sym_tab)
return handle_binary_op(func, expr, builder, None, local_sym_tab)
elif isinstance(expr, ast.Compare):
return _handle_compare(
func, module, builder, expr, local_sym_tab, map_sym_tab, structs_sym_tab