GT-2966: SymbolType is missing a LABEL static field (closes #712).

This commit is contained in:
Ryan Kurtz 2019-07-02 10:25:34 -04:00
parent c435688974
commit c2c9ac21c0
59 changed files with 149 additions and 145 deletions

View file

@ -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());
}