mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
setup skeleton for offset calculation
This commit is contained in:
@ -71,6 +71,7 @@ def process_vmlinux_post_ast(
|
||||
if len(field_elem) == 2:
|
||||
field_name, field_type = field_elem
|
||||
elif len(field_elem) == 3:
|
||||
raise NotImplementedError("Bitfields are not supported in the current version")
|
||||
field_name, field_type, bitfield_size = field_elem
|
||||
field_table[field_name] = [field_type, bitfield_size]
|
||||
elif hasattr(class_obj, "__annotations__"):
|
||||
|
||||
Reference in New Issue
Block a user