Vector35 / binaryninja-api

Public API, examples, documentation and issues for Binary Ninja
https://binary.ninja/
MIT License
927 stars 209 forks source link

Result of `Display as` -> `Enum Member` gets 'stuck' after renaming enum members #4486

Closed alexrp closed 1 year ago

alexrp commented 1 year ago

Version and Platform (required):

Bug Description: When using Display as -> Enum Member on some lines and later renaming the enum members, the lines that had their display changed get 'stuck' - they continue to use the old names, and BN just completely refuses to change their display to anything else, too.

Steps To Reproduce:

  1. Grab this BNDB.
  2. Navigate to 0x7ff69bb40c08.

Expected Behavior: The enum member references should update with renames, and also not get 'stuck'.

Screenshots: image image

plafosse commented 1 year ago

Yes this is an annoying bug you have to re-analyze the function an that should fix it I believe. I think this is a duplicate of https://github.com/Vector35/binaryninja-api/issues/4341

alexrp commented 1 year ago

Reanalyzing the function unfortunately does not seem to resolve it.