BinClone/CloneSearcherLib/CSAssemblyFileMgr.cpp
//
// Get raw assembly file line string
//
Get raw assembly file line string
Get raw assembly file line string
bool CCSAssemblyFileMgr::getRawAssemblyFileLineStr(CString& str)
{
    if (!m_pRawAssemblyFile) {
        tcout << _T("Error: CCSAssemblyFileMgr: open the raw assembly file first.") << endl;
        ASSERT(false);
        return false;
    }
    try {        
        if (m_pRawAssemblyFile->ReadString(str))
            return true;
        else
            return false;
    }
    catch (CFileException&) {
        tcout << _T("CCSAssemblyFileMgr: failed to read aw assembly file") << endl;
        closeRawAssemblyFile();
        ASSERT(false);
        return false;
    }
}
bool CCSAssemblyFileMgr :: getRawAssemblyFileLineStr ( CString & str ) { if ( ! m_pRawAssemblyFile ) { tcout << _T ( " " ) << endl ; ASSERT ( false ) ; return false ; } try { if ( m_pRawAssemblyFile -> ReadString ( str ) ) return true ; else return false ; } catch ( CFileException & ) { tcout << _T ( " " ) << endl ; closeRawAssemblyFile ( ) ; ASSERT ( false ) ; return false ; } }
Get raw assembly file line string
Get raw assembly file line string
// Parse one line