This repository has been archived by the owner on Sep 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tasks.json
51 lines (50 loc) · 1.6 KB
/
tasks.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Run Current Python Script in Ghidra Jython",
"type": "shell",
"command": "${config:GHIDRA_INSTALL_DIR}${config:HEADLESS}",
"args": [
"${config:PROJECT_PATH}",
"${config:PROJECT_NAME}",
"-postscript",
"${file}"
],
"problemMatcher": [],
},
{
"label": "Setup",
"type": "shell",
"problemMatcher": [],
"dependsOn": [ "Create Ghidra Project Directory", "Import Binary" ]
},
{
"label": "Create Ghidra Project Directory",
"type": "shell",
"command": "mkdir",
"args": [
"-Force",
"-p",
"${config:PROJECT_PATH}",
],
"problemMatcher": [],
"console": "integratedTerminal",
},
{
"label": "Import Binary",
"type": "shell",
"command": "${config:GHIDRA_INSTALL_DIR}${config:HEADLESS}",
"args": [
"${config:PROJECT_PATH}",
"${config:PROJECT_NAME}",
"-import",
"${config:BINARY}",
"-overwrite",
],
"problemMatcher": [],
},
],
}