You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.
In [10]: claripy.BVV(0x00000001, 32).reversed
Out[10]: <BV32 0x1000000>
I'd have expected <BV32 0x80000000>, reversing the order of bits in a word.
The documentation says that the Reverse operation "Reverses a bit expression."
I understand why the operation does what it does, reverse by byte for an endian flip, but the naming and documentation could use improvement. When I first saw it as output in a symbolic expression I was really confused, "why would this code flip all the bits around".
The text was updated successfully, but these errors were encountered:
Thanks for bringing this up. I've added it to the "project" where we're tracking these usability improvements we need to make (https://github.com/angr/angr/projects/1).
I'd have expected
<BV32 0x80000000>
, reversing the order of bits in a word.The documentation says that the
Reverse
operation "Reverses a bit expression."I understand why the operation does what it does, reverse by byte for an endian flip, but the naming and documentation could use improvement. When I first saw it as output in a symbolic expression I was really confused, "why would this code flip all the bits around".
The text was updated successfully, but these errors were encountered: