mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-07-30 07:18:37 -09:00
Merge remote-tracking branch 'origin/Ghidra_12.1'
This commit is contained in:
@@ -37,7 +37,7 @@ model {
|
|||||||
all {
|
all {
|
||||||
def binutilsArtifactsDir = file("build/binutils/${targetPlatform.name}")
|
def binutilsArtifactsDir = file("build/binutils/${targetPlatform.name}")
|
||||||
if ((toolChain in Gcc) || (toolChain in Clang)) {
|
if ((toolChain in Gcc) || (toolChain in Clang)) {
|
||||||
cCompiler.args "-I${binutilsArtifactsDir}/include", "-I${binutilsArtifactsDir}/bfd", "-I${binutilsArtifactsDir}/libsframe"
|
cCompiler.args "-I${binutilsArtifactsDir}/include", "-I${binutilsArtifactsDir}/bfd", "-I${binutilsArtifactsDir}/libsframe", "-std=gnu17"
|
||||||
linker.args "-L${binutilsArtifactsDir}/lib", "-lopcodes", "-lbfd", "-lsframe", "-liberty", "-lz", "-ldl"
|
linker.args "-L${binutilsArtifactsDir}/lib", "-lopcodes", "-lbfd", "-lsframe", "-liberty", "-lz", "-ldl"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ public class LaunchSupport {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
System.err.println(e.getMessage());
|
e.printStackTrace(System.err);
|
||||||
}
|
}
|
||||||
|
|
||||||
System.exit(exitCode);
|
System.exit(exitCode);
|
||||||
|
|||||||
@@ -220,7 +220,7 @@ public class LaunchProperties {
|
|||||||
String key = entry.getKey();
|
String key = entry.getKey();
|
||||||
String value = entry.getValue();
|
String value = entry.getValue();
|
||||||
try {
|
try {
|
||||||
text = text.replaceAll("\\$\\{" + key + "\\}", value.replace("\\", "\\\\"));
|
text = text.replace("${" + key + "}", value);
|
||||||
}
|
}
|
||||||
catch (IllegalArgumentException e) {
|
catch (IllegalArgumentException e) {
|
||||||
String msg =
|
String msg =
|
||||||
|
|||||||
Reference in New Issue
Block a user