tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

UbsanOptions.cpp (538B)


      1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* This Source Code Form is subject to the terms of the Mozilla Public
      3 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
      4 * You can obtain one at http://mozilla.org/MPL/2.0/. */
      5 
      6 #include "mozilla/Types.h"
      7 
      8 extern "C" MOZ_EXPORT const char* __ubsan_default_options() {
      9  return "print_stacktrace=1:handle_sigill=1:handle_abort=1:handle_sigtrap=1";
     10 }
     11 
     12 extern "C" MOZ_EXPORT const char* __ubsan_default_suppressions() { return ""; }