mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GP-1994 refined datatype search and add ability to specify a program's
preferred root-namespace category node
This commit is contained in:
parent
4b600847eb
commit
d7fc209657
12 changed files with 734 additions and 179 deletions
|
@ -46,7 +46,8 @@ import ghidra.program.util.ChangeManager;
|
|||
import ghidra.program.util.ProgramChangeRecord;
|
||||
import ghidra.trace.database.DBTrace;
|
||||
import ghidra.trace.database.listing.*;
|
||||
import ghidra.trace.database.memory.*;
|
||||
import ghidra.trace.database.memory.DBTraceMemoryRegisterSpace;
|
||||
import ghidra.trace.database.memory.DBTraceMemorySpace;
|
||||
import ghidra.trace.database.symbol.DBTraceFunctionSymbolView;
|
||||
import ghidra.trace.model.Trace.*;
|
||||
import ghidra.trace.model.TraceAddressSnapRange;
|
||||
|
@ -1071,6 +1072,18 @@ public class DBTraceProgramView implements TraceProgramView {
|
|||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public CategoryPath getPreferredRootNamespaceCategoryPath() {
|
||||
// TODO: not yet implemented
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setPreferredRootNamespaceCategoryPath(String categoryPath) {
|
||||
// TODO: not yet implemented
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getExecutablePath() {
|
||||
return trace.getExecutablePath();
|
||||
|
|
|
@ -26,6 +26,7 @@ import ghidra.framework.store.LockException;
|
|||
import ghidra.program.database.IntRangeMap;
|
||||
import ghidra.program.database.map.AddressMap;
|
||||
import ghidra.program.model.address.*;
|
||||
import ghidra.program.model.data.CategoryPath;
|
||||
import ghidra.program.model.lang.*;
|
||||
import ghidra.program.model.listing.*;
|
||||
import ghidra.program.model.pcode.Varnode;
|
||||
|
@ -141,6 +142,16 @@ public class DBTraceProgramViewRegisters implements TraceProgramView {
|
|||
view.setCompiler(compiler);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CategoryPath getPreferredRootNamespaceCategoryPath() {
|
||||
return view.getPreferredRootNamespaceCategoryPath();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setPreferredRootNamespaceCategoryPath(String categoryPath) {
|
||||
view.setPreferredRootNamespaceCategoryPath(categoryPath);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getExecutablePath() {
|
||||
return view.getExecutablePath();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue