105 lines
2.3 KiB
JSON
105 lines
2.3 KiB
JSON
{
|
|
"tasks": [
|
|
{
|
|
"type": "shell",
|
|
"label": "ELFIO Test build",
|
|
"command": "make",
|
|
"args": ["INCLUDES=-I..", "CXXFLAGS='-g -O0'"],
|
|
"options": {
|
|
"cwd": "${workspaceRoot}/build/tests"
|
|
},
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": ["$gcc"]
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "ELF Dump Build",
|
|
"command": "make",
|
|
"args": ["INCLUDES=-I..", "CXXFLAGS='-g -O0'"],
|
|
"options": {
|
|
"cwd": "${workspaceRoot}/build"
|
|
},
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "clang-tidy",
|
|
"command": "clang-tidy",
|
|
"args": [
|
|
"--checks=*,-modernize-use-trailing-return-type,-modernize-avoid-c-arrays,-llvm*,-fuchsia-*,-altera-*",
|
|
"-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"]
|
|
},
|
|
{
|
|
"type": "cmake",
|
|
"label": "CMake: clean",
|
|
"command": "clean",
|
|
"problemMatcher": [],
|
|
"detail": "CMake template clean task"
|
|
},
|
|
{
|
|
"type": "cmake",
|
|
"label": "CMake: clean rebuild",
|
|
"command": "cleanRebuild",
|
|
"targets": ["ALL_BUILD"],
|
|
"group": "build",
|
|
"problemMatcher": [],
|
|
"detail": "CMake template clean rebuild task"
|
|
}
|
|
],
|
|
"version": "2.0.0"
|
|
}
|