56 lines
1.4 KiB
JSON
56 lines
1.4 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "java",
|
|
"name": "Ghidra",
|
|
"request": "launch",
|
|
"mainClass": "ghidra.Ghidra",
|
|
"args": "ghidra.GhidraRun",
|
|
"classPaths": [
|
|
"/opt/ghidra/Ghidra/Framework/Utility/lib/Utility.jar"
|
|
],
|
|
"vmArgs": [
|
|
"-Dghidra.external.modules=${workspaceFolder}",
|
|
"-Djava.system.class.loader=ghidra.GhidraClassLoader",
|
|
"-Dfile.encoding=UTF8",
|
|
"-Duser.country=US",
|
|
"-Duser.language=en",
|
|
"-Duser.variant=",
|
|
"-Dsun.java2d.opengl=false",
|
|
"-Djdk.tls.client.protocols=TLSv1.2,TLSv1.3",
|
|
"-Dcpu.core.limit=",
|
|
"-Dcpu.core.override=",
|
|
"-Dfont.size.override=",
|
|
"-Dpython.console.encoding=UTF-8",
|
|
"-Xshare:off",
|
|
"-Dsun.java2d.pmoffscreen=false",
|
|
"-Dsun.java2d.xrender=true",
|
|
"-Dsun.java2d.uiScale=1",
|
|
"-Dawt.useSystemAAFontSettings=on"
|
|
]
|
|
},
|
|
{
|
|
"type": "debugpy",
|
|
"name": "PyGhidra",
|
|
"request": "launch",
|
|
"module": "pyghidra.ghidra_launch",
|
|
"args": [
|
|
"--install-dir",
|
|
"/opt/ghidra",
|
|
"-g",
|
|
"ghidra.GhidraRun"
|
|
],
|
|
"env": {
|
|
"PYGHIDRA_DEBUG": "1"
|
|
}
|
|
},
|
|
{
|
|
"type": "java",
|
|
"name": "Ghidra Attach",
|
|
"request": "attach",
|
|
"hostName": "localhost",
|
|
"port": 18001
|
|
}
|
|
]
|
|
} |