joxeankoret / pigaios

A tool for matching and diffing source codes directly against binaries.
GNU General Public License v3.0
634 stars 67 forks source link

print() is a function in Python 3 #11

Closed cclauss closed 5 years ago

cclauss commented 5 years ago

flake8 testing of https://github.com/joxeankoret/pigaios on Python 3.7.0

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./srcbindiff.py:38:45: E999 SyntaxError: invalid syntax
      print "Project file %s already exists." % repr(project_file)
                                            ^
./sourceimp_ida.py:20:1: F821 undefined name 'reload'
reload(sourceimp_core)
^
./sourcexp_ida.py:376:24: E999 SyntaxError: invalid syntax
      print "Exception:", str(sys.exc_info()[1])
                       ^
./sourceimp_core.py:31:17: E999 SyntaxError: invalid syntax
  print "[%s] %s" % (time.asctime(), msg)
                ^
./exporters/SimpleEval.py:240:41: E999 SyntaxError: invalid syntax
  print "Simple C expressions calculator"
                                        ^
./exporters/terminalsize.py:26:23: E999 SyntaxError: invalid syntax
        print "default"
                      ^
./exporters/clang_exporter.py:60:12: E999 SyntaxError: invalid syntax
  print "  "*level, cursor.kind, repr(cursor.spelling), repr(token), cursor.location
           ^
./exporters/base_support.py:197:43: E999 SyntaxError: invalid syntax
      print "[i] Removing existing file %s" % filename
                                          ^
./ml/pigaios_create_dataset.py:100:17: E999 SyntaxError: invalid syntax
  print "[%s] %s" % (time.asctime(), msg)
                ^
./ml/pigaios_ml.py:117:21: E999 SyntaxError: invalid syntax
      print "Fitting", clf
                    ^
./others/tarjan_sort.py:110:11: E999 SyntaxError: invalid syntax
    print d
          ^
10    E999 SyntaxError: invalid syntax
1     F821 undefined name 'reload'
11