11{
2- "tasks" : [
3- {
4- "type" : " shell" ,
5- "label" : " ELFIO Test build" ,
6- "command" : " make" ,
7- "args" : [
8- " INCLUDES=-I.." ,
9- " CXXFLAGS='-g -O0'"
10- ],
11- "options" : {
12- "cwd" : " ${workspaceRoot}/build/tests"
13- },
14- "group" : {
15- "kind" : " build" ,
16- "isDefault" : true
17- },
18- "problemMatcher" : [
19- " $gcc"
20- ]
21- },
22- {
23- "type" : " shell" ,
24- "label" : " ELF Dump Build" ,
25- "command" : " make" ,
26- "args" : [
27- " INCLUDES=-I.." ,
28- " CXXFLAGS='-g -O0'"
29- ],
30- "options" : {
31- "cwd" : " ${workspaceRoot}/build"
32- },
33- "group" : {
34- "kind" : " build" ,
35- "isDefault" : true
36- }
37- },
38- {
39- "type" : " shell" ,
40- "label" : " clang-tidy" ,
41- "command" : " clang-tidy" ,
42- "args" : [
43- " --checks=*,-modernize-use-trailing-return-type,-modernize-avoid-c-arrays,-llvm*,-fuchsia-*,-altera-*" ,
44- " -header-filter=./*" ,
45- " examples/elfdump/elfdump.cpp" ,
46- " --" ,
47- " -I." ,
48- ],
49- "options" : {
50- "cwd" : " ${workspaceRoot}"
51- },
52- "group" : {
53- "kind" : " build" ,
54- "isDefault" : true
55- },
56- "problemMatcher" : [
57- " $gcc"
58- ]
59- },
60- {
61- "type" : " shell" ,
62- "label" : " Fuzzer" ,
63- "command" : " clang" ,
64- "args" : [
65- " -g" ,
66- " -O0" ,
67- " -fsanitize=fuzzer,address" ,
68- " -I.." ,
69- " elfio_fuzzer.cpp" ,
70- " -o" ,
71- " elfio_fuzzer" ,
72- ],
73- "options" : {
74- "cwd" : " ${workspaceRoot}/tests"
75- },
76- "group" : {
77- "kind" : " build" ,
78- "isDefault" : true
79- },
80- "problemMatcher" : [
81- " $gcc"
82- ]
83- },
84- {
85- "type" : " shell" ,
86- "label" : " Fuzzer Tests" ,
87- "command" : " ./elfio_fuzzer" ,
88- "args" : [
89- " -jobs=8" ,
90- " corpus"
91- ],
92- "options" : {
93- "cwd" : " ${workspaceRoot}/tests"
94- },
95- "group" : {
96- "kind" : " build" ,
97- "isDefault" : true
98- },
99- "problemMatcher" : [
100- " $gcc"
101- ]
102- }
103- ],
104- "version" : " 2.0.0"
105- }
2+ "tasks" : [
3+ {
4+ "type" : " shell" ,
5+ "label" : " ELFIO Test build" ,
6+ "command" : " make" ,
7+ "args" : [" INCLUDES=-I.." , " CXXFLAGS='-g -O0'" ],
8+ "options" : {
9+ "cwd" : " ${workspaceRoot}/build/tests"
10+ },
11+ "group" : {
12+ "kind" : " build" ,
13+ "isDefault" : true
14+ },
15+ "problemMatcher" : [" $gcc" ]
16+ },
17+ {
18+ "type" : " shell" ,
19+ "label" : " ELF Dump Build" ,
20+ "command" : " make" ,
21+ "args" : [" INCLUDES=-I.." , " CXXFLAGS='-g -O0'" ],
22+ "options" : {
23+ "cwd" : " ${workspaceRoot}/build"
24+ },
25+ "group" : {
26+ "kind" : " build" ,
27+ "isDefault" : true
28+ }
29+ },
30+ {
31+ "type" : " shell" ,
32+ "label" : " clang-tidy" ,
33+ "command" : " clang-tidy" ,
34+ "args" : [
35+ " --checks=*,-modernize-use-trailing-return-type,-modernize-avoid-c-arrays,-llvm*,-fuchsia-*,-altera-*" ,
36+ " -header-filter=./*" ,
37+ " examples/elfdump/elfdump.cpp" ,
38+ " --" ,
39+ " -I."
40+ ],
41+ "options" : {
42+ "cwd" : " ${workspaceRoot}"
43+ },
44+ "group" : {
45+ "kind" : " build" ,
46+ "isDefault" : true
47+ },
48+ "problemMatcher" : [" $gcc" ]
49+ },
50+ {
51+ "type" : " shell" ,
52+ "label" : " Fuzzer" ,
53+ "command" : " clang" ,
54+ "args" : [
55+ " -g" ,
56+ " -O0" ,
57+ " -fsanitize=fuzzer,address" ,
58+ " -I.." ,
59+ " elfio_fuzzer.cpp" ,
60+ " -o" ,
61+ " elfio_fuzzer"
62+ ],
63+ "options" : {
64+ "cwd" : " ${workspaceRoot}/tests"
65+ },
66+ "group" : {
67+ "kind" : " build" ,
68+ "isDefault" : true
69+ },
70+ "problemMatcher" : [" $gcc" ]
71+ },
72+ {
73+ "type" : " shell" ,
74+ "label" : " Fuzzer Tests" ,
75+ "command" : " ./elfio_fuzzer" ,
76+ "args" : [" -jobs=8" , " corpus" ],
77+ "options" : {
78+ "cwd" : " ${workspaceRoot}/tests"
79+ },
80+ "group" : {
81+ "kind" : " build" ,
82+ "isDefault" : true
83+ },
84+ "problemMatcher" : [" $gcc" ]
85+ },
86+ {
87+ "type" : " cmake" ,
88+ "label" : " CMake: clean" ,
89+ "command" : " clean" ,
90+ "problemMatcher" : [],
91+ "detail" : " CMake template clean task"
92+ },
93+ {
94+ "type" : " cmake" ,
95+ "label" : " CMake: clean rebuild" ,
96+ "command" : " cleanRebuild" ,
97+ "targets" : [" ALL_BUILD" ],
98+ "group" : " build" ,
99+ "problemMatcher" : [],
100+ "detail" : " CMake template clean rebuild task"
101+ }
102+ ],
103+ "version" : " 2.0.0"
104+ }
0 commit comments