1[ 2 { 3 "wd": "/tmp/stable", 4 "wrapper": { 5 "cmd": { 6 "path": "./x86_64-cros-linux-gnu-gcc", 7 "args": [ 8 "-fsanitize=kernel-address", 9 "-Wl,--no-undefined", 10 "main.cc" 11 ] 12 } 13 }, 14 "cmds": [ 15 { 16 "cmd": { 17 "path": "/usr/bin/ccache", 18 "args": [ 19 "./x86_64-cros-linux-gnu-gcc.real", 20 "--sysroot=/usr/x86_64-cros-linux-gnu", 21 "-fno-reorder-blocks-and-partition", 22 "-Wno-unused-local-typedefs", 23 "-Wno-maybe-uninitialized", 24 "-fcommon", 25 "-fstack-protector-strong", 26 "-D_FORTIFY_SOURCE=2", 27 "-fno-omit-frame-pointer", 28 "-static-libgcc", 29 "-fsanitize=kernel-address", 30 "main.cc", 31 "-L/usr/x86_64-cros-linux-gnu/usr/lib64", 32 "-mno-movbe" 33 ], 34 "env_updates": [ 35 "CCACHE_DIR=/var/cache/distfiles/ccache", 36 "CCACHE_UMASK=002" 37 ] 38 } 39 } 40 ] 41 }, 42 { 43 "wd": "/tmp/stable", 44 "wrapper": { 45 "cmd": { 46 "path": "./x86_64-cros-linux-gnu-gcc", 47 "args": [ 48 "-fsanitize=kernel-address", 49 "-Wl,-z,defs", 50 "main.cc" 51 ] 52 } 53 }, 54 "cmds": [ 55 { 56 "cmd": { 57 "path": "/usr/bin/ccache", 58 "args": [ 59 "./x86_64-cros-linux-gnu-gcc.real", 60 "--sysroot=/usr/x86_64-cros-linux-gnu", 61 "-fno-reorder-blocks-and-partition", 62 "-Wno-unused-local-typedefs", 63 "-Wno-maybe-uninitialized", 64 "-fcommon", 65 "-fstack-protector-strong", 66 "-D_FORTIFY_SOURCE=2", 67 "-fno-omit-frame-pointer", 68 "-static-libgcc", 69 "-fsanitize=kernel-address", 70 "main.cc", 71 "-L/usr/x86_64-cros-linux-gnu/usr/lib64", 72 "-mno-movbe" 73 ], 74 "env_updates": [ 75 "CCACHE_DIR=/var/cache/distfiles/ccache", 76 "CCACHE_UMASK=002" 77 ] 78 } 79 } 80 ] 81 }, 82 { 83 "wd": "/tmp/stable", 84 "wrapper": { 85 "cmd": { 86 "path": "./x86_64-cros-linux-gnu-gcc", 87 "args": [ 88 "-fsanitize=kernel-address", 89 "-D_FORTIFY_SOURCE=1", 90 "main.cc" 91 ] 92 } 93 }, 94 "cmds": [ 95 { 96 "cmd": { 97 "path": "/usr/bin/ccache", 98 "args": [ 99 "./x86_64-cros-linux-gnu-gcc.real", 100 "--sysroot=/usr/x86_64-cros-linux-gnu", 101 "-fno-reorder-blocks-and-partition", 102 "-Wno-unused-local-typedefs", 103 "-Wno-maybe-uninitialized", 104 "-fcommon", 105 "-fstack-protector-strong", 106 "-D_FORTIFY_SOURCE=2", 107 "-fno-omit-frame-pointer", 108 "-static-libgcc", 109 "-fsanitize=kernel-address", 110 "main.cc", 111 "-L/usr/x86_64-cros-linux-gnu/usr/lib64", 112 "-mno-movbe" 113 ], 114 "env_updates": [ 115 "CCACHE_DIR=/var/cache/distfiles/ccache", 116 "CCACHE_UMASK=002" 117 ] 118 } 119 } 120 ] 121 }, 122 { 123 "wd": "/tmp/stable", 124 "wrapper": { 125 "cmd": { 126 "path": "./x86_64-cros-linux-gnu-gcc", 127 "args": [ 128 "-fsanitize=kernel-address", 129 "-D_FORTIFY_SOURCE=2", 130 "main.cc" 131 ] 132 } 133 }, 134 "cmds": [ 135 { 136 "cmd": { 137 "path": "/usr/bin/ccache", 138 "args": [ 139 "./x86_64-cros-linux-gnu-gcc.real", 140 "--sysroot=/usr/x86_64-cros-linux-gnu", 141 "-fno-reorder-blocks-and-partition", 142 "-Wno-unused-local-typedefs", 143 "-Wno-maybe-uninitialized", 144 "-fcommon", 145 "-fstack-protector-strong", 146 "-D_FORTIFY_SOURCE=2", 147 "-fno-omit-frame-pointer", 148 "-static-libgcc", 149 "-fsanitize=kernel-address", 150 "main.cc", 151 "-L/usr/x86_64-cros-linux-gnu/usr/lib64", 152 "-mno-movbe" 153 ], 154 "env_updates": [ 155 "CCACHE_DIR=/var/cache/distfiles/ccache", 156 "CCACHE_UMASK=002" 157 ] 158 } 159 } 160 ] 161 }, 162 { 163 "wd": "/tmp/stable", 164 "wrapper": { 165 "cmd": { 166 "path": "./x86_64-cros-linux-gnu-gcc", 167 "args": [ 168 "-fsanitize=fuzzer", 169 "main.cc" 170 ] 171 } 172 }, 173 "cmds": [ 174 { 175 "cmd": { 176 "path": "/usr/bin/ccache", 177 "args": [ 178 "./x86_64-cros-linux-gnu-gcc.real", 179 "--sysroot=/usr/x86_64-cros-linux-gnu", 180 "-fno-reorder-blocks-and-partition", 181 "-Wno-unused-local-typedefs", 182 "-Wno-maybe-uninitialized", 183 "-fcommon", 184 "-fstack-protector-strong", 185 "-D_FORTIFY_SOURCE=2", 186 "-fno-omit-frame-pointer", 187 "-static-libgcc", 188 "-fsanitize=fuzzer", 189 "main.cc", 190 "-L/usr/x86_64-cros-linux-gnu/usr/lib64", 191 "-mno-movbe" 192 ], 193 "env_updates": [ 194 "CCACHE_DIR=/var/cache/distfiles/ccache", 195 "CCACHE_UMASK=002" 196 ] 197 } 198 } 199 ] 200 }, 201 { 202 "wd": "/tmp/stable", 203 "wrapper": { 204 "cmd": { 205 "path": "./x86_64-cros-linux-gnu-gcc", 206 "args": [ 207 "-fsanitize=address", 208 "-fprofile-instr-generate", 209 "main.cc" 210 ] 211 } 212 }, 213 "cmds": [ 214 { 215 "cmd": { 216 "path": "/usr/bin/ccache", 217 "args": [ 218 "./x86_64-cros-linux-gnu-gcc.real", 219 "--sysroot=/usr/x86_64-cros-linux-gnu", 220 "-fno-reorder-blocks-and-partition", 221 "-Wno-unused-local-typedefs", 222 "-Wno-maybe-uninitialized", 223 "-fcommon", 224 "-fstack-protector-strong", 225 "-D_FORTIFY_SOURCE=2", 226 "-fno-omit-frame-pointer", 227 "-static-libgcc", 228 "-fsanitize=address", 229 "-fprofile-instr-generate", 230 "main.cc", 231 "-L/usr/x86_64-cros-linux-gnu/usr/lib64", 232 "-mno-movbe" 233 ], 234 "env_updates": [ 235 "CCACHE_DIR=/var/cache/distfiles/ccache", 236 "CCACHE_UMASK=002" 237 ] 238 } 239 } 240 ] 241 }, 242 { 243 "wd": "/tmp/stable", 244 "wrapper": { 245 "cmd": { 246 "path": "./x86_64-cros-linux-gnu-gcc", 247 "args": [ 248 "-fsanitize=address", 249 "main.cc" 250 ] 251 } 252 }, 253 "cmds": [ 254 { 255 "cmd": { 256 "path": "/usr/bin/ccache", 257 "args": [ 258 "./x86_64-cros-linux-gnu-gcc.real", 259 "--sysroot=/usr/x86_64-cros-linux-gnu", 260 "-fno-reorder-blocks-and-partition", 261 "-Wno-unused-local-typedefs", 262 "-Wno-maybe-uninitialized", 263 "-fcommon", 264 "-fstack-protector-strong", 265 "-D_FORTIFY_SOURCE=2", 266 "-fno-omit-frame-pointer", 267 "-static-libgcc", 268 "-fsanitize=address", 269 "main.cc", 270 "-L/usr/x86_64-cros-linux-gnu/usr/lib64", 271 "-mno-movbe" 272 ], 273 "env_updates": [ 274 "CCACHE_DIR=/var/cache/distfiles/ccache", 275 "CCACHE_UMASK=002" 276 ] 277 } 278 } 279 ] 280 }, 281 { 282 "wd": "/tmp/stable", 283 "wrapper": { 284 "cmd": { 285 "path": "./x86_64-cros-linux-gnu-gcc", 286 "args": [ 287 "-fprofile-instr-generate", 288 "main.cc" 289 ] 290 } 291 }, 292 "cmds": [ 293 { 294 "cmd": { 295 "path": "/usr/bin/ccache", 296 "args": [ 297 "./x86_64-cros-linux-gnu-gcc.real", 298 "--sysroot=/usr/x86_64-cros-linux-gnu", 299 "-fno-reorder-blocks-and-partition", 300 "-Wno-unused-local-typedefs", 301 "-Wno-maybe-uninitialized", 302 "-fcommon", 303 "-fstack-protector-strong", 304 "-D_FORTIFY_SOURCE=2", 305 "-fno-omit-frame-pointer", 306 "-static-libgcc", 307 "-fprofile-instr-generate", 308 "main.cc", 309 "-L/usr/x86_64-cros-linux-gnu/usr/lib64", 310 "-mno-movbe" 311 ], 312 "env_updates": [ 313 "CCACHE_DIR=/var/cache/distfiles/ccache", 314 "CCACHE_UMASK=002" 315 ] 316 } 317 } 318 ] 319 } 320] 321