mirror of
https://github.com/serge1/ELFIO.git
synced 2024-11-19 11:14:46 +00:00
109 lines
3.7 KiB
JSON
109 lines
3.7 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Run ELFIO Tests",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/tests/ELFIOTest",
|
|
"args": [
|
|
//"--gtest_filter=ELFIOTest.load32",
|
|
],
|
|
"stopAtEntry": false,
|
|
"cwd": "${workspaceFolder}/build/tests",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
}
|
|
],
|
|
//"preLaunchTask": "ELFIO Test build",
|
|
"miDebuggerPath": "/usr/bin/gdb"
|
|
},
|
|
{
|
|
"name": "Run ELF Dump",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/examples/elfdump/elfdump",
|
|
"args": [
|
|
"build/tests/crash-de896e9e31bf6f4c540e7462ccc0440018e4f0de"
|
|
],
|
|
"stopAtEntry": false,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
}
|
|
],
|
|
"preLaunchTask": "ELF Dump Build",
|
|
"miDebuggerPath": "/usr/bin/gdb"
|
|
},
|
|
{
|
|
"name": "Run proc_mem",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/examples/proc_mem/proc_mem",
|
|
"args": [
|
|
"11706",
|
|
"/usr/bin/bash"
|
|
],
|
|
"stopAtEntry": false,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
}
|
|
],
|
|
"miDebuggerPath": "/home/user/ELFIO/examples/sudo_gdb.sh"
|
|
},
|
|
{
|
|
"name": "Run dump for /proc/kcore",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/examples/elfdump/elfdump",
|
|
"args": [
|
|
"/proc/kcore"
|
|
],
|
|
"stopAtEntry": false,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
}
|
|
],
|
|
"miDebuggerPath": "/home/user/ELFIO/examples/sudo_gdb.sh"
|
|
},
|
|
{
|
|
"name": "Fuzzer",
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/tests/elfio_fuzzer",
|
|
"args": [
|
|
"crash-7143f5e49745dc6ce8909e642f9351d9d6496020"
|
|
],
|
|
"cwd": "${workspaceFolder}/build/tests",
|
|
}
|
|
]
|
|
} |