fshahinfar1 / kashk

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

Function call was not simplified (also not analyzed later) #36

Open fshahinfar1 opened 3 months ago

fshahinfar1 commented 3 months ago

In the example below, the function f was not moved out of if condition block. Moreover, it seems the function was not analyzed in some of the future passes.

if ((buf = f(a,b,c,d)) == NULL) {
  return r;
}