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

Issue 96683003: Disable the ASan SEGV handler for NaCl processes on Mac. (Closed)

Created:
7 years ago by Alexander Potapenko
Modified:
7 years ago
CC:
chromium-reviews
Visibility:
Public.

Description

Disable the ASan SEGV handler for NaCl processes on Mac. Implement __asan_default_options() for the Chrome OSX binary. This function sets handle_segv=0 iff the binary is executed with --type=nacl-loader. BUG=323510 TEST=browser_tests pass under ASan on OSX x64 R=cpu@chromium.org, mseaborn@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238328

Patch Set 1 #

Total comments: 17

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -0 lines) Patch
M chrome/app/chrome_exe_main_mac.cc View 1 2 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Alexander Potapenko
Please take a look.
7 years ago (2013-11-29 11:29:12 UTC) #1
Mark Seaborn
https://codereview.chromium.org/96683003/diff/1/chrome/app/chrome_exe_main_mac.cc File chrome/app/chrome_exe_main_mac.cc (right): https://codereview.chromium.org/96683003/diff/1/chrome/app/chrome_exe_main_mac.cc#newcode12 chrome/app/chrome_exe_main_mac.cc:12: // NaCl doesn't play well with ASan's signal handler, ...
7 years ago (2013-11-29 16:50:35 UTC) #2
cpu_(ooo_6.6-7.5)
rubberstamp lgtm once Mark is happy.
7 years ago (2013-11-29 18:57:04 UTC) #3
Alexander Potapenko
Addressed the comments. Please take another look. https://codereview.chromium.org/96683003/diff/1/chrome/app/chrome_exe_main_mac.cc File chrome/app/chrome_exe_main_mac.cc (right): https://codereview.chromium.org/96683003/diff/1/chrome/app/chrome_exe_main_mac.cc#newcode12 chrome/app/chrome_exe_main_mac.cc:12: // NaCl ...
7 years ago (2013-12-02 15:50:19 UTC) #4
Mark Seaborn
LGTM https://codereview.chromium.org/96683003/diff/1/chrome/app/chrome_exe_main_mac.cc File chrome/app/chrome_exe_main_mac.cc (right): https://codereview.chromium.org/96683003/diff/1/chrome/app/chrome_exe_main_mac.cc#newcode27 chrome/app/chrome_exe_main_mac.cc:27: __attribute__((used)) On 2013/12/02 15:50:19, Alexander Potapenko wrote: > ...
7 years ago (2013-12-02 16:51:32 UTC) #5
Alexander Potapenko
Fixed the comments. Note on making ASan and NaCl signal handlers work together: this is ...
7 years ago (2013-12-03 09:40:38 UTC) #6
Alexander Potapenko
7 years ago (2013-12-03 09:41:06 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 manually as r238328 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698