fshahinfar1 / kashk

Generate BPF kernel offload from source code of applications
2 stars 0 forks source link

Verification issue with uninitialized values #20

Open fshahinfar1 opened 7 months ago

fshahinfar1 commented 7 months ago

The verifier complains about access to uninitialized stack memory in cases the original program has partially writes to a buffer. Although the original program may be correct, the verifier is not smart enough to understand that. It is better to intialized every stack variable. Even though it might have some overheads.