src/PredFinder/common/ElfMultiDoc.cpp
// If a trimmed name contains a substring that is a conflict name, or vice versa,
// insert the substring into substring_names.

If a trimmed name contains a substring that is a conflict name, or vice versa,
insert the substring into substring_names.
If a trimmed name contains a substring that is a conflict name or vice versa insert the substring into substring_names .
BOOST_FOREACH(std::wstring name1, trimmed_names){
			BOOST_FOREACH(std::wstring name2, conflict_names){
				if(name1 == name2)
					continue;
				if(name1.find(name2) != std::wstring::npos){
					substring_names.insert(name2);
				}
				if(name2.find(name1) != std::wstring::npos){
					substring_names.insert(name1);
				}
			}
		}
BOOST_FOREACH ( std :: wstring name1 , trimmed_names ) { BOOST_FOREACH ( std :: wstring name2 , conflict_names ) { if ( name1 == name2 ) continue ; if ( name1 . find ( name2 ) != std :: wstring :: npos ) { substring_names . insert ( name2 ) ; } if ( name2 . find ( name1 ) != std :: wstring :: npos ) { substring_names . insert ( name1 ) ; } } }
If a trimmed name contains a substring that is a conflict name, or vice versa,
insert the substring into substring_names.
If a trimmed name contains a substring that is a conflict name or vice versa insert the substring into substring_names .
// Sample output: 
 //substring: adams OF flozell adams
 //substring: adams OF gaines adams
 //SessionLogger::info("LEARNIT")<<"substring: "<<name2<< " OF "<<name1<<std::endl;
 //SessionLogger::info("LEARNIT")<<"substring: "<<name1<<" OF "<<name2<<std::endl;
