mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-27 23:17:03 +08:00
GP-1678: Create experimental object-based recorder and opinion
This commit is contained in:
+1
-1
@@ -83,6 +83,6 @@ public abstract class AbstractModelForGdbFrameActivationTest
|
||||
assertFalse(line.contains("\n"));
|
||||
assertTrue(line.startsWith("#"));
|
||||
String frameLevel = line.substring(1).split("\\s+")[0];
|
||||
assertEquals(expected.getPath(), STACK_PATTERN.applyIndices(frameLevel).getSingletonPath());
|
||||
assertEquals(expected.getPath(), STACK_PATTERN.applyKeys(frameLevel).getSingletonPath());
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -74,6 +74,6 @@ public abstract class AbstractModelForGdbInferiorActivationTest
|
||||
.filter(l -> l.trim().startsWith("*"))
|
||||
.collect(Collectors.toList())).trim();
|
||||
String inferiorId = line.split("\\s+")[1];
|
||||
assertEquals(expected.getPath(), INF_PATTERN.applyIndices(inferiorId).getSingletonPath());
|
||||
assertEquals(expected.getPath(), INF_PATTERN.applyKeys(inferiorId).getSingletonPath());
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -87,6 +87,6 @@ public abstract class AbstractModelForGdbThreadActivationTest
|
||||
.collect(Collectors.toList()));
|
||||
String threadGid = line.split("\\s+")[2];
|
||||
assertEquals(expected.getPath(),
|
||||
THREAD_PATTERN.applyIndices(threadGid, threadGid).getSingletonPath());
|
||||
THREAD_PATTERN.applyKeys(threadGid, threadGid).getSingletonPath());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user