4 identifier f != {kmalloc,kcalloc,kzalloc};
24 if (<+... E == NULL ...+>) S
26 if (<+...(E = f@pl(...)) == NULL...+>) S
35 E = E1;// this could seem bad: the value is being overwritten before being
36 // saved, but in bd_claim_by_kobject in fs/block_dev, the value is
37 // first passed to a function that saves it. anyway, we will see if
38 // this leads to false positives.
47 // might be a different function than the one matched above
50 identifier loc.f, probe.g,x;
65 + ,"detected allocator",f,g