fix CO-RE read for cast structs

This commit is contained in:
2025-11-22 01:47:25 +05:30
parent 84507b8b98
commit 6f25c554a9
4 changed files with 50 additions and 16 deletions

View File

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