DescriptionLinux Sandbox: fix BPF compiler bug
The code responsible for detecting similar blocks and merging
them didn't check for the next blocks if the last instruction was
not a JMP or a RET.
The patch to fix this bug (in codegen.cc) is based on a patch by
jld@panix.com, attached to the bug report.
Additional unittests are from jln@chromium.org
BUG=351103
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260157
Patch Set 1 #Patch Set 2 : Fix comments. #
Total comments: 3
Patch Set 3 : Add assertions. #
Messages
Total messages: 9 (0 generated)
|