GWP-ASan: Perform early start-up initialization
GWP-ASan is a debug allocator intended to find memory errors in the wild. In order to detect as many as bugs as possible, it should start as early as possible, e.g. soon after it's dependency, FeatureList, has been initialized. Since content/ doesn't call into ChromeMainDelegate for child processes after FeatureList has been initialized, create a new delegate method for post-FeatureList initialization and enable GWP-ASan at that point. Bug: 896019 Change-Id: I9c081602cd32a71d5d9eb774bd9818757d9b7e95 Reviewed-on: https://chromium-review.googlesource.com/c/1343347Reviewed-by:Robert Kaplow <rkaplow@chromium.org> Reviewed-by:
Ken Rockot <rockot@google.com> Reviewed-by:
Avi Drissman <avi@chromium.org> Reviewed-by:
Alexei Svitkine <asvitkine@chromium.org> Cr-Commit-Position: refs/heads/master@{#611041}
Showing
Please register or sign in to comment