binaryninja-api icon indicating copy to clipboard operation
binaryninja-api copied to clipboard

"Display as" on integer data variables shows address in preview instead of value

Open negasora opened this issue 1 year ago • 1 comments

To repro:

  1. Create a new file
  2. Input 1234 in Hex view
  3. Switch to linear view
  4. Press 2 to create an int16_t
  5. Right click on data_0 and hover over Display as
  6. Notice all previews show 0 instead of the value of the data var

negasora avatar Oct 14 '24 15:10 negasora

I can reproduce this. This only happens when you select the token for the data variable itself. If you select the value token it works. Probably just a luck of judgement of selected token

xusheng6 avatar Oct 15 '24 14:10 xusheng6