mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
Merge remote-tracking branch 'origin/Ghidra_10.2'
This commit is contained in:
commit
be36528218
21 changed files with 283 additions and 274 deletions
|
@ -19,6 +19,8 @@ import java.io.IOException;
|
|||
import java.util.*;
|
||||
import java.util.function.Predicate;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
import db.*;
|
||||
import generic.FilteredIterator;
|
||||
import ghidra.program.database.DBObjectCache;
|
||||
|
@ -356,7 +358,7 @@ public class FunctionManagerDB implements FunctionManager {
|
|||
throw new OverlappingFunctionException(entryPoint);
|
||||
}
|
||||
|
||||
if (name == null || name.length() == 0 ||
|
||||
if (StringUtils.isBlank(name) ||
|
||||
SymbolUtilities.isReservedDynamicLabelName(name, program.getAddressFactory())) {
|
||||
source = SourceType.DEFAULT;
|
||||
name = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue