mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-23 13:16:48 +08:00
GT-3341_emteere_RTTIPerformance minor code review change
This commit is contained in:
+3
-3
@@ -57,10 +57,10 @@ public class EmbeddedMediaAnalyzer extends AbstractAnalyzer {
|
||||
|
||||
Memory memory = program.getMemory();
|
||||
AddressSetView validMemorySet = memory.getLoadedAndInitializedAddressSet();
|
||||
if (validMemorySet.isEmpty()) {
|
||||
return false; // valid addresses to search
|
||||
}
|
||||
AddressSetView searchSet = set.intersect(validMemorySet);
|
||||
if (searchSet.isEmpty()) {
|
||||
return false; // no valid addresses to search
|
||||
}
|
||||
|
||||
MemoryBytePatternSearcher searcher = new MemoryBytePatternSearcher("Embedded Media");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user