mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-12-04 18:13:11 +00:00
GT-0_emteere bugfix - performance issue for function start patterns post
function existence check
This commit is contained in:
parent
7188df41ed
commit
74284a2820
@ -1,6 +1,5 @@
|
||||
/* ###
|
||||
* IP: GHIDRA
|
||||
* REVIEWED: YES
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (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();
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user