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

Unified Diff: tools/valgrind/asan/asan_symbolize.py

Issue 2823563003: asan symbolize: Restore invalid utf-8 ignorance. (Closed)
Patch Set: Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/valgrind/asan/asan_symbolize.py
diff --git a/tools/valgrind/asan/asan_symbolize.py b/tools/valgrind/asan/asan_symbolize.py
index 8a82f9d60e08818fab10ef868b60fd50dcec8a02..ecf42764cb210774969d57378662b54a6def584f 100755
--- a/tools/valgrind/asan/asan_symbolize.py
+++ b/tools/valgrind/asan/asan_symbolize.py
@@ -184,7 +184,7 @@ class JSONTestRunSymbolizer(object):
test_run['original_output_snippet_base64'] = \
test_run['output_snippet_base64']
- test_run['output_snippet'] = symbolized_snippet
+ test_run['output_snippet'] = symbolized_snippet.decode('utf-8', 'replace')
test_run['output_snippet_base64'] = \
base64.b64encode(symbolized_snippet)
test_run['snippet_processed_by'] = 'asan_symbolize.py'
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698