Latest available version: IDA and decompilers v8.4.240320sp1 see all releases
Hex-Rays logo State-of-the-art binary code analysis tools
email icon

List of switch cases and targets. More...

#include <hexrays.hpp>

Public Member Functions

void swap (mcases_t &r)
 
 DECLARE_COMPARISONS (mcases_t)
 
bool empty () const
 
size_t size () const
 
void resize (int s)
 
void print (qstring *vout) const
 
const char * dstr () const
 

Public Attributes

casevec_t values
 expression values for each target More...
 
intvec_t targets
 target block numbers More...
 

Detailed Description

List of switch cases and targets.

Examples
hexrays_sample18.cpp.

Definition at line 3187 of file hexrays.hpp.

Member Function Documentation

◆ dstr()

const char * mcases_t::dstr ( ) const

Definition at line 10817 of file hexrays.hpp.

◆ empty()

bool mcases_t::empty ( ) const

Definition at line 3196 of file hexrays.hpp.

◆ print()

void mcases_t::print ( qstring *  vout) const

Definition at line 10811 of file hexrays.hpp.

◆ resize()

void mcases_t::resize ( int  s)

Definition at line 3198 of file hexrays.hpp.

◆ size()

size_t mcases_t::size ( ) const

Definition at line 3197 of file hexrays.hpp.

◆ swap()

void mcases_t::swap ( mcases_t r)

Definition at line 3193 of file hexrays.hpp.

Member Data Documentation

◆ targets

intvec_t mcases_t::targets

target block numbers

Definition at line 3191 of file hexrays.hpp.

◆ values

casevec_t mcases_t::values

expression values for each target

Definition at line 3190 of file hexrays.hpp.