From e5b3b001ce09fb5875f23aff99c071de10fbabc0 Mon Sep 17 00:00:00 2001 From: Pragyansh Chaturvedi Date: Wed, 19 Nov 2025 04:29:35 +0530 Subject: [PATCH] Minor fix for PTR_TO_MAP_VALUE_OR_NULL target --- pythonbpf/allocation_pass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pythonbpf/allocation_pass.py b/pythonbpf/allocation_pass.py index 5e44eb4..b5fa37c 100644 --- a/pythonbpf/allocation_pass.py +++ b/pythonbpf/allocation_pass.py @@ -176,7 +176,7 @@ def _allocate_for_map_method( return # Main variable (pointer to pointer) - ir_type = ir.PointerType(value_ir_type) + ir_type = ir.PointerType(ir.IntType(64)) var = builder.alloca(ir_type, name=var_name) local_sym_tab[var_name] = LocalSymbol(var, ir_type) # Temporary variable for computed values