Regular python integers cannot accurately represent CPU bytes. Oftentimes, they may:
- wrap on an overflow
- truncate data Python bitvectors are a better way of representing integers fitting wordsizes. z3 uses bitvectors for constraint finding
Bitvector
Bitvector objects are integers.
- By default represented in binary
- monkeyhex allows for hex representation
Attributes
bv.length
Returns how wide the bitvector is in bits