binaryninja-api
binaryninja-api copied to clipboard
HLIL simplification should leverage associative property of addition
var_10 is at stack offset -0x10, and column is at stack offset -0x24. So *(&var_10 + i - 0x14) really means column[i]. It seems that our analysis does not leverage the associative nature of addition
This is the corresponding disassembly:
I have no idea why the compiler decides to calculate sp+0x20, and then minus 0x14 from it, instead of directly doing a sp+0xc
Closed in favor of https://github.com/Vector35/binaryninja-api/issues/5406