Package ghidra.trace.model.symbol
Interface TraceLabelSymbolView
- All Superinterfaces:
TraceSymbolView<TraceLabelSymbol>,TraceSymbolWithLocationView<TraceLabelSymbol>
- All Known Implementing Classes:
DBTraceLabelSymbolView
The label symbol view.
-
Method Summary
Modifier and TypeMethodDescriptiondefault TraceLabelSymboladd(TracePlatform platform, Lifespan lifespan, TraceThread thread, Register register, String name, TraceNamespaceSymbol parent, SourceType source) Add a new label symbol on a register for the given threadadd(Lifespan lifespan, Address address, String name, TraceNamespaceSymbol parent, SourceType source) Add a new label symbol.default TraceLabelSymboladd(Lifespan lifespan, TraceThread thread, Register register, String name, TraceNamespaceSymbol parent, SourceType source) Add new new label symbol on a register for the given threaddefault TraceLabelSymbolcreate(long snap, Address address, String name, TraceNamespaceSymbol parent, SourceType source) A shorthand foradd(Lifespan, Address, String, TraceNamespaceSymbol, SourceType)where lifespan is from the given snap on.default TraceLabelSymbolcreate(long snap, TraceThread thread, Register register, String name, TraceNamespaceSymbol parent, SourceType source) A shorthand foradd(Lifespan, TraceThread, Register, String, TraceNamespaceSymbol, SourceType)where lifespan is from the given snap on.default TraceLabelSymbolcreate(TracePlatform platform, long snap, TraceThread thread, Register register, String name, TraceNamespaceSymbol parent, SourceType source) A shorthand foradd(TracePlatform, Lifespan, TraceThread, Register, String, TraceNamespaceSymbol, SourceType)where lifespan is from the given snap on.Methods inherited from interface ghidra.trace.model.symbol.TraceSymbolView
getAll, getChildren, getChildrenNamed, getGlobals, getGlobalsNamed, getManager, getNamed, getTrace, getWithMatchingName, scanByName, sizeMethods inherited from interface ghidra.trace.model.symbol.TraceSymbolWithLocationView
getAt, getAt, getAt, getChildWithNameAt, getChildWithNameAt, getChildWithNameAt, getGlobalWithNameAt, getIntersecting, getIntersecting, getIntersecting, hasAt
-
Method Details
-
add
TraceLabelSymbol add(Lifespan lifespan, Address address, String name, TraceNamespaceSymbol parent, SourceType source) throws InvalidInputException Add a new label symbol.- Parameters:
lifespan- the lifespan of the symboladdress- the address of the labelname- the name of the labelparent- the parent namespacesource- the source- Returns:
- the new label symbol
- Throws:
InvalidInputException- if the name is not valid
-
create
default TraceLabelSymbol create(long snap, Address address, String name, TraceNamespaceSymbol parent, SourceType source) throws InvalidInputException A shorthand foradd(Lifespan, Address, String, TraceNamespaceSymbol, SourceType)where lifespan is from the given snap on.- Parameters:
snap- the starting snapshot key of the symboladdress- the address of the labelname- the name of the labelparent- the parent namespacesource- the source- Returns:
- the new label symbol
- Throws:
InvalidInputException- if the name is not valid
-
add
default TraceLabelSymbol add(TracePlatform platform, Lifespan lifespan, TraceThread thread, Register register, String name, TraceNamespaceSymbol parent, SourceType source) throws InvalidInputException Add a new label symbol on a register for the given thread- Parameters:
platform- the platform defining the registerlifespan- the lifespan of the symbolthread- the threadregister- the registername- the name of the labelparent- the parent namespacesource- the source- Returns:
- the new label symbol
- Throws:
InvalidInputException- if the name is not valid
-
add
default TraceLabelSymbol add(Lifespan lifespan, TraceThread thread, Register register, String name, TraceNamespaceSymbol parent, SourceType source) throws InvalidInputException Add new new label symbol on a register for the given thread- Parameters:
lifespan- the lifespan of the symbolthread- the threadregister- the registername- the name of the labelparent- the parent namespacesource- the source- Returns:
- the new label symbol
- Throws:
InvalidInputException- if the name is not valid
-
create
default TraceLabelSymbol create(long snap, TraceThread thread, Register register, String name, TraceNamespaceSymbol parent, SourceType source) throws InvalidInputException A shorthand foradd(Lifespan, TraceThread, Register, String, TraceNamespaceSymbol, SourceType)where lifespan is from the given snap on.- Parameters:
snap- the starting snapshot key of the symbolthread- the threadregister- the registername- the name of the labelparent- the parent namespacesource- the source- Returns:
- the new label symbol
- Throws:
InvalidInputException- if the name is not valid
-
create
default TraceLabelSymbol create(TracePlatform platform, long snap, TraceThread thread, Register register, String name, TraceNamespaceSymbol parent, SourceType source) throws InvalidInputException A shorthand foradd(TracePlatform, Lifespan, TraceThread, Register, String, TraceNamespaceSymbol, SourceType)where lifespan is from the given snap on.- Parameters:
platform- the platform defining the registersnap- the starting snapshot key of the symbolthread- the threadregister- the registername- the name of the labelparent- the parent namespacesource- the source- Returns:
- the new label symbol
- Throws:
InvalidInputException- if the name is not valid
-