Binary compatibility report for the mongoDB library between 2.1.0 and 2.1.1 versions on x86
Test Info
Library Name | mongoDB |
Version #1 | 2.1.0 |
Version #2 | 2.1.1 |
CPU Type | x86 |
GCC Version | 4.6.1 |
Test Results
Total Header Files | 1 |
Total Shared Libraries | 11 |
Total Symbols / Types | 587 / 371 |
Verdict | Incompatible (32.8%) |
Problem Summary
| Severity | Count |
---|
Added Symbols | - | 21 |
Removed Symbols | High | 122 |
Problems with Data Types | High | 2 |
Medium | 0 |
Low | 4 |
Problems with Symbols | High | 6 |
Medium | 1 |
Low | 3 |
Problems with Constants | Low | 0 |
Added Symbols (21)
assert_util.h,
libmongoclient.so
namespace mongo
verifyFailed ( char const* msg, char const* file, unsigned int line )
[symbol: _ZN5mongo12verifyFailedEPKcS1_j]
bsonmisc.h,
libmongoclient.so
namespace mongo
BSIZE [data]
[symbol: _ZN5mongo5BSIZEE]
compareDottedFieldNames ( std::string const& l, std::string const& r, LexNumCmp const& cmp )
[symbol: _ZN5mongo23compareDottedFieldNamesERKSsS1_RKNS_9LexNumCmpE]
NIN [data]
[symbol: _ZN5mongo3NINE]
bsonobjiterator.h,
libmongoclient.so
namespace mongo
BSONArrayIteratorSorted::BSONArrayIteratorSorted [in-charge] ( BSONArray const& array )
[symbol: _ZN5mongo23BSONArrayIteratorSortedC1ERKNS_9BSONArrayE]
BSONArrayIteratorSorted::BSONArrayIteratorSorted [not-in-charge] ( BSONArray const& array )
[symbol: _ZN5mongo23BSONArrayIteratorSortedC2ERKNS_9BSONArrayE]
BSONIteratorSorted::BSONIteratorSorted [in-charge] ( BSONObj const& o, BSONIteratorSorted::ElementFieldCmp const& cmp )
[symbol: _ZN5mongo18BSONIteratorSortedC1ERKNS_7BSONObjERKNS0_15ElementFieldCmpE]
BSONIteratorSorted::BSONIteratorSorted [not-in-charge] ( BSONObj const& o, BSONIteratorSorted::ElementFieldCmp const& cmp )
[symbol: _ZN5mongo18BSONIteratorSortedC2ERKNS_7BSONObjERKNS0_15ElementFieldCmpE]
dbclient_rs.h,
libmongoclient.so
namespace mongo
ReplicaSetMonitor::remove ( std::string const& name ) [static]
[symbol: _ZN5mongo17ReplicaSetMonitor6removeERKSs]
dbclientinterface.h,
libmongoclient.so
namespace mongo
DBClientWithCommands::_lookupAvailableOptions ( )
[symbol: _ZN5mongo20DBClientWithCommands23_lookupAvailableOptionsEv]
Query::hint ( std::string const& jsonKeyPatt )
[symbol: _ZN5mongo5Query4hintERKSs]
Query::Query [in-charge] ( char const* json )
[symbol: _ZN5mongo5QueryC1EPKc]
Query::Query [in-charge] ( std::string const& json )
[symbol: _ZN5mongo5QueryC1ERKSs]
Query::Query [not-in-charge] ( char const* json )
[symbol: _ZN5mongo5QueryC2EPKc]
Query::Query [not-in-charge] ( std::string const& json )
[symbol: _ZN5mongo5QueryC2ERKSs]
debug_util.h,
libmongoclient.so
namespace mongo
mongo_breakpoint ( )
[symbol: _ZN5mongo16mongo_breakpointEv]
log.h,
libmongoclient.so
namespace mongo
Logstream::removeGlobalTee ( Tee* tee )
[symbol: _ZN5mongo9Logstream15removeGlobalTeeEPNS_3TeeE]
rotateLogs ( )
[symbol: _ZN5mongo10rotateLogsEv]
message_port.h,
libmongoclient.so
namespace mongo
MessagingPort::MessagingPort [in-charge] ( boost::shared_ptr<Socket> socket )
[symbol: _ZN5mongo13MessagingPortC1EN5boost10shared_ptrINS_6SocketEEE]
MessagingPort::MessagingPort [not-in-charge] ( boost::shared_ptr<Socket> socket )
[symbol: _ZN5mongo13MessagingPortC2EN5boost10shared_ptrINS_6SocketEEE]
pch.h,
libmongoclient.so
namespace mongo
dbexit ( ExitCode returnCode, char const* whyMsg )
[symbol: _ZN5mongo6dbexitENS_8ExitCodeEPKc]
to the top
Removed Symbols (122)
assert_util.h,
libmongocommon.so
namespace mongo
asserted ( char const* msg, char const* file, unsigned int line )
[symbol: _ZN5mongo8assertedEPKcS1_j]
uassert_nothrow ( char const* msg )
[symbol: _ZN5mongo15uassert_nothrowEPKc]
verifyFailed ( int msgid )
[symbol: _ZN5mongo12verifyFailedEi]
bsonmisc.h,
libmongocommon.so
namespace mongo
compareDottedFieldNames ( std::string const& l, std::string const& r )
[symbol: _ZN5mongo23compareDottedFieldNamesERKSsS1_]
SIZE [data]
[symbol: _ZN5mongo4SIZEE]
cmdline.h,
libdbcmdline.so
namespace mongo
CmdLine::addGlobalOptions ( boost::program_options::options_description& general, boost::program_options::options_description& hidden ) [static]
[symbol: _ZN5mongo7CmdLine16addGlobalOptionsERN5boost15program_options19options_descriptionES4_]
CmdLine::launchOk ( ) [static]
[symbol: _ZN5mongo7CmdLine8launchOkEv]
CmdLine::parseConfigFile ( std::istream& f, std::stringstream& ss ) [static]
[symbol: _ZN5mongo7CmdLine15parseConfigFileERSiRSt18basic_stringstreamIcSt11char_traitsIcESaIcEE]
CmdLine::store ( int argc, char** argv, boost::program_options::options_description& visible, boost::program_options::options_description& hidden, boost::program_options::positional_options_description& positional, boost::program_options::variables_map& output ) [static]
[symbol: _ZN5mongo7CmdLine5storeEiPPcRN5boost15program_options19options_descriptionES6_RNS4_30positional_options_descriptionERNS4_13variables_mapE]
ParameterValidator::get ( std::string const& name ) [static]
[symbol: _ZN5mongo18ParameterValidator3getERKSs]
ParameterValidator::ParameterValidator [in-charge] ( std::string const& name )
[symbol: _ZN5mongo18ParameterValidatorC1ERKSs]
ParameterValidator::ParameterValidator [not-in-charge] ( std::string const& name )
[symbol: _ZN5mongo18ParameterValidatorC2ERKSs]
printCommandLineOpts ( )
[symbol: _ZN5mongo20printCommandLineOptsEv]
setupCoreSignals ( )
[symbol: _ZN5mongo16setupCoreSignalsEv]
setupLaunchSignals ( )
[symbol: _ZN5mongo18setupLaunchSignalsEv]
cmdline.h,
libserveronly.so
namespace mongo
ParameterValidator::~ParameterValidator [in-charge-deleting] ( )
[symbol: _ZN5mongo18ParameterValidatorD0Ev]
ParameterValidator::~ParameterValidator [in-charge] ( )
[symbol: _ZN5mongo18ParameterValidatorD1Ev]
vtable for ParameterValidator [data]
[symbol: _ZTVN5mongo18ParameterValidatorE]
commands.h,
libcoredb.so
namespace mongo
Command::_commands [data]
[symbol: _ZN5mongo7Command9_commandsE]
Command::_commandsByBestName [data]
[symbol: _ZN5mongo7Command19_commandsByBestNameE]
Command::_webCommands [data]
[symbol: _ZN5mongo7Command12_webCommandsE]
Command::Command [in-charge] ( char const* _name, bool webUI, char const* oldName )
[symbol: _ZN5mongo7CommandC1EPKcbS2_]
Command::Command [not-in-charge] ( char const* _name, bool webUI, char const* oldName )
[symbol: _ZN5mongo7CommandC2EPKcbS2_]
Command::findCommand ( std::string const& name ) [static]
[symbol: _ZN5mongo7Command11findCommandERKSs]
Command::help ( std::stringstream& help ) const
[symbol: _ZNK5mongo7Command4helpERSt18basic_stringstreamIcSt11char_traitsIcESaIcEE]
Command::htmlHelp ( std::stringstream& p1 ) const
[symbol: _ZNK5mongo7Command8htmlHelpERSt18basic_stringstreamIcSt11char_traitsIcESaIcEE]
Command::locktype ( std::string const& name ) [static]
[symbol: _ZN5mongo7Command8locktypeERKSs]
Command::logIfSlow ( Timer const& cmdTimer, std::string const& msg ) [static]
[symbol: _ZN5mongo7Command9logIfSlowERKNS_5TimerERKSs]
Command::parseNs ( std::string const& dbname, BSONObj const& cmdObj ) const
[symbol: _ZNK5mongo7Command7parseNsERKSsRKNS_7BSONObjE]
Command::parseNsFullyQualified ( std::string const& dbname, BSONObj const& cmdObj ) const
[symbol: _ZNK5mongo7Command21parseNsFullyQualifiedERKSsRKNS_7BSONObjE]
Command::~Command [in-charge-deleting] ( )
[symbol: _ZN5mongo7CommandD0Ev]
Command::~Command [in-charge] ( )
[symbol: _ZN5mongo7CommandD1Ev]
vtable for Command [data]
[symbol: _ZTVN5mongo7CommandE]
commands.h,
libserveronly.so
namespace mongo
_runCommands ( char const* ns, BSONObj& jsobj, BufBuilder& b, BSONObjBuilder& anObjBuilder, bool fromRepl, int queryOptions )
[symbol: _ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi]
CmdShutdown::help ( std::stringstream& help ) const
[symbol: _ZNK5mongo11CmdShutdown4helpERSt18basic_stringstreamIcSt11char_traitsIcESaIcEE]
CmdShutdown::run ( std::string const& dbname, BSONObj& cmdObj, int options, std::string& errmsg, BSONObjBuilder& result, bool fromRepl )
[symbol: _ZN5mongo11CmdShutdown3runERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb]
Command::adminOnly ( ) const
[symbol: _ZNK5mongo7Command9adminOnlyEv]
Command::localHostOnlyIfNoAuth ( BSONObj const& cmdObj )
[symbol: _ZN5mongo7Command21localHostOnlyIfNoAuthERKNS_7BSONObjE]
Command::logTheOp ( )
[symbol: _ZN5mongo7Command8logTheOpEv]
Command::maintenanceMode ( ) const
[symbol: _ZNK5mongo7Command15maintenanceModeEv]
Command::maintenanceOk ( ) const
[symbol: _ZNK5mongo7Command13maintenanceOkEv]
Command::requiresAuth ( )
[symbol: _ZN5mongo7Command12requiresAuthEv]
Command::slaveOverrideOk ( ) const
[symbol: _ZNK5mongo7Command15slaveOverrideOkEv]
vtable for CmdShutdown [data]
[symbol: _ZTVN5mongo11CmdShutdownE]
d_globals.h,
libserveronly.so
namespace mongo
d [data]
[symbol: _ZN5mongo1dE]
DGlobals::DGlobals [in-charge] ( )
[symbol: _ZN5mongo8DGlobalsC1Ev]
DGlobals::DGlobals [not-in-charge] ( )
[symbol: _ZN5mongo8DGlobalsC2Ev]
hostandport.h,
libcoreserver.so
namespace mongo
HostAndPort::isSelf ( ) const
[symbol: _ZNK5mongo11HostAndPort6isSelfEv]
lexical_cast.hpp,
libmongocommon.so
namespace boost::detail
lexical_stream_limited_src<char,std::streambuf>::~lexical_stream_limited_src [in-charge-deleting] ( )
[symbol: _ZN5boost6detail26lexical_stream_limited_srcIcSt15basic_streambufIcSt11char_traitsIcEES4_ED0Ev]
lexical_stream_limited_src<char,std::streambuf>::~lexical_stream_limited_src [in-charge] ( )
[symbol: _ZN5boost6detail26lexical_stream_limited_srcIcSt15basic_streambufIcSt11char_traitsIcEES4_ED1Ev]
log.h,
libmongocommon.so
namespace mongo
rotateLogs ( int signal )
[symbol: _ZN5mongo10rotateLogsEi]
message.h,
libcoreserver.so
namespace mongo
Message::toString ( ) const
[symbol: _ZNK5mongo7Message8toStringEv]
message_port.h,
libmongocommon.so
namespace mongo
MessagingPort::MessagingPort [in-charge] ( Socket& socket )
[symbol: _ZN5mongo13MessagingPortC1ERNS_6SocketE]
MessagingPort::MessagingPort [not-in-charge] ( Socket& socket )
[symbol: _ZN5mongo13MessagingPortC2ERNS_6SocketE]
mmap.h,
libserveronly.so
namespace mongo
MAdvise::MAdvise [in-charge] ( void* p, unsigned int len, MAdvise::Advice a )
[symbol: _ZN5mongo7MAdviseC1EPvjNS0_6AdviceE]
MAdvise::MAdvise [not-in-charge] ( void* p, unsigned int len, MAdvise::Advice a )
[symbol: _ZN5mongo7MAdviseC2EPvjNS0_6AdviceE]
MAdvise::~MAdvise [in-charge] ( )
[symbol: _ZN5mongo7MAdviseD1Ev]
MAdvise::~MAdvise [not-in-charge] ( )
[symbol: _ZN5mongo7MAdviseD2Ev]
MemoryMappedFile::_lock ( )
[symbol: _ZN5mongo16MemoryMappedFile5_lockEv]
MemoryMappedFile::_unlock ( )
[symbol: _ZN5mongo16MemoryMappedFile7_unlockEv]
MemoryMappedFile::close ( )
[symbol: _ZN5mongo16MemoryMappedFile5closeEv]
MemoryMappedFile::create ( std::string filename, unsigned long long len, bool zero )
[symbol: _ZN5mongo16MemoryMappedFile6createESsyb]
MemoryMappedFile::createPrivateMap ( )
[symbol: _ZN5mongo16MemoryMappedFile16createPrivateMapEv]
MemoryMappedFile::createReadOnlyMap ( )
[symbol: _ZN5mongo16MemoryMappedFile17createReadOnlyMapEv]
MemoryMappedFile::flush ( bool sync )
[symbol: _ZN5mongo16MemoryMappedFile5flushEb]
MemoryMappedFile::length ( ) const
[symbol: _ZNK5mongo16MemoryMappedFile6lengthEv]
MemoryMappedFile::map ( char const* filename )
[symbol: _ZN5mongo16MemoryMappedFile3mapEPKc]
MemoryMappedFile::map ( char const* filename, unsigned long long& length, int options )
[symbol: _ZN5mongo16MemoryMappedFile3mapEPKcRyi]
MemoryMappedFile::mapWithOptions ( char const* filename, int options )
[symbol: _ZN5mongo16MemoryMappedFile14mapWithOptionsEPKci]
MemoryMappedFile::MemoryMappedFile [in-charge] ( )
[symbol: _ZN5mongo16MemoryMappedFileC1Ev]
MemoryMappedFile::MemoryMappedFile [not-in-charge] ( )
[symbol: _ZN5mongo16MemoryMappedFileC2Ev]
MemoryMappedFile::prepareFlush ( )
[symbol: _ZN5mongo16MemoryMappedFile12prepareFlushEv]
MemoryMappedFile::remapPrivateView ( void* oldPrivateAddr )
[symbol: _ZN5mongo16MemoryMappedFile16remapPrivateViewEPv]
MemoryMappedFile::viewForFlushing ( )
[symbol: _ZN5mongo16MemoryMappedFile15viewForFlushingEv]
MemoryMappedFile::~MemoryMappedFile [in-charge-deleting] ( )
[symbol: _ZN5mongo16MemoryMappedFileD0Ev]
MemoryMappedFile::~MemoryMappedFile [in-charge] ( )
[symbol: _ZN5mongo16MemoryMappedFileD1Ev]
MongoFile::_lock ( )
[symbol: _ZN5mongo9MongoFile5_lockEv]
MongoFile::_unlock ( )
[symbol: _ZN5mongo9MongoFile7_unlockEv]
MongoFile::closeAllFiles ( std::stringstream& message ) [static]
[symbol: _ZN5mongo9MongoFile13closeAllFilesERSt18basic_stringstreamIcSt11char_traitsIcESaIcEE]
MongoFile::created ( )
[symbol: _ZN5mongo9MongoFile7createdEv]
MongoFile::destroyed ( )
[symbol: _ZN5mongo9MongoFile9destroyedEv]
MongoFile::flushAll ( bool sync ) [static]
[symbol: _ZN5mongo9MongoFile8flushAllEb]
MongoFile::isMongoMMF ( )
[symbol: _ZN5mongo9MongoFile10isMongoMMFEv]
MongoFile::mmfiles [data]
[symbol: _ZN5mongo9MongoFile7mmfilesE]
MongoFile::notifyPostFlush [data]
[symbol: _ZN5mongo9MongoFile15notifyPostFlushE]
MongoFile::notifyPreFlush [data]
[symbol: _ZN5mongo9MongoFile14notifyPreFlushE]
MongoFile::pathToFile [data]
[symbol: _ZN5mongo9MongoFile10pathToFileE]
MongoFile::setFilename ( std::string fn )
[symbol: _ZN5mongo9MongoFile11setFilenameESs]
MongoFile::totalMappedLength ( ) [static]
[symbol: _ZN5mongo9MongoFile17totalMappedLengthEv]
MongoFile::~MongoFile [in-charge-deleting] ( )
[symbol: _ZN5mongo9MongoFileD0Ev]
MongoFile::~MongoFile [in-charge] ( )
[symbol: _ZN5mongo9MongoFileD1Ev]
vtable for MemoryMappedFile [data]
[symbol: _ZTVN5mongo16MemoryMappedFileE]
vtable for MongoFile [data]
[symbol: _ZTVN5mongo9MongoFileE]
vtable for MongoFile::Flushable [data]
[symbol: _ZTVN5mongo9MongoFile9FlushableE]
mongomutex.h,
libserveronly.so
namespace mongo
curopGotLock ( Client* p1 )
[symbol: _ZN5mongo12curopGotLockEPNS_6ClientE]
curopWaitingForLock ( int type )
[symbol: _ZN5mongo19curopWaitingForLockEi]
MongoMutex::MongoMutex [in-charge] ( char const* name )
[symbol: _ZN5mongo10MongoMutexC1EPKc]
MongoMutex::MongoMutex [not-in-charge] ( char const* name )
[symbol: _ZN5mongo10MongoMutexC2EPKc]
sayClientState ( )
[symbol: _ZN5mongo14sayClientStateEv]
optime.h,
libclientandshell.so
namespace mongo
exitCleanly ( ExitCode code )
[symbol: _ZN5mongo11exitCleanlyENS_8ExitCodeE]
optime.h,
libserveronly.so
namespace mongo
OpTime::last_inlock ( ) [static]
[symbol: _ZN5mongo6OpTime11last_inlockEv]
OpTime::now ( ) [static]
[symbol: _ZN5mongo6OpTime3nowEv]
OpTime::waitForDifferent ( unsigned int millis )
[symbol: _ZN5mongo6OpTime16waitForDifferentEj]
pch.h,
libclientandshell.so
namespace mongo
dbexit ( ExitCode returnCode, char const* whyMsg, bool tryToGetLock )
[symbol: _ZN5mongo6dbexitENS_8ExitCodeEPKcb]
pch.h,
libcoreserver.so
namespace mongo
doPreServerStartupInits ( )
[symbol: _ZN5mongo23doPreServerStartupInitsEv]
security.h,
libcoreserver.so
namespace mongo
AuthenticationInfo::_isAuthorized ( std::string const& dbname, Auth::Level level ) const
[symbol: _ZNK5mongo18AuthenticationInfo13_isAuthorizedERKSsNS_4Auth5LevelE]
AuthenticationInfo::_isAuthorizedSingle_inlock ( std::string const& dbname, Auth::Level level ) const
[symbol: _ZNK5mongo18AuthenticationInfo26_isAuthorizedSingle_inlockERKSsNS_4Auth5LevelE]
security.h,
libserveronly.so
namespace mongo
AuthenticationInfo::_isAuthorizedSpecialChecks ( std::string const& dbname ) const
[symbol: _ZNK5mongo18AuthenticationInfo26_isAuthorizedSpecialChecksERKSs]
AuthenticationInfo::getUser ( std::string const& dbname ) const
[symbol: _ZNK5mongo18AuthenticationInfo7getUserERKSs]
security_common.h,
libcoreserver.so
namespace mongo
cmdAuthenticate [data]
[symbol: _ZN5mongo15cmdAuthenticateE]
CmdAuthenticate::authenticate ( std::string const& dbname, std::string const& user, bool const readOnly )
[symbol: _ZN5mongo15CmdAuthenticate12authenticateERKSsS2_b]
CmdAuthenticate::run ( std::string const& dbname, BSONObj& cmdObj, int options, std::string& errmsg, BSONObjBuilder& result, bool fromRepl )
[symbol: _ZN5mongo15CmdAuthenticate3runERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb]
internalSecurity [data]
[symbol: _ZN5mongo16internalSecurityE]
noauth [data]
[symbol: _ZN5mongo6noauthE]
setUpSecurityKey ( std::string const& filename )
[symbol: _ZN5mongo16setUpSecurityKeyERKSs]
vtable for CmdAuthenticate [data]
[symbol: _ZTVN5mongo15CmdAuthenticateE]
security_common.h,
libserveronly.so
namespace mongo
CmdLogout::run ( std::string const& dbname, BSONObj& cmdObj, int options, std::string& errmsg, BSONObjBuilder& result, bool fromRepl )
[symbol: _ZN5mongo9CmdLogout3runERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb]
vtable for CmdLogout [data]
[symbol: _ZTVN5mongo9CmdLogoutE]
sp_counted_impl.hpp,
libserveronly.so
namespace boost::detail
sp_counted_impl_pd<boost::thread_specific_ptr<int>::delete_data*,do_heap_delete<boost::thread_specific_ptr<int>::delete_data> >::dispose ( )
[symbol: _ZN5boost6detail18sp_counted_impl_pdIPNS_19thread_specific_ptrIiE11delete_dataENS0_14do_heap_deleteIS4_EEE7disposeEv]
sp_counted_impl_pd<boost::thread_specific_ptr<int>::delete_data*,do_heap_delete<boost::thread_specific_ptr<int>::delete_data> >::get_deleter ( sp_typeinfo const& ti )
[symbol: _ZN5boost6detail18sp_counted_impl_pdIPNS_19thread_specific_ptrIiE11delete_dataENS0_14do_heap_deleteIS4_EEE11get_deleterERKSt9type_info]
sp_counted_impl_pd<boost::thread_specific_ptr<int>::delete_data*,do_heap_delete<boost::thread_specific_ptr<int>::delete_data> >::~sp_counted_impl_pd [in-charge-deleting] ( )
[symbol: _ZN5boost6detail18sp_counted_impl_pdIPNS_19thread_specific_ptrIiE11delete_dataENS0_14do_heap_deleteIS4_EEED0Ev]
sp_counted_impl_pd<boost::thread_specific_ptr<int>::delete_data*,do_heap_delete<boost::thread_specific_ptr<int>::delete_data> >::~sp_counted_impl_pd [in-charge] ( )
[symbol: _ZN5boost6detail18sp_counted_impl_pdIPNS_19thread_specific_ptrIiE11delete_dataENS0_14do_heap_deleteIS4_EEED1Ev]
to the top
Problems with Data Types, High Severity (2)
dbclient.h
namespace mongo
[+] class DBClientWithCommands (1)
| Change |
Effect |
1 | Virtual method DBClientWithCommands::_lookupAvailableOptions ( ) has been added to this class. | The layout of v-table has been changed. Call of any virtual method at higher position in this class or its subclasses may result in crash or incorrect behavior of applications. |
[+] show v-table (old and new)
Offset | Virtual Table (Old) - 27 entries | Virtual Table (New) - 28 entries |
---|
0 |
(int (*)(...))0 |
(int (*)(...))0 |
4 |
(int (*)(...))(& typeinfo) |
(int (*)(...))(& typeinfo) |
8 |
__cxa_pure_virtual |
__cxa_pure_virtual |
12 |
__cxa_pure_virtual |
__cxa_pure_virtual |
16 |
__cxa_pure_virtual |
__cxa_pure_virtual |
20 |
__cxa_pure_virtual |
__cxa_pure_virtual |
24 |
__cxa_pure_virtual |
__cxa_pure_virtual |
28 |
~DBClientWithCommands |
~DBClientWithCommands |
32 |
~DBClientWithCommands |
~DBClientWithCommands |
36 |
DBClientInterface::findOne |
DBClientInterface::findOne |
40 |
__cxa_pure_virtual |
__cxa_pure_virtual |
44 |
__cxa_pure_virtual |
__cxa_pure_virtual |
48 |
DBClientWithCommands::runCommand |
DBClientWithCommands::runCommand |
52 |
DBClientWithCommands::auth |
DBClientWithCommands::auth |
56 |
DBClientWithCommands::count |
DBClientWithCommands::count |
60 |
DBClientWithCommands::isMaster |
DBClientWithCommands::isMaster |
64 |
DBClientWithCommands::getLastErrorDetailed |
DBClientWithCommands::getLastErrorDetailed |
68 |
DBClientWithCommands::dropCollection |
DBClientWithCommands::dropCollection |
72 |
DBClientWithCommands::ensureIndex |
DBClientWithCommands::ensureIndex |
76 |
DBClientWithCommands::resetIndexCache |
DBClientWithCommands::resetIndexCache |
80 |
DBClientWithCommands::getIndexes |
DBClientWithCommands::getIndexes |
84 |
DBClientWithCommands::dropIndex |
DBClientWithCommands::dropIndex |
88 |
DBClientWithCommands::dropIndex |
DBClientWithCommands::dropIndex |
92 |
DBClientWithCommands::dropIndexes |
DBClientWithCommands::dropIndexes |
96 |
DBClientWithCommands::reIndex |
DBClientWithCommands::reIndex |
100 |
DBClientWithCommands::dropDatabase |
DBClientWithCommands::dropDatabase |
104 |
__cxa_pure_virtual |
__cxa_pure_virtual |
108 |
|
DBClientWithCommands::_lookupAvailableOptions |
[+] affected symbols (49)
DBClientBase::callRead ( Message& toSend, Message& response )This method is from derived class 'DBClientBase'.
DBClientBase::getSoTimeout ( ) constThis method is from derived class 'DBClientBase'.
DBClientBase::isFailed ( ) constThis method is from derived class 'DBClientBase'.
DBClientBase::killCursor ( long long cursorID )This method is from derived class 'DBClientBase'.
DBClientBase::type ( ) constThis method is from derived class 'DBClientBase'.
DBClientConnection::connect ( HostAndPort const& server, std::string& errmsg )This method is from derived class 'DBClientConnection'.
DBClientWithCommands::_countCmd ( std::string const& ns, BSONObj const& query, int options, int limit, int skip )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::auth ( std::string const& dbname, std::string const& username, std::string const& pwd, std::string& errmsg, bool digestPassword, Auth::Level* level )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::availableOptions ( )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::copyDatabase ( std::string const& fromdb, std::string const& todb, std::string const& fromhost, BSONObj* info )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::count ( std::string const& ns, BSONObj const& query, int options, int limit, int skip )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::createCollection ( std::string const& ns, long long size, bool capped, int max, BSONObj* info )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::createPasswordDigest ( std::string const& username, std::string const& clearTextPassword )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::dropCollection ( std::string const& ns )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::dropDatabase ( std::string const& dbname, BSONObj* info )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::dropIndex ( std::string const& ns, BSONObj keys )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::dropIndex ( std::string const& ns, std::string const& indexName )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::dropIndexes ( std::string const& ns )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::ensureIndex ( std::string const& ns, BSONObj keys, bool unique, std::string const& name, bool cache, bool background, int v )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::eval ( std::string const& dbname, std::string const& jscode )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::eval ( std::string const& dbname, std::string const& jscode, BSONObj& info, BSONElement& retValue, BSONObj* args )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::exists ( std::string const& ns )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::genIndexName ( BSONObj const& keys )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::getCollectionNames ( std::string const& db )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::getDatabaseNames ( )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::getDbProfilingLevel ( std::string const& dbname, DBClientWithCommands::ProfilingLevel& level, BSONObj* info )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::getIndexes ( std::string const& ns )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::getLastError ( bool fsync, bool j, int w, int wtimeout )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::getLastErrorDetailed ( bool fsync, bool j, int w, int wtimeout )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::getLastErrorString ( BSONObj const& res ) [static]This method is from 'DBClientWithCommands' class.
DBClientWithCommands::getPrevError ( )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::isMaster ( bool& isMaster, BSONObj* info )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::isNotMasterErrorString ( BSONElement const& e )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::isOk ( BSONObj const& p1 )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::mapreduce ( std::string const& ns, std::string const& jsmapf, std::string const& jsreducef, BSONObj query, DBClientWithCommands::MROutput output )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::reIndex ( std::string const& ns )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::resetIndexCache ( )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::runCommand ( std::string const& dbname, BSONObj const& cmd, BSONObj& info, int options )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::setDbProfilingLevel ( std::string const& dbname, DBClientWithCommands::ProfilingLevel level, BSONObj* info )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::simpleCommand ( std::string const& dbname, BSONObj* info, std::string const& command )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::toString ( )This method is from 'DBClientWithCommands' class.
DBClientWithCommands::~DBClientWithCommands [in-charge] ( )This method is from 'DBClientWithCommands' class.
DBConnector::call ( Message& toSend, Message& response, bool assertOk, std::string* actualServer )This method is from derived class 'DBConnector'.
DBConnector::checkResponse ( char const* data, int nReturned, bool* retry, std::string* targetHost )This method is from derived class 'DBConnector'.
DBConnector::lazySupported ( ) constThis method is from derived class 'DBConnector'.
DBConnector::recv ( Message& m )This method is from derived class 'DBConnector'.
DBConnector::say ( Message& toSend, bool isRetry, std::string* actualServer )This method is from derived class 'DBConnector'.
DBConnector::sayPiggyBack ( Message& toSend )This method is from derived class 'DBConnector'.
DBConnector::~DBConnector [in-charge] ( )This method is from derived class 'DBConnector'.
message_port.h
namespace mongo
[+] class MessagingPort (1)
| Change |
Effect |
1 | Base class Socket has been removed. | 1) Size of the class has been changed from 188 bytes to 32 bytes. 2) The memory layout in this class has been shifted by 164 bytes. |
[+] show v-table (old and new)
Offset | Virtual Table (Old) - 9 entries | Virtual Table (New) - 9 entries |
---|
0 |
(int (*)(...))0 |
(int (*)(...))0 |
4 |
(int (*)(...))(& typeinfo) |
(int (*)(...))(& typeinfo) |
8 |
~MessagingPort |
~MessagingPort |
12 |
~MessagingPort |
~MessagingPort |
16 |
MessagingPort::reply |
MessagingPort::reply |
20 |
MessagingPort::reply |
MessagingPort::reply |
24 |
MessagingPort::remote |
MessagingPort::remote |
28 |
MessagingPort::remotePort |
MessagingPort::remotePort |
32 |
MessagingPort::assertStillConnected |
MessagingPort::assertStillConnected |
[+] affected symbols (16)
MessagingPort::assertStillConnected ( )This method is from 'MessagingPort' class.
MessagingPort::call ( Message& toSend, Message& response )This method is from 'MessagingPort' class.
MessagingPort::closeAllSockets ( unsigned int tagMask ) [static]This method is from 'MessagingPort' class.
MessagingPort::MessagingPort [in-charge] ( double so_timeout, int logLevel )This constructor is from 'MessagingPort' class.
MessagingPort::MessagingPort [in-charge] ( int fd, SockAddr const& remote )This constructor is from 'MessagingPort' class.
MessagingPort::MessagingPort [in-charge] ( Socket& socket )This constructor is from 'MessagingPort' class.
MessagingPort::piggyBack ( Message& toSend, int responseTo )This method is from 'MessagingPort' class.
MessagingPort::recv ( Message const& sent, Message& response )This method is from 'MessagingPort' class.
MessagingPort::recv ( Message& m )This method is from 'MessagingPort' class.
MessagingPort::remote ( ) constThis method is from 'MessagingPort' class.
MessagingPort::remotePort ( ) constThis method is from 'MessagingPort' class.
MessagingPort::reply ( Message& received, Message& response )This method is from 'MessagingPort' class.
MessagingPort::reply ( Message& received, Message& response, MSGID responseTo )This method is from 'MessagingPort' class.
MessagingPort::say ( Message& toSend, int responseTo )This method is from 'MessagingPort' class.
MessagingPort::shutdown ( )This method is from 'MessagingPort' class.
MessagingPort::~MessagingPort [in-charge] ( )This method is from 'MessagingPort' class.
to the top
Problems with Symbols, High Severity (6)
assert_util.h,
libmongocommon.so
namespace mongo
[+] verifyFailed ( int msgid ) (1)
changed to:verifyFailed ( char const* msg, char const* file, unsigned int line )
[symbol: _ZN5mongo12verifyFailedEi]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN5mongo12verifyFailedEi to _ZN5mongo12verifyFailedEPKcS1_j. This may cause "undefined reference" linker error in old client applications. |
bsonmisc.h,
libmongocommon.so
namespace mongo
[+] compareDottedFieldNames ( std::string const& l, std::string const& r ) (1)
changed to:compareDottedFieldNames ( std::string const& l, std::string const& r, LexNumCmp const& cmp )
[symbol: _ZN5mongo23compareDottedFieldNamesERKSsS1_]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN5mongo23compareDottedFieldNamesERKSsS1_ to _ZN5mongo23compareDottedFieldNamesERKSsS1_RKNS_9LexNumCmpE. This may cause "undefined reference" linker error in old client applications. |
log.h,
libmongocommon.so
namespace mongo
[+] rotateLogs ( int signal ) (1)
changed to:rotateLogs ( )
[symbol: _ZN5mongo10rotateLogsEi]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN5mongo10rotateLogsEi to _ZN5mongo10rotateLogsEv. This may cause "undefined reference" linker error in old client applications. |
message_port.h,
libmongocommon.so
namespace mongo
[+] MessagingPort::MessagingPort [in-charge] ( Socket& socket ) (1)
changed to:MessagingPort::MessagingPort [in-charge] ( boost::shared_ptr<Socket> socket )
[symbol: _ZN5mongo13MessagingPortC1ERNS_6SocketE]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN5mongo13MessagingPortC1ERNS_6SocketE to _ZN5mongo13MessagingPortC1EN5boost10shared_ptrINS_6SocketEEE. This may cause "undefined reference" linker error in old client applications. |
[+] MessagingPort::MessagingPort [not-in-charge] ( Socket& socket ) (1)
changed to:MessagingPort::MessagingPort [not-in-charge] ( boost::shared_ptr<Socket> socket )
[symbol: _ZN5mongo13MessagingPortC2ERNS_6SocketE]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN5mongo13MessagingPortC2ERNS_6SocketE to _ZN5mongo13MessagingPortC2EN5boost10shared_ptrINS_6SocketEEE. This may cause "undefined reference" linker error in old client applications. |
pch.h,
libclientandshell.so
namespace mongo
[+] dbexit ( ExitCode returnCode, char const* whyMsg, bool tryToGetLock ) (1)
changed to:dbexit ( ExitCode returnCode, char const* whyMsg )
[symbol: _ZN5mongo6dbexitENS_8ExitCodeEPKcb]
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN5mongo6dbexitENS_8ExitCodeEPKcb to _ZN5mongo6dbexitENS_8ExitCodeEPKc. This may cause "undefined reference" linker error in old client applications. |
to the top
Problems with Symbols, Medium Severity (1)
goodies.h,
libmongocommon.so
namespace mongo
[+] setThreadName ( char const* name ) (1)
[symbol: _ZN5mongo13setThreadNameEPKc]
| Change | Effect |
---|
1 | Type of return value has been changed from unsigned int (4 bytes) to long long (8 bytes). | Applications will obtain a different return value and execution may change. |
to the top
Problems with Data Types, Low Severity (4)
bsonobjiterator.h
namespace mongo
[+] class BSONObjIteratorSorted (1)
| Change |
Effect |
1 | Base class BSONIteratorSorted has been added. | Possible incorrect access of applications to the memory occupied by the base classes. |
[+] affected symbols (1)
BSONObjIteratorSorted::BSONObjIteratorSorted [in-charge] ( BSONObj const& o )This constructor is from 'BSONObjIteratorSorted' class.
message_port.h
namespace mongo
[+] class MessagingPort (2)
| Change |
Effect |
1 | Field psock has been added to this type. | 1) This field will not be initialized by old clients. 2) Size of the inclusive type has been changed. NOTE: this field should be accessed only from the new library functions, otherwise it may result in crash or incorrect behavior of applications. |
2 | Size of this type has been changed from 188 bytes to 32 bytes. | The fields or parameters of such data type may be incorrectly initialized or accessed by old client applications. |
[+] affected symbols (15)
Message::send ( MessagingPort& p, char const* context )1st parameter 'p' (reference) has base type 'MessagingPort'.
MessagingPort::assertStillConnected ( )This method is from 'MessagingPort' class.
MessagingPort::call ( Message& toSend, Message& response )This method is from 'MessagingPort' class.
MessagingPort::MessagingPort [in-charge] ( double so_timeout, int logLevel )This constructor is from 'MessagingPort' class.
MessagingPort::MessagingPort [in-charge] ( int fd, SockAddr const& remote )This constructor is from 'MessagingPort' class.
MessagingPort::piggyBack ( Message& toSend, int responseTo )This method is from 'MessagingPort' class.
MessagingPort::recv ( Message const& sent, Message& response )This method is from 'MessagingPort' class.
MessagingPort::recv ( Message& m )This method is from 'MessagingPort' class.
MessagingPort::remote ( ) constThis method is from 'MessagingPort' class.
MessagingPort::remotePort ( ) constThis method is from 'MessagingPort' class.
MessagingPort::reply ( Message& received, Message& response )This method is from 'MessagingPort' class.
MessagingPort::reply ( Message& received, Message& response, MSGID responseTo )This method is from 'MessagingPort' class.
MessagingPort::say ( Message& toSend, int responseTo )This method is from 'MessagingPort' class.
MessagingPort::shutdown ( )This method is from 'MessagingPort' class.
MessagingPort::~MessagingPort [in-charge] ( )This method is from 'MessagingPort' class.
sock.h
namespace mongo
[+] class Socket (1)
| Change |
Effect |
1 | Base class boost::noncopyable_::noncopyable has been added. | Possible incorrect access of applications to the memory occupied by the base classes. |
[+] affected symbols (28)
MessagingPort::assertStillConnected ( )This method is from derived class 'MessagingPort'.
MessagingPort::call ( Message& toSend, Message& response )This method is from derived class 'MessagingPort'.
MessagingPort::closeAllSockets ( unsigned int tagMask ) [static]This method is from derived class 'MessagingPort'.
MessagingPort::MessagingPort [in-charge] ( double so_timeout, int logLevel )This constructor is from derived class 'MessagingPort'.
MessagingPort::MessagingPort [in-charge] ( int fd, SockAddr const& remote )This constructor is from derived class 'MessagingPort'.
MessagingPort::MessagingPort [in-charge] ( Socket& socket )This constructor is from derived class 'MessagingPort'.
MessagingPort::piggyBack ( Message& toSend, int responseTo )This method is from derived class 'MessagingPort'.
MessagingPort::recv ( Message const& sent, Message& response )This method is from derived class 'MessagingPort'.
MessagingPort::recv ( Message& m )This method is from derived class 'MessagingPort'.
MessagingPort::remote ( ) constThis method is from derived class 'MessagingPort'.
MessagingPort::remotePort ( ) constThis method is from derived class 'MessagingPort'.
MessagingPort::reply ( Message& received, Message& response )This method is from derived class 'MessagingPort'.
MessagingPort::reply ( Message& received, Message& response, MSGID responseTo )This method is from derived class 'MessagingPort'.
MessagingPort::say ( Message& toSend, int responseTo )This method is from derived class 'MessagingPort'.
MessagingPort::shutdown ( )This method is from derived class 'MessagingPort'.
MessagingPort::~MessagingPort [in-charge] ( )This method is from derived class 'MessagingPort'.
Socket::_send ( char const* data, int len )This method is from 'Socket' class.
Socket::close ( )This method is from 'Socket' class.
Socket::connect ( SockAddr& farEnd )This method is from 'Socket' class.
Socket::postFork ( )This method is from 'Socket' class.
Socket::recv ( char* data, int len )This method is from 'Socket' class.
Socket::send ( char const* data, int len, char const* context )This method is from 'Socket' class.
Socket::send ( std::vector<std::pair<char*, int> >const& data, char const* context )This method is from 'Socket' class.
Socket::setTimeout ( double secs )This method is from 'Socket' class.
Socket::Socket [in-charge] ( double so_timeout, int logLevel )This constructor is from 'Socket' class.
Socket::Socket [in-charge] ( int sock, SockAddr const& farEnd )This constructor is from 'Socket' class.
Socket::stillConnected ( )This method is from 'Socket' class.
Socket::unsafe_recv ( char* buf, int max )This method is from 'Socket' class.
to the top
Problems with Symbols, Low Severity (3)
bsonobjiterator.h,
libmongocommon.so
namespace mongo
[+] BSONObjIteratorSorted::BSONObjIteratorSorted [not-in-charge] ( BSONObj const& o ) (1)
changed to:BSONObjIteratorSorted::BSONObjIteratorSorted [not-in-charge] ( BSONObj const& object )
[symbol: _ZN5mongo21BSONObjIteratorSortedC2ERKNS_7BSONObjE]
| Change | Effect |
---|
1 | 1st parameter o has been renamed to object. | Renaming of a parameter may indicate a change in its semantic meaning. |
[+] BSONObjIteratorSorted::BSONObjIteratorSorted [in-charge] ( BSONObj const& o ) (1)
changed to:BSONObjIteratorSorted::BSONObjIteratorSorted [in-charge] ( BSONObj const& object )
[symbol: _ZN5mongo21BSONObjIteratorSortedC1ERKNS_7BSONObjE]
| Change | Effect |
---|
1 | 1st parameter o has been renamed to object. | Renaming of a parameter may indicate a change in its semantic meaning. |
log.h,
libmongocommon.so
namespace mongo
[+] initLogging ( std::string const& logpath, bool append ) (1)
[symbol: _ZN5mongo11initLoggingERKSsb]
| Change | Effect |
---|
1 | Type of return value has been changed from void to bool (1 byte). | Replacement of return type may indicate a change in its semantic meaning. |
to the top
Header Files (1)
dbclient.h
to the top
Shared Libraries (11)
liballtools.so
libclientandshell.so
libcoredb.so
libcoreserver.so
libcoreshard.so
libdbcmdline.so
libdefaultversion.so
libgridfs.so
libmongocommon.so
libpcrecpp.so
libserveronly.so
to the top