mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-10-01 17:11:44 -09:00
GP-7172: Pass -- to native swift demangler to indicate end of flags
This commit is contained in:
@@ -144,6 +144,7 @@ public class SwiftNativeDemangler {
|
||||
command.add("demangle");
|
||||
}
|
||||
command.addAll(options);
|
||||
command.add("--"); // indicate end of flags
|
||||
command.add(mangled);
|
||||
Process p = new ProcessBuilder(command).redirectErrorStream(true).start();
|
||||
return new BufferedReader(new InputStreamReader(p.getInputStream()));
|
||||
|
||||
Reference in New Issue
Block a user