mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-24 01:16:22 +08:00
GT-3354: Removing some Guava
This commit is contained in:
@@ -26,8 +26,6 @@
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import com.google.common.collect.Iterators;
|
||||
|
||||
import ghidra.app.decompiler.*;
|
||||
import ghidra.app.decompiler.parallel.*;
|
||||
import ghidra.app.script.GhidraScript;
|
||||
@@ -71,7 +69,7 @@ public class FindPotentialDecompilerProblems extends GhidraScript {
|
||||
|
||||
Set<Function> funcsToDecompile = new HashSet<>();
|
||||
FunctionIterator fIter = currentProgram.getFunctionManager().getFunctionsNoStubs(true);
|
||||
Iterators.addAll(funcsToDecompile, fIter);
|
||||
fIter.forEach(e -> funcsToDecompile.add(e));
|
||||
|
||||
if (funcsToDecompile.isEmpty()) {
|
||||
popup("No functions to decompile!");
|
||||
|
||||
Reference in New Issue
Block a user