cea-sec/miasm

View on GitHub

Showing 1,373 of 3,020 total issues

Avoid too many return statements within this function.
Open

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

    Avoid too many return statements within this function.
    Open

                    return "fpu_%s%d(%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 "%s_%d(%s)" % (expr.op, size, self.from_expr(arg))
      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 (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 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 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 ^ 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 "segm2addr(jitcpu, %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 True
                            Severity: Major
                            Found in miasm/ir/ir.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 ^ 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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language