BinClone/CloneSearcherLib/CSAssemblyFileMgr.cpp
//
// Construct operand type0 and type1 features
//
Construct operand type0 and type1 features
Construct operand type0 and type1 features
bool CCSAssemblyFileMgr::constructOpType0Type1Features()
{
    for (int i = 0; i < CS_NUM_OPTYPES; ++i) {
        for (int j = 0; j < CS_NUM_OPTYPES; ++j) {
            if (!addGlobalFeature((gOpTypes[i] + gOpTypes[j]).MakeLower())) 
                return false;
        }
    }
    return true;
}
bool CCSAssemblyFileMgr :: constructOpType0Type1Features ( ) { for ( int i = 0 ; i < CS_NUM_OPTYPES ; ++ i ) { for ( int j = 0 ; j < CS_NUM_OPTYPES ; ++ j ) { if ( ! addGlobalFeature ( ( gOpTypes [ i ] + gOpTypes [ j ] ) . MakeLower ( ) ) ) return false ; } } return true ; }
Construct operand type0 and type1 features
Construct operand type0 and type1 features