Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Side by Side Diff: tools/elf_fuzzer.py

Issue 12450015: **/*.py: use /usr/bin/env to find python Base URL: https://chromium.googlesource.com/native_client/src/native_client@master
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/elf_checker.py ('k') | tools/file_cmp_test.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/env python
2 2
3 # Copyright 2008 The Native Client Authors. All rights reserved. 3 # Copyright 2008 The Native Client Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can 4 # Use of this source code is governed by a BSD-style license that can
5 # be found in the LICENSE file. 5 # be found in the LICENSE file.
6 6
7 """ 7 """
8 This module implements a fuzzer for sel_ldr's ELF parsing / NaCl 8 This module implements a fuzzer for sel_ldr's ELF parsing / NaCl
9 module loading functions. 9 module loading functions.
10 10
11 The fuzzer takes as arguments a pre-built nexe and sel_ldr, and will 11 The fuzzer takes as arguments a pre-built nexe and sel_ldr, and will
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 269
270 which_nexe = which_nexe + 1 270 which_nexe = which_nexe + 1
271 #endwhile 271 #endwhile
272 272
273 print 'A total of', num_saved, 'nexes caused sel_ldr to exit with a signal.' 273 print 'A total of', num_saved, 'nexes caused sel_ldr to exit with a signal.'
274 #enddef 274 #enddef
275 275
276 if __name__ == '__main__': 276 if __name__ == '__main__':
277 sys.exit(main(sys.argv)) 277 sys.exit(main(sys.argv))
278 #endif 278 #endif
OLDNEW
« no previous file with comments | « tools/elf_checker.py ('k') | tools/file_cmp_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698