Open whitequark opened 1 month ago
Version and Platform (required):
Bug Description: HLIL displays expressions of the kind rrc.q(arg1, 1, false). Also, I think rrc inhibits some downstream analyses.
rrc.q(arg1, 1, false)
rrc
Steps To Reproduce: repro2.zip
Expected Behavior: Simplification of rrc(x, y, false) to x >> y and rlc(x, y, false) to x << y
rrc(x, y, false)
x >> y
rlc(x, y, false)
x << y
Screenshots:
Additional Information: Similar reasoning and context as https://github.com/Vector35/binaryninja-api/issues/5448. (Thanks!)
Here's another testcase: repro.zip
I would expect this to be just arg1 >> 3 on HLIL level.
arg1 >> 3
Version and Platform (required):
Bug Description: HLIL displays expressions of the kind
rrc.q(arg1, 1, false)
. Also, I thinkrrc
inhibits some downstream analyses.Steps To Reproduce: repro2.zip
Expected Behavior: Simplification of
rrc(x, y, false)
tox >> y
andrlc(x, y, false)
tox << y
Screenshots:![Screenshot_20240525_064014](https://github.com/Vector35/binaryninja-api/assets/54771/ed0b6dae-b1a0-4603-b81d-7fe055ef0d21)
Additional Information: Similar reasoning and context as https://github.com/Vector35/binaryninja-api/issues/5448. (Thanks!)