apf: disassemble 'div 0' as pass

See apf interpreter:
  https://source.corp.google.com/h/android/platform/superproject/+/main:hardware/google/apf/apf_interpreter.c;l=226

  // Verify an internal condition and accept packet if it fails.
  #define ASSERT_RETURN(c) if (!(c)) return PASS_PACKET

  case DIV_OPCODE: {
    const uint32_t div_operand = reg_num ? registers[1] : imm;
    ASSERT_RETURN(div_operand);
    registers[0] /= div_operand;
    break;
  }

Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I67b5422804973ba66a992702c6f9ac90d2560013
1 file changed