cea-sec/miasm

View on GitHub

Showing 1,373 of 3,020 total issues

Avoid too many return statements within this function.
Open

        return ExprInt(0, 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 ExprOp(op_name, *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 "{ %d }" % node.size
      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 False
          Severity: Major
          Found in miasm/expression/expression.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                    return ExprInt(expr.size - (i + 1), args[0].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 compare_expr_list(expr1.args, expr2.args)
              Severity: Major
              Found in miasm/expression/expression.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                        return ExprInt(parity(int(args[0])), 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 op_cf | 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 op_cf
                    Severity: Major
                    Found in miasm/expression/simplifications_explicit.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

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

                        Avoid too many return statements within this function.
                        Open

                                return ""
                        Severity: Major
                        Found in miasm/expression/expression.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 result
                              Severity: Major
                              Found in miasm/expression/expression.py - About 30 mins to fix

                                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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language