trailofbits/manticore

View on GitHub
manticore/native/cpu/aarch64.py

Summary

Maintainability
A
0 mins
Test Coverage

Consider simplifying this complex logical expression.
Wontfix

        if (
            op1.type == cs.arm64.ARM64_OP_REG
            and op2.type == cs.arm64.ARM64_OP_REG
            and op3.type == cs.arm64.ARM64_OP_REG
            and op4.type == cs.arm64.ARM64_OP_REG
Severity: Major
Found in manticore/native/cpu/aarch64.py - About 1 hr to fix

    Consider simplifying this complex logical expression.
    Wontfix

            if reg_imm_op.type == cs.arm64.ARM64_OP_IMM:
                cpu._SUB_immediate(res_op, reg_op, reg_imm_op)
    
            elif reg_imm_op.type == cs.arm64.ARM64_OP_REG and bit24 == "0":
                cpu._SUB_vector(res_op, reg_op, reg_imm_op)
    Severity: Major
    Found in manticore/native/cpu/aarch64.py - About 40 mins to fix

      Consider simplifying this complex logical expression.
      Wontfix

              if reg_imm_op.type == cs.arm64.ARM64_OP_IMM:
                  cpu._ADD_immediate(res_op, reg_op, reg_imm_op)
      
              elif reg_imm_op.type == cs.arm64.ARM64_OP_REG and bit24 == "0":
                  cpu._ADD_vector(res_op, reg_op, reg_imm_op)
      Severity: Major
      Found in manticore/native/cpu/aarch64.py - About 40 mins to fix

        There are no issues that match your filters.

        Category
        Status