mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2026-12-06 18:08:36 +00:00
- A global's descriptor is built from the loaded value, not from None. - get_operand_value, the [0] wrapper over get_typed_operand, had no callers left; removed with its export. - infer_int_type's map branch names the map's declared value type for what it is (value_ctype), says that the key argument plays no part, and applies only to lookup: update and delete return a status, not a value of the map's type. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
31 lines
787 B
Python
31 lines
787 B
Python
from .expr_pass import eval_expr, handle_expr, get_typed_operand
|
|
from .type_normalization import (
|
|
convert_to_bool,
|
|
get_base_type_and_depth,
|
|
convert,
|
|
canonicalise,
|
|
to_promoted,
|
|
)
|
|
from .operators import usual_arithmetic_conversions
|
|
from .ir_ops import deref_to_depth, access_struct_field
|
|
from .operators import apply_binop
|
|
from .call_registry import CallHandlerRegistry
|
|
from .vmlinux_registry import VmlinuxHandlerRegistry
|
|
|
|
__all__ = [
|
|
"eval_expr",
|
|
"handle_expr",
|
|
"convert_to_bool",
|
|
"convert",
|
|
"canonicalise",
|
|
"to_promoted",
|
|
"get_typed_operand",
|
|
"usual_arithmetic_conversions",
|
|
"get_base_type_and_depth",
|
|
"deref_to_depth",
|
|
"apply_binop",
|
|
"access_struct_field",
|
|
"CallHandlerRegistry",
|
|
"VmlinuxHandlerRegistry",
|
|
]
|