On Wed, Nov 01, 2023 at 08:37:54PM -0700, Andrii Nakryiko wrote: > While still assuming that second register is a constant, generalize > is_branch_taken-related code to accept two registers instead of register > plus explicit constant value. This also, as a side effect, allows to > simplify check_cond_jmp_op() by unifying BPF_K case with BPF_X case, for > which we use a fake register to represent BPF_K's imm constant as > a register. > > Acked-by: Eduard Zingerman <eddyz87@xxxxxxxxx> > Signed-off-by: Andrii Nakryiko <andrii@xxxxxxxxxx> Acked-by: Shung-Hsi Yu <shung-hsi.yu@xxxxxxxx>