cea-sec/miasm

View on GitHub

Showing 3,020 of 3,020 total issues

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 (op1 + op2 + op3.zeroExtend(op1.size)).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 "((%s | %s) &0x%x)" % (part1, part2, int(expr.mask))
      Severity: Major
      Found in miasm/ir/translators/python.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                        return self.from_expr(new_expr)
        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_%d(%s, %s)" % (
          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 (((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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language