|
Tested on version int32_t value;
// code that assigns to and uses value
return value >= 0;This greater or equal to zero check is implemented as: ; load value into eax
not eax
shr eax, 0x1f
; returnSo effectively it just isolates the sign bit and checks that. rax_25 = (not.d(value) u>> 0x1f).bIt would be nice if the HLIL would display it as something similar to |
Answered by
plafosse
Feb 16, 2022
Replies: 1 comment
|
Thanks for the question, we moved this to an issue. |
0 replies
Answer selected by
fuzyll
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the question, we moved this to an issue.