Home
last modified time | relevance | path

Searched refs:off_is_neg (Results 1 – 1 of 1) sorted by relevance

/linux/kernel/bpf/ !
H A Dverifier.c14656 bool off_is_neg = off_reg->smin_value < 0; in sanitize_ptr_alu() local
14678 info->mask_to_left = (opcode == BPF_ADD && off_is_neg) || in sanitize_ptr_alu()
14679 (opcode == BPF_SUB && !off_is_neg); in sanitize_ptr_alu()
14693 alu_state = off_is_neg ? BPF_ALU_NEG_VALUE : 0; in sanitize_ptr_alu()