mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 09:49:23 +02:00
Test fixes
This commit is contained in:
parent
23b75ec040
commit
cd93bb4abb
2 changed files with 7 additions and 2 deletions
|
@ -195,6 +195,10 @@ public class TreeManager implements ManagerDB {
|
||||||
*/
|
*/
|
||||||
public String[] getTreeNames() {
|
public String[] getTreeNames() {
|
||||||
String[] names = new String[treeMap.size()];
|
String[] names = new String[treeMap.size()];
|
||||||
|
if (names.length == 0) {
|
||||||
|
return names;
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
RecordIterator iter = treeAdapter.getRecords();
|
RecordIterator iter = treeAdapter.getRecords();
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,7 @@ public class StubSymbol implements Symbol {
|
||||||
|
|
||||||
public StubSymbol(String name) {
|
public StubSymbol(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
|
id = nextId++;
|
||||||
}
|
}
|
||||||
|
|
||||||
public StubSymbol(String name, Address address) {
|
public StubSymbol(String name, Address address) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue