mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02: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 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue