HAL  v4.5.0-124-g47ab54673
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
smallset_t Class Reference
Collaboration diagram for smallset_t:
Collaboration graph

Public Member Functions

 smallset_t (int preset=0)
 
void set (u8 bit)
 
bool is_set (u8 bit) const
 
void dump () const
 
smallset_t operator| (const smallset_t &other) const
 
smallset_t operator& (const smallset_t &other) const
 
smallset_t operator^ (const smallset_t &other) const
 
smallset_t shuffle (u8 shift) const
 
void to_array (u64 *arr, bool swap=false) const
 
u8 least_bit () const
 
int size () const
 
bool empty () const
 

Static Public Member Functions

static int least_bit (u64 dw)
 
static int size (u64 dw, int level)
 

Detailed Description

Definition at line 29 of file sbox_database.cpp.

Constructor & Destructor Documentation

◆ smallset_t()

smallset_t::smallset_t ( int  preset = 0)

Definition at line 58 of file sbox_database.cpp.

Member Function Documentation

◆ dump()

void smallset_t::dump ( ) const

Definition at line 237 of file sbox_database.cpp.

References _ONE_.

◆ empty()

bool smallset_t::empty ( ) const

Definition at line 84 of file sbox_database.cpp.

◆ is_set()

bool smallset_t::is_set ( u8  bit) const

Definition at line 186 of file sbox_database.cpp.

References _ONE_.

◆ least_bit() [1/2]

u8 smallset_t::least_bit ( ) const

Definition at line 96 of file sbox_database.cpp.

◆ least_bit() [2/2]

int smallset_t::least_bit ( u64  dw)
static

Definition at line 216 of file sbox_database.cpp.

◆ operator&()

smallset_t smallset_t::operator& ( const smallset_t other) const

Definition at line 258 of file sbox_database.cpp.

◆ operator^()

smallset_t smallset_t::operator^ ( const smallset_t other) const

Definition at line 266 of file sbox_database.cpp.

◆ operator|()

smallset_t smallset_t::operator| ( const smallset_t other) const

Definition at line 250 of file sbox_database.cpp.

◆ set()

void smallset_t::set ( u8  bit)

Definition at line 181 of file sbox_database.cpp.

References _ONE_.

◆ shuffle()

smallset_t smallset_t::shuffle ( u8  shift) const

Definition at line 109 of file sbox_database.cpp.

◆ size() [1/2]

int smallset_t::size ( ) const

Definition at line 191 of file sbox_database.cpp.

Referenced by size().

◆ size() [2/2]

int smallset_t::size ( u64  dw,
int  level 
)
static

Definition at line 199 of file sbox_database.cpp.

References size().

◆ to_array()

void smallset_t::to_array ( u64 arr,
bool  swap = false 
) const

Definition at line 173 of file sbox_database.cpp.


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