mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-04-25 17:25:17 +02:00
Merge remote-tracking branch 'origin/Ghidra_12.1'
This commit is contained in:
@@ -37,7 +37,7 @@ model {
|
||||
all {
|
||||
def binutilsArtifactsDir = file("build/binutils/${targetPlatform.name}")
|
||||
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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -124,7 +124,7 @@ public class LaunchSupport {
|
||||
}
|
||||
}
|
||||
catch (Exception e) {
|
||||
System.err.println(e.getMessage());
|
||||
e.printStackTrace(System.err);
|
||||
}
|
||||
|
||||
System.exit(exitCode);
|
||||
|
||||
@@ -220,7 +220,7 @@ public class LaunchProperties {
|
||||
String key = entry.getKey();
|
||||
String value = entry.getValue();
|
||||
try {
|
||||
text = text.replaceAll("\\$\\{" + key + "\\}", value.replace("\\", "\\\\"));
|
||||
text = text.replace("${" + key + "}", value);
|
||||
}
|
||||
catch (IllegalArgumentException e) {
|
||||
String msg =
|
||||
|
||||
Reference in New Issue
Block a user