ELFIO/.vscode/tasks.json

105 lines
2.7 KiB
JSON
Raw Normal View History

2020-02-22 09:29:45 +00:00
{
"tasks": [
{
"type": "shell",
"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
},
"problemMatcher": [
"$gcc"
]
},
{
"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"
},
"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"
]
},
{
"type": "shell",
"label": "Fuzzer",
"command": "clang",
"args": [
"-g",
"-O0",
"-fsanitize=fuzzer,address",
"-I..",
"elfio_fuzzer.cpp",
"-o",
"elfio_fuzzer",
],
"options": {
"cwd": "${workspaceRoot}/tests"
},
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [
"$gcc"
]
},
{
"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"
}