1 // Copyright 2018 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include <vector> 6 7 struct Failure { 8 int line; 9 const char *message; 10 bool expected_death; 11 }; 12 13 // Tests FORTIFY with -D_FORTIFY_SOURCE=1 14 std::vector<Failure> test_fortify_1(); 15 // Tests FORTIFY with -D_FORTIFY_SOURCE=2 16 std::vector<Failure> test_fortify_2(); 17