mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-27 13:31:32 +08:00
GT-0_emteere bugfix - performance issue for function start patterns post
function existence check
This commit is contained in:
+5
-1
@@ -1,6 +1,5 @@
|
|||||||
/* ###
|
/* ###
|
||||||
* IP: GHIDRA
|
* IP: GHIDRA
|
||||||
* REVIEWED: YES
|
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@@ -45,6 +44,11 @@ public class FunctionStartFuncAnalyzer extends FunctionStartAnalyzer {
|
|||||||
getOrCreatePotentialMatchPropertyMap(program).getAddressSet();
|
getOrCreatePotentialMatchPropertyMap(program).getAddressSet();
|
||||||
set = set.intersect(potentialPreMatches);
|
set = set.intersect(potentialPreMatches);
|
||||||
|
|
||||||
|
// no previous no-function existing pre-requisites to check
|
||||||
|
if (set.isEmpty()) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
return super.added(program, set, monitor, log);
|
return super.added(program, set, monitor, log);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user