mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
add int32 type
This commit is contained in:
@ -21,6 +21,10 @@ class DebugInfoGenerator:
|
|||||||
)
|
)
|
||||||
return self._type_cache[key]
|
return self._type_cache[key]
|
||||||
|
|
||||||
|
def get_int32_type(self) -> Any:
|
||||||
|
"""Get debug info for signed 32-bit integer"""
|
||||||
|
return self.get_basic_type("int", 32, dc.DW_ATE_signed)
|
||||||
|
|
||||||
def get_uint32_type(self) -> Any:
|
def get_uint32_type(self) -> Any:
|
||||||
"""Get debug info for unsigned 32-bit integer"""
|
"""Get debug info for unsigned 32-bit integer"""
|
||||||
return self.get_basic_type("unsigned int", 32, dc.DW_ATE_unsigned)
|
return self.get_basic_type("unsigned int", 32, dc.DW_ATE_unsigned)
|
||||||
|
|||||||
Reference in New Issue
Block a user