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