add regular struct field access handling in vmlinux_registry.py

This commit is contained in:
2025-11-22 00:36:59 +05:30
parent 99321c7669
commit 377fa4041d
2 changed files with 112 additions and 9 deletions

View File

@ -10,8 +10,9 @@ def example(ctx: struct_pt_regs) -> c_int64:
a = ctx.r15
req = struct_request(ctx.di)
d = req.__data_len
b = ctx.r12
c = req.timeout
print(f"data length {d} and {c} and {a}")
print(f"data length {d} and {c} and {a} and {b}")
return c_int64(0)