mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
GP-3351: Purge TraceFunctionSymbol and related interfaces, impls, tables, etc.
This commit is contained in:
parent
bece81176e
commit
eeaa3486b8
50 changed files with 520 additions and 7068 deletions
|
@ -404,11 +404,6 @@ public class DebuggerListingProvider extends CodeViewerProvider {
|
|||
return !mode.canEdit(current);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isDynamicListing() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getWindowGroup() {
|
||||
//TODO: Overriding this to align disconnected providers
|
||||
|
|
|
@ -102,9 +102,9 @@ public enum DebuggerPcodeUtils {
|
|||
* TODO: This may break things that check for the absence of a symbol
|
||||
*
|
||||
* I don't think it'll affect expressions, but it could later affect user Sleigh
|
||||
* libraries than an expression might like to use. The better approach would be
|
||||
* to incorporate a better error message into the Sleigh compiler, but it won't
|
||||
* always know the use case for a clear message.
|
||||
* libraries than an expression might like to use. The better approach would be to
|
||||
* incorporate a better error message into the Sleigh compiler, but it won't always
|
||||
* know the use case for a clear message.
|
||||
*/
|
||||
throw new SleighException("Unknown register or label: '" + nm + "'");
|
||||
}
|
||||
|
@ -114,9 +114,7 @@ public enum DebuggerPcodeUtils {
|
|||
protected SleighSymbol findUserSymbol(String nm) {
|
||||
Trace trace = coordinates.getTrace();
|
||||
long snap = coordinates.getSnap();
|
||||
for (TraceSymbol symbol : trace.getSymbolManager()
|
||||
.labelsAndFunctions()
|
||||
.getNamed(nm)) {
|
||||
for (TraceSymbol symbol : trace.getSymbolManager().labels().getNamed(nm)) {
|
||||
if (symbol instanceof TraceSymbolWithLifespan lifeSym &&
|
||||
!lifeSym.getLifespan().contains(snap)) {
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue