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

HLIL shouldn't propagate string constants from read/write data

Open whitequark opened this issue 1 year ago • 1 comments

Version and Platform (required):

  • Binary Ninja Version: 4.1.5261-dev Personal (859dedd4)

Bug Description: HLIL will sometimes replace a writable data variable that contains a string with the value of the string.

Steps To Reproduce: I believe this is enough:

image image

Expected Behavior: HLIL displays the assignment as data_1800b6088[0] = 0 or something.

HLIL displays the read (rcx_1 = ...) as rcx_1 = *data_1800b6088 or something.

whitequark avatar May 14 '24 21:05 whitequark

@whitequark could you please provide with us a binary that can reproduce this? I know similar binaries are not too hard to find, but it would save us some time on it. You can ping us on slack if you would like to

xusheng6 avatar May 20 '24 07:05 xusheng6

@xusheng6 I'll upload a binary soon, it's public.

whitequark avatar May 20 '24 15:05 whitequark

Here's the binary: SSEdevice.zip

whitequark avatar Jun 10 '24 00:06 whitequark