libTriton version 1.0 build 1590
Loading...
Searching...
No Matches
BitsVector

[python api] All information about the BitsVector Python object.

Description


This object is used to represent a bit vector. Mainly used by Register, MemoryAccess and Immediate.

>>> ah = ctxt.registers.ah
>>> bv = ah.getBitvector()
>>> bv.getHigh()
15
>>> bv.getLow()
8
>>> bv.getVectorSize()
8
>>> bv.getMaxValue()
255

Python API - Methods of the BitsVector class


  • integer getHigh(void)
    Returns the highest bit position.
  • integer getLow(void)
    Returns the lowest bit position.
  • integer getMaxValue(void)
    Returns the max value of the vector.
  • integer getVectorSize(void)
    Returns the size of the vector.