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

Side by Side Diff: src/untrusted/crash_dump/decode_dump.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
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Utility to decode a crash dump generated by untrusted_crash_dump.[ch] 6 """Utility to decode a crash dump generated by untrusted_crash_dump.[ch]
7 7
8 Currently this produces a simple stack trace. 8 Currently this produces a simple stack trace.
9 """ 9 """
10 10
11 import json 11 import json
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 addr2line=options.add2line, 193 addr2line=options.add2line,
194 library_paths=options.library_paths, 194 library_paths=options.library_paths,
195 platform=options.platform) 195 platform=options.platform)
196 info = decoder.LoadAndDecode(args[0]) 196 info = decoder.LoadAndDecode(args[0])
197 trace = decoder.StackTrace(info) 197 trace = decoder.StackTrace(info)
198 decoder.PrintTrace(trace, sys.stdout) 198 decoder.PrintTrace(trace, sys.stdout)
199 199
200 200
201 if __name__ == '__main__': 201 if __name__ == '__main__':
202 Main(sys.argv[1:]) 202 Main(sys.argv[1:])
OLDNEW
« no previous file with comments | « src/trusted/validator_x86/testscripts/run_rdfa_validator_tests.py ('k') | tests/abi_corpus/corpus_errors.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698