mirror of
https://github.com/serge1/ELFIO.git
synced 2024-11-02 02:26:47 +00:00
105 lines
2.7 KiB
JSON
105 lines
2.7 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"
|
|
]
|
|
}
|
|
],
|
|
"version": "2.0.0"
|
|
} |