• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
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}