$ ./env tools/pflua-compile 'ip and greater 100'
local cast = require("ffi").cast
return function(P,length)
if length < 14 then return false end
if cast("uint16_t*", P+12)[0] ~= 8 then return false end
return length >= 100
end
The >= 100 length check should be hoisted but it's not.
Consider:
The >= 100 length check should be hoisted but it's not.