Ghidra: SymbolType is missing a LABEL static field

Created on 21 Jun 2019  路  4Comments  路  Source: NationalSecurityAgency/ghidra

There is no SymbolType.LABEL which seems expected considering there are SymbolType.FUNCTION et al.

Environment:

  • OS: macOS 10.14.5
  • Java Version: 12.0.1
  • Ghidra Version: 9.0.4
Bug

Most helpful comment

Well, it's definitely counterintuitive that the "Label" symbol type constant is called CODE while all the other ones match pretty closely. Is there a reason why it shouldn't change to LABEL or the description change to "Code"?

All 4 comments

@rgov can I close this out?

Well, it's definitely counterintuitive that the "Label" symbol type constant is called CODE while all the other ones match pretty closely. Is there a reason why it shouldn't change to LABEL or the description change to "Code"?

It looks like we recently renamed the name to "Label" but didn't fix up the name of the variable, probably for backwards compatibility purposes. We should rename it to LABEL, and deprecate CODE, removing it in a few releases so we don't break anything.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chibicitiberiu picture chibicitiberiu  路  3Comments

rrivera1849 picture rrivera1849  路  3Comments

tambry picture tambry  路  3Comments

Barakat picture Barakat  路  3Comments

huettenhain picture huettenhain  路  3Comments