mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-28 07:46:14 +08:00
Fixing several debugger-related tests
This commit is contained in:
+4
-1
@@ -558,7 +558,10 @@ public class DBCachedObjectStoreFactory {
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public static <T extends DBAnnotatedObject> TableInfo<T> getInfo(Class<T> cls) {
|
||||
return (TableInfo<T>) INFO_MAP.computeIfAbsent(cls, DBCachedObjectStoreFactory::buildInfo);
|
||||
synchronized (INFO_MAP) {
|
||||
return (TableInfo<T>) INFO_MAP.computeIfAbsent(cls,
|
||||
DBCachedObjectStoreFactory::buildInfo);
|
||||
}
|
||||
}
|
||||
|
||||
static <OT extends DBAnnotatedObject> List<DBFieldCodec<?, OT, ?>> getCodecs(
|
||||
|
||||
+2
-2
@@ -247,7 +247,7 @@ public abstract class AbstractConstraintsTree< //
|
||||
data.sort(Comparator.comparing(DR::getBounds, query.getBoundsComparator()));
|
||||
}
|
||||
for (DR d : data) {
|
||||
if (query != null && query.terminateEarlyData(d.getShape())) {
|
||||
if (query != null && ordered && query.terminateEarlyData(d.getShape())) {
|
||||
break;
|
||||
}
|
||||
boolean included = query == null || query.testData(d.getShape());
|
||||
@@ -268,7 +268,7 @@ public abstract class AbstractConstraintsTree< //
|
||||
nodes.sort(Comparator.comparing(NR::getBounds, query.getBoundsComparator()));
|
||||
}
|
||||
for (NR n : nodes) {
|
||||
if (query != null && query.terminateEarlyNode(n.getShape())) {
|
||||
if (query != null && ordered && query.terminateEarlyNode(n.getShape())) {
|
||||
break;
|
||||
}
|
||||
r = visit(node, n, query, visitor, ordered);
|
||||
|
||||
Reference in New Issue
Block a user