diff options
author | David Timber <mieabby@gmail.com> | 2020-09-03 11:38:09 +0930 |
---|---|---|
committer | David Timber <mieabby@gmail.com> | 2020-09-03 11:38:09 +0930 |
commit | e81c2636cee72af718e99fd98006fa9277de2a65 (patch) | |
tree | dffb8cb9b8d9f4eb55a55fedc5d63c8a0ef6c4a3 /.vscode | |
parent | f4f959f7842cd9b28500fcd7f506493606376db5 (diff) |
* Impl: CNCP
* [htbt] Use randomly generated number for SOLICIT request
* Die on pth sync funcs only if debug build
* Fix wrong use of pth_mutex_acquire(): use with event can result in failure
* [htbt] Take "blackhole" fd as param
* Remove unused include to reduce compile time
* [htbt] Add const macro values for random msg_id gen
* [resolv] Make prne_resolv_prm_t reusable
* [resolv] Fix mem leak in proone-resolv
* [resolv] Sanity check before returning prm so
users don't have to worry about SEGFAULT
* Add txtrec-*.sh for CNCP
Diffstat (limited to '.vscode')
-rw-r--r-- | .vscode/launch.json | 24 | ||||
-rw-r--r-- | .vscode/tasks.json | 5 |
2 files changed, 27 insertions, 2 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json index d3bf892..b80310d 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -9,7 +9,7 @@ "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/src/proone-htbthost", - "args": ["test", "--no-verify"], + "args": [ "test", "--no-verify" ], "stopAtEntry": false, "cwd": "${workspaceFolder}", "environment": [], @@ -20,10 +20,30 @@ "description": "Follow parent fork", "text": "set follow-fork-mode parent", "ignoreFailures": false + }, + { + "description": "Ignore SIGPIPE", + "text": "handle SIGPIPE nostop print", + "ignoreFailures": false } ], "preLaunchTask": "Build htbthost", "miDebuggerPath": "/usr/bin/gdb" + }, + { + "name": "resolv", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/src/proone-resolv", + "args": [], + "stopAtEntry": false, + "cwd": "${workspaceFolder}", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "setupCommands": [], + "preLaunchTask": "Build resolv", + "miDebuggerPath": "/usr/bin/gdb" } ] -}
\ No newline at end of file +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json index b0142ea..00c792a 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -29,6 +29,11 @@ "label": "Build htbthost", "type": "shell", "command": "make -C ./src proone-htbthost" + }, + { + "label": "Build resolv", + "type": "shell", + "command": "make -C ./src proone-resolv" } ] } |