add debug info storage on assignment_info.py dataclass

This commit is contained in:
2025-10-26 15:46:03 +05:30
parent 7bf6f9c48c
commit 8bd210cede
6 changed files with 34 additions and 3 deletions

View File

@ -39,6 +39,12 @@ class VmlinuxHandlerRegistry:
)
return None
@classmethod
def get_struct_debug_info(cls, name):
if cls._handler is None:
return False
return cls._handler.get_struct_debug_info(name)
@classmethod
def is_vmlinux_struct(cls, name):
"""Check if a name refers to a vmlinux struct"""