mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 09:49:23 +02:00
GP-781 corrected handling of scriptPaths
This commit is contained in:
parent
33bba9e614
commit
438827ddfe
1 changed files with 3 additions and 0 deletions
|
@ -671,6 +671,9 @@ public class HeadlessAnalyzer {
|
||||||
}
|
}
|
||||||
|
|
||||||
private List<String> parseScriptPaths(List<String> scriptPaths) {
|
private List<String> parseScriptPaths(List<String> scriptPaths) {
|
||||||
|
if (scriptPaths == null) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
List<String> parsedScriptPaths = new ArrayList<>();
|
List<String> parsedScriptPaths = new ArrayList<>();
|
||||||
for (String path : scriptPaths) {
|
for (String path : scriptPaths) {
|
||||||
ResourceFile pathFile = Path.fromPathString(path);
|
ResourceFile pathFile = Path.fromPathString(path);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue