mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-27 18:15:34 +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();
|
Memory memory = program.getMemory();
|
||||||
AddressSetView validMemorySet = memory.getLoadedAndInitializedAddressSet();
|
AddressSetView validMemorySet = memory.getLoadedAndInitializedAddressSet();
|
||||||
if (validMemorySet.isEmpty()) {
|
|
||||||
return false; // valid addresses to search
|
|
||||||
}
|
|
||||||
AddressSetView searchSet = set.intersect(validMemorySet);
|
AddressSetView searchSet = set.intersect(validMemorySet);
|
||||||
|
if (searchSet.isEmpty()) {
|
||||||
|
return false; // no valid addresses to search
|
||||||
|
}
|
||||||
|
|
||||||
MemoryBytePatternSearcher searcher = new MemoryBytePatternSearcher("Embedded Media");
|
MemoryBytePatternSearcher searcher = new MemoryBytePatternSearcher("Embedded Media");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user