mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
GT-2966: SymbolType is missing a LABEL static field (closes #712).
This commit is contained in:
parent
c435688974
commit
c2c9ac21c0
59 changed files with 149 additions and 145 deletions
|
@ -40,7 +40,7 @@ public class MakeFuncsAtLabelsScript extends GhidraScript {
|
|||
Listing listing = prog.getListing();
|
||||
for (Symbol symbol : textLabels) {
|
||||
if (symbol.getSource() == SourceType.IMPORTED &&
|
||||
(symbol.getSymbolType() == SymbolType.CODE)) {
|
||||
(symbol.getSymbolType() == SymbolType.LABEL)) {
|
||||
if (!this.isRunningHeadless()) {
|
||||
printf("%s %s", symbol.getAddress().toString(), symbol.toString());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue