format chore

This commit is contained in:
2025-10-15 17:49:38 +05:30
parent a4cfc2b7aa
commit 8239097fbb
3 changed files with 23 additions and 8 deletions

View File

@ -147,8 +147,12 @@ def process_vmlinux_post_ast(
process_vmlinux_post_ast(
containing_type, llvm_handler, handler, processing_stack
)
size_of_containing_type = (handler[containing_type.__name__]).__sizeof__()
new_dep_node.set_field_ready(elem_name, True, size_of_containing_type)
size_of_containing_type = (
handler[containing_type.__name__]
).__sizeof__()
new_dep_node.set_field_ready(
elem_name, True, size_of_containing_type
)
elif containing_type.__module__ == ctypes.__name__:
logger.debug(f"Processing ctype internal{containing_type}")
new_dep_node.set_field_ready(elem_name, True)
@ -165,8 +169,12 @@ def process_vmlinux_post_ast(
process_vmlinux_post_ast(
elem_type, llvm_handler, handler, processing_stack
)
size_of_containing_type = (handler[elem_type.__name__]).__sizeof__()
new_dep_node.set_field_ready(elem_name, True, size_of_containing_type)
size_of_containing_type = (
handler[elem_type.__name__]
).__sizeof__()
new_dep_node.set_field_ready(
elem_name, True, size_of_containing_type
)
else:
raise ValueError(
f"{elem_name} with type {elem_type} from module {module_name} not supported in recursive resolver"