Rizin
unix-like reverse engineering framework and cli tools
bitvector_t Struct Reference

structure for bitvector More...

#include <rz_bitvector.h>

Public Attributes

union {
   ut8 *   large_a
 little endian array of bytes for bitvectors > 64 bits whose size is defined in _elem_len More...
 
   ut64   small_u
 value of the bitvector when the size is <= 64 bits More...
 
bits
 
ut32 _elem_len
 length of ut8 array (bits.large_a) – real / physical More...
 
ut32 len
 number of bits – virtual / logical More...
 

Detailed Description

structure for bitvector

Ref : https://web.cs.dal.ca/~jamie/UWO/BitVectors/README.html

Definition at line 19 of file rz_bitvector.h.

Member Data Documentation

◆ _elem_len

ut32 bitvector_t::_elem_len

length of ut8 array (bits.large_a) – real / physical

Definition at line 24 of file rz_bitvector.h.

Referenced by rz_bv_and(), rz_bv_or(), and rz_bv_xor().

◆ 

union { ... } bitvector_t::bits

◆ large_a

ut8* bitvector_t::large_a

little endian array of bytes for bitvectors > 64 bits whose size is defined in _elem_len

Definition at line 21 of file rz_bitvector.h.

Referenced by rz_bv_and(), rz_bv_complement_1(), rz_bv_or(), and rz_bv_xor().

◆ len

ut32 bitvector_t::len

number of bits – virtual / logical

Definition at line 25 of file rz_bitvector.h.

Referenced by il_opdmp_bitv(), rz_bv_append(), rz_bv_complement_1(), rz_core_analysis_il_vm_set(), rz_il_handler_cast(), rz_il_handler_div(), and rz_il_vm_step().

◆ small_u

ut64 bitvector_t::small_u

value of the bitvector when the size is <= 64 bits

Definition at line 22 of file rz_bitvector.h.

Referenced by rz_bv_and(), rz_bv_complement_1(), rz_bv_or(), and rz_bv_xor().


The documentation for this struct was generated from the following file: