cea-sec/miasm

View on GitHub

Showing 1,373 of 3,020 total issues

Avoid too many return statements within this function.
Open

                return out
Severity: Major
Found in miasm/ir/translators/C.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

            return (((op1 ^ op2) ^ res) ^ ((op1 ^ res) & (op1 ^ op2))).msb()
    Severity: Major
    Found in miasm/expression/simplifications_explicit.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

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

        Avoid too many return statements within this function.
        Open

                return (((op1 ^ res) & (~(op1 ^ op2)))).msb()
        Severity: Major
        Found in miasm/expression/simplifications_explicit.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                          return out
          Severity: Major
          Found in miasm/ir/translators/C.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                            return out
            Severity: Major
            Found in miasm/ir/translators/C.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                              return "%s(%s)" % (func, self.from_expr(expr.args[0]))
              Severity: Major
              Found in miasm/ir/translators/C.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 cmp_elts(expr1.size, expr2.size)
                  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 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 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(args[0].size, 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 ~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 ret
                                Severity: Major
                                Found in miasm/expression/expression.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return cmp_elts(expr1.size, expr2.size)
                                  Severity: Major
                                  Found in miasm/expression/expression.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                return cmp_elts(expr1.op, expr2.op)
                                    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 args[0].args[0]
                                        Severity: Major
                                        Found in miasm/expression/simplifications_common.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language