cea-sec/miasm

View on GitHub

Showing 3,020 of 3,020 total issues

Avoid too many return statements within this function.
Open

        return match_expr(expr.ptr, pattern.ptr, tks, result)
Severity: Major
Found in miasm/expression/expression.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                return False
    Severity: Major
    Found in miasm/expression/expression.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                          return expr
      Severity: Major
      Found in miasm/expression/simplifications_common.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return ~op_zf
        Severity: Major
        Found in miasm/expression/simplifications_explicit.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      return ret
          Severity: Major
          Found in miasm/expression/expression.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return False
            Severity: Major
            Found in miasm/expression/expression.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      return ExprCond(res, ExprInt(0, 1), ExprInt(1, 1))
              Severity: Major
              Found in miasm/expression/simplifications_explicit.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                        return ExprOp('+', *args)
                Severity: Major
                Found in miasm/expression/simplifications_common.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          return ExprCond(args[0].cond, int1, int2)
                  Severity: Major
                  Found in miasm/expression/simplifications_common.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return ExprInt(1, 1)
                    Severity: Major
                    Found in miasm/expression/simplifications_common.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                      return "[%s]" % (color_expr_html(expr.args[0], loc_db))
                      Severity: Major
                      Found in miasm/arch/aarch64/arch.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                return ExprCond(arg, expr.src1, expr.src2)
                        Severity: Major
                        Found in miasm/expression/simplifications_common.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                              return ExprOp(TOK_EQUAL, src, ExprInt(int(arg2), src.size))
                          Severity: Major
                          Found in miasm/expression/simplifications_common.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                        return '[%s, %s]' % (expr.args[0], arg)
                            Severity: Major
                            Found in miasm/arch/aarch64/arch.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                      return True
                              Severity: Major
                              Found in miasm/arch/aarch64/arch.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                            return False
                                Severity: Major
                                Found in miasm/arch/aarch64/arch.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return ExprCond(ExprOp(TOK_EQUAL, arg2, arg1), src1, src2)
                                  Severity: Major
                                  Found in miasm/expression/simplifications_common.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                return ExprCompose(*out).zeroExtend(expr.size)
                                    Severity: Major
                                    Found in miasm/expression/simplifications_common.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                      return "[%s], %s" % (expr.args[0], expr.args[1])
                                      Severity: Major
                                      Found in miasm/arch/aarch64/arch.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                            return ExprCond(cond, expr.src1, expr.src2)
                                        Severity: Major
                                        Found in miasm/expression/simplifications_common.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language