2020-02-22 09:29:45 +00:00
|
|
|
{
|
|
|
|
"tasks": [
|
|
|
|
{
|
|
|
|
"type": "shell",
|
2020-05-29 12:26:43 +00:00
|
|
|
"label": "ELFIO Test build",
|
2020-02-22 09:29:45 +00:00
|
|
|
"command": "make",
|
|
|
|
"args": [
|
|
|
|
"INCLUDES=-I..",
|
|
|
|
"CXXFLAGS='-g -O0'"
|
|
|
|
],
|
|
|
|
"options": {
|
2022-02-12 16:59:36 +00:00
|
|
|
"cwd": "${workspaceRoot}/build/tests"
|
2020-02-22 09:29:45 +00:00
|
|
|
},
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
2020-08-18 19:57:45 +00:00
|
|
|
},
|
|
|
|
"problemMatcher": [
|
|
|
|
"$gcc"
|
|
|
|
]
|
2020-05-29 12:26:43 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "shell",
|
|
|
|
"label": "ELF Dump Build",
|
|
|
|
"command": "make",
|
|
|
|
"args": [
|
|
|
|
"INCLUDES=-I..",
|
|
|
|
"CXXFLAGS='-g -O0'"
|
|
|
|
],
|
|
|
|
"options": {
|
2021-11-08 13:32:14 +00:00
|
|
|
"cwd": "${workspaceRoot}/build"
|
2020-05-29 12:26:43 +00:00
|
|
|
},
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
2021-09-14 15:35:54 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "shell",
|
|
|
|
"label": "clang-tidy",
|
|
|
|
"command": "clang-tidy",
|
|
|
|
"args": [
|
2022-02-12 16:59:36 +00:00
|
|
|
"--checks=*,-modernize-use-trailing-return-type,-modernize-avoid-c-arrays,-llvm*,-fuchsia-*,-altera-*",
|
2021-09-14 15:35:54 +00:00
|
|
|
"-header-filter=./*",
|
|
|
|
"examples/elfdump/elfdump.cpp",
|
|
|
|
"--",
|
|
|
|
"-I.",
|
|
|
|
],
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceRoot}"
|
|
|
|
},
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"problemMatcher": [
|
|
|
|
"$gcc"
|
|
|
|
]
|
2022-06-18 19:47:37 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "shell",
|
|
|
|
"label": "Fuzzer",
|
|
|
|
"command": "clang",
|
|
|
|
"args": [
|
|
|
|
"-g",
|
|
|
|
"-O0",
|
2022-06-19 14:37:22 +00:00
|
|
|
"-fsanitize=fuzzer,address",
|
2022-06-18 19:47:37 +00:00
|
|
|
"-I..",
|
|
|
|
"elfio_fuzzer.cpp",
|
|
|
|
"-o",
|
|
|
|
"elfio_fuzzer",
|
|
|
|
],
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceRoot}/tests"
|
|
|
|
},
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"problemMatcher": [
|
|
|
|
"$gcc"
|
|
|
|
]
|
2022-06-19 14:37:22 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "shell",
|
|
|
|
"label": "Fuzzer Tests",
|
|
|
|
"command": "./elfio_fuzzer",
|
|
|
|
"args": [
|
|
|
|
"-jobs=8",
|
|
|
|
"corpus"
|
|
|
|
],
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceRoot}/tests"
|
|
|
|
},
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"problemMatcher": [
|
|
|
|
"$gcc"
|
|
|
|
]
|
2020-02-22 09:29:45 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"version": "2.0.0"
|
|
|
|
}
|