Binary compatibility report for the mongoDB library between 1.5.6 and 1.5.7 versions on x86
Test Info
Library Name | mongoDB |
Version #1 | 1.5.6 |
Version #2 | 1.5.7 |
CPU Architecture | x86 |
GCC Version | 4.5 |
Test Results
Total Header Files | 1 |
Total Shared Libraries | 1 |
Total Symbols / Types | 435 / 332 |
Verdict | Incompatible (16.67%) |
---|
Problem Summary
| Severity | Count |
---|
Added Symbols | - | 29 |
Removed Symbols | High | 26 |
Problems with Data Types | High | 5 |
Medium | 5 |
Low | 8 |
Problems with Symbols | High | 1 |
Medium | 1 |
Low | 0 |
Problems with Constants | Low | 0 |
Other Changes | - | 0 |
Added Symbols (29)
dbclient.h,
libmongoshellfiles.so
namespace mongo
ConnectionString::parse ( std::string const& url, std::string& errmsg ) [static]
[ symbol: _ZN5mongo16ConnectionString5parseERKSsRSs ]
DBClientConnection::connect ( HostAndPort const& server, std::string& errmsg )
[ symbol: _ZN5mongo18DBClientConnection7connectERKNS_11HostAndPortERSs ]
DBClientReplicaSet::auth ( std::string const& dbname, std::string const& username, std::string const& pwd, std::string& errmsg, bool digestPassword )
[ symbol: _ZN5mongo18DBClientReplicaSet4authERKSsS2_S2_RSsb ]
DBClientReplicaSet::call ( Message& toSend, Message& response, bool assertOk )
[ symbol: _ZN5mongo18DBClientReplicaSet4callERNS_7MessageES2_b ]
DBClientReplicaSet::callRead ( Message& toSend, Message& response )
[ symbol: _ZN5mongo18DBClientReplicaSet8callReadERNS_7MessageES2_ ]
DBClientReplicaSet::checkResponse ( char const* data, int nReturned )
[ symbol: _ZN5mongo18DBClientReplicaSet13checkResponseEPKci ]
DBClientReplicaSet::connect ( )
[ symbol: _ZN5mongo18DBClientReplicaSet7connectEv ]
DBClientReplicaSet::DBClientReplicaSet [in-charge] ( std::string const& name, std::vector<HostAndPort>const& servers )
[ symbol: _ZN5mongo18DBClientReplicaSetC1ERKSsRKSt6vectorINS_11HostAndPortESaIS4_EE ]
DBClientReplicaSet::DBClientReplicaSet [not-in-charge] ( std::string const& name, std::vector<HostAndPort>const& servers )
[ symbol: _ZN5mongo18DBClientReplicaSetC2ERKSsRKSt6vectorINS_11HostAndPortESaIS4_EE ]
DBClientReplicaSet::findOne ( std::string const& ns, Query const& query, BSONObj const* fieldsToReturn, int queryOptions )
[ symbol: _ZN5mongo18DBClientReplicaSet7findOneERKSsRKNS_5QueryEPKNS_7BSONObjEi ]
DBClientReplicaSet::getServerAddress ( ) const
[ symbol: _ZNK5mongo18DBClientReplicaSet16getServerAddressEv ]
DBClientReplicaSet::insert ( std::string const& ns, BSONObj&restrict obj )
[ symbol: _ZN5mongo18DBClientReplicaSet6insertERKSsNS_7BSONObjE ]
DBClientReplicaSet::insert ( std::string const& ns, std::vector<BSONObj>const& v )
[ symbol: _ZN5mongo18DBClientReplicaSet6insertERKSsRKSt6vectorINS_7BSONObjESaIS4_EE ]
DBClientReplicaSet::isFailed ( ) const
[ symbol: _ZNK5mongo18DBClientReplicaSet8isFailedEv ]
DBClientReplicaSet::killCursor ( long long cursorID )
[ symbol: _ZN5mongo18DBClientReplicaSet10killCursorEx ]
DBClientReplicaSet::masterConn ( )
[ symbol: _ZN5mongo18DBClientReplicaSet10masterConnEv ]
DBClientReplicaSet::query ( std::string const& ns, Query query, int nToReturn, int nToSkip, BSONObj const* fieldsToReturn, int queryOptions, int batchSize )
[ symbol: _ZN5mongo18DBClientReplicaSet5queryERKSsNS_5QueryEiiPKNS_7BSONObjEii ]
DBClientReplicaSet::remove ( std::string const& ns, Query&restrict obj, bool justOne )
[ symbol: _ZN5mongo18DBClientReplicaSet6removeERKSsNS_5QueryEb ]
DBClientReplicaSet::say ( Message& toSend )
[ symbol: _ZN5mongo18DBClientReplicaSet3sayERNS_7MessageE ]
DBClientReplicaSet::sayPiggyBack ( Message& toSend )
[ symbol: _ZN5mongo18DBClientReplicaSet12sayPiggyBackERNS_7MessageE ]
DBClientReplicaSet::slaveConn ( )
[ symbol: _ZN5mongo18DBClientReplicaSet9slaveConnEv ]
DBClientReplicaSet::toString ( )
[ symbol: _ZN5mongo18DBClientReplicaSet8toStringEv ]
DBClientReplicaSet::type ( ) const
[ symbol: _ZNK5mongo18DBClientReplicaSet4typeEv ]
DBClientReplicaSet::update ( std::string const& ns, Query&restrict query, BSONObj&restrict obj, bool upsert, bool multi )
[ symbol: _ZN5mongo18DBClientReplicaSet6updateERKSsNS_5QueryENS_7BSONObjEbb ]
DBClientReplicaSet::~DBClientReplicaSet [in-charge-deleting] ( )
[ symbol: _ZN5mongo18DBClientReplicaSetD0Ev ]
DBClientReplicaSet::~DBClientReplicaSet [in-charge] ( )
[ symbol: _ZN5mongo18DBClientReplicaSetD1Ev ]
DBClientReplicaSet::~DBClientReplicaSet [not-in-charge] ( )
[ symbol: _ZN5mongo18DBClientReplicaSetD2Ev ]
hostandport.h,
libmongoshellfiles.so
namespace mongo
HostAndPort::isSelf ( ) const
[ symbol: _ZNK5mongo11HostAndPort6isSelfEv ]
mmap.h,
libmongoshellfiles.so
namespace mongo
MemoryMappedFile::prepareFlush ( )
[ symbol: _ZN5mongo16MemoryMappedFile12prepareFlushEv ]
to the top
Removed Symbols (26)
dbclient.h,
libmongoclient.so
namespace mongo
DBClientConnection::connect ( std::string const& serverHostname, std::string& errmsg )
[ symbol: _ZN5mongo18DBClientConnection7connectERKSsRSs ]
DBClientPaired::auth ( std::string const& dbname, std::string const& username, std::string const& pwd, std::string& errmsg )
[ symbol: _ZN5mongo14DBClientPaired4authERKSsS2_S2_RSs ]
DBClientPaired::call ( Message& toSend, Message& response, bool assertOk )
[ symbol: _ZN5mongo14DBClientPaired4callERNS_7MessageES2_b ]
DBClientPaired::callRead ( Message& toSend, Message& response )
[ symbol: _ZN5mongo14DBClientPaired8callReadERNS_7MessageES2_ ]
DBClientPaired::checkResponse ( char const* data, int nReturned )
[ symbol: _ZN5mongo14DBClientPaired13checkResponseEPKci ]
DBClientPaired::connect ( std::string const& serverHostname1, std::string const& serverHostname2 )
[ symbol: _ZN5mongo14DBClientPaired7connectERKSsS2_ ]
DBClientPaired::connect ( std::string hostpairstring )
[ symbol: _ZN5mongo14DBClientPaired7connectESs ]
DBClientPaired::DBClientPaired [in-charge] ( )
[ symbol: _ZN5mongo14DBClientPairedC1Ev ]
DBClientPaired::DBClientPaired [not-in-charge] ( )
[ symbol: _ZN5mongo14DBClientPairedC2Ev ]
DBClientPaired::findOne ( std::string const& ns, Query const& query, BSONObj const* fieldsToReturn, int queryOptions )
[ symbol: _ZN5mongo14DBClientPaired7findOneERKSsRKNS_5QueryEPKNS_7BSONObjEi ]
DBClientPaired::getServerAddress ( ) const
[ symbol: _ZNK5mongo14DBClientPaired16getServerAddressEv ]
DBClientPaired::insert ( std::string const& ns, BSONObj&restrict obj )
[ symbol: _ZN5mongo14DBClientPaired6insertERKSsNS_7BSONObjE ]
DBClientPaired::insert ( std::string const& ns, std::vector<BSONObj>const& v )
[ symbol: _ZN5mongo14DBClientPaired6insertERKSsRKSt6vectorINS_7BSONObjESaIS4_EE ]
DBClientPaired::isFailed ( ) const
[ symbol: _ZNK5mongo14DBClientPaired8isFailedEv ]
DBClientPaired::killCursor ( long long cursorID )
[ symbol: _ZN5mongo14DBClientPaired10killCursorEx ]
DBClientPaired::masterConn ( )
[ symbol: _ZN5mongo14DBClientPaired10masterConnEv ]
DBClientPaired::query ( std::string const& ns, Query query, int nToReturn, int nToSkip, BSONObj const* fieldsToReturn, int queryOptions, int batchSize )
[ symbol: _ZN5mongo14DBClientPaired5queryERKSsNS_5QueryEiiPKNS_7BSONObjEii ]
DBClientPaired::remove ( std::string const& ns, Query&restrict obj, bool justOne )
[ symbol: _ZN5mongo14DBClientPaired6removeERKSsNS_5QueryEb ]
DBClientPaired::say ( Message& toSend )
[ symbol: _ZN5mongo14DBClientPaired3sayERNS_7MessageE ]
DBClientPaired::sayPiggyBack ( Message& toSend )
[ symbol: _ZN5mongo14DBClientPaired12sayPiggyBackERNS_7MessageE ]
DBClientPaired::slaveConn ( )
[ symbol: _ZN5mongo14DBClientPaired9slaveConnEv ]
DBClientPaired::toString ( )
[ symbol: _ZN5mongo14DBClientPaired8toStringEv ]
DBClientPaired::update ( std::string const& ns, Query&restrict query, BSONObj&restrict obj, bool upsert, bool multi )
[ symbol: _ZN5mongo14DBClientPaired6updateERKSsNS_5QueryENS_7BSONObjEbb ]
DBClientPaired::~DBClientPaired [in-charge-deleting] ( )
[ symbol: _ZN5mongo14DBClientPairedD0Ev ]
DBClientPaired::~DBClientPaired [in-charge] ( )
[ symbol: _ZN5mongo14DBClientPairedD1Ev ]
vtable for DBClientPaired [data]
[ symbol: _ZTVN5mongo14DBClientPairedE ]
to the top
Problems with Data Types, High Severity (5)
dbclient.h
namespace mongo
[+] class ConnectionString (1)
| Change |
Effect |
1 | Size of this class has been changed from 20 bytes to 24 bytes. | 1) The class has only inline or auto-generated constructors which will be copied to applications at compile time and will allocate an older memory layout. Call of any exported method of this class may access a memory outside the allocated objects or inside the older memory structure and result in crash or incorrect behavior of applications. 2) The memory layout and size of subclasses will be changed. |
[+] affected symbols (1)
ConnectionString::connect ( std::string& errmsg ) constThis method is from 'ConnectionString' class.
[+] class DBClientBase (1)
| Change |
Effect |
1 | Pure virtual method DBClientBase::type ( ) const has been added to this class. | 1) Applications will not provide the implementation for this pure virtual method and therefore cause a crash in the library trying to call this method. 2) 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) - 39 entries | Virtual Table (New) - 40 entries |
---|
0 | (int (*)(...))0 | (int (*)(...))0 |
4 | (int (*)(...))(& typeinfo) | (int (*)(...))(& typeinfo) |
8 | DBClientBase::query | DBClientBase::query |
12 | DBClientBase::getMore | DBClientBase::getMore |
16 | DBClientBase::insert | DBClientBase::insert |
20 | DBClientBase::insert | DBClientBase::insert |
24 | DBClientBase::remove | DBClientBase::remove |
28 | DBClientBase::update | DBClientBase::update |
32 | ~DBClientBase | ~DBClientBase |
36 | ~DBClientBase | ~DBClientBase |
40 | DBClientInterface::findOne | DBClientInterface::findOne |
44 | DBClientWithCommands::runCommand | DBClientWithCommands::runCommand |
48 | DBClientWithCommands::auth | DBClientWithCommands::auth |
52 | DBClientWithCommands::isMaster | DBClientWithCommands::isMaster |
56 | DBClientWithCommands::getLastErrorDetailed | DBClientWithCommands::getLastErrorDetailed |
60 | DBClientWithCommands::dropCollection | DBClientWithCommands::dropCollection |
64 | DBClientWithCommands::ensureIndex | DBClientWithCommands::ensureIndex |
68 | DBClientWithCommands::resetIndexCache | DBClientWithCommands::resetIndexCache |
72 | DBClientWithCommands::getIndexes | DBClientWithCommands::getIndexes |
76 | DBClientWithCommands::dropIndex | DBClientWithCommands::dropIndex |
80 | DBClientWithCommands::dropIndex | DBClientWithCommands::dropIndex |
84 | DBClientWithCommands::dropIndexes | DBClientWithCommands::dropIndexes |
88 | DBClientWithCommands::reIndex | DBClientWithCommands::reIndex |
92 | DBClientWithCommands::dropDatabase | DBClientWithCommands::dropDatabase |
96 | __cxa_pure_virtual | __cxa_pure_virtual |
100 | __cxa_pure_virtual | __cxa_pure_virtual |
104 | __cxa_pure_virtual | __cxa_pure_virtual |
108 | __cxa_pure_virtual | __cxa_pure_virtual |
112 | __cxa_pure_virtual | __cxa_pure_virtual |
116 | __cxa_pure_virtual | __cxa_pure_virtual |
120 | (int (*)(...))-0x000000028 | __cxa_pure_virtual |
124 | (int (*)(...))(& typeinfo) | (int (*)(...))-0x000000028 |
128 | non-virtual thunk | (int (*)(...))(& typeinfo) |
132 | non-virtual thunk | non-virtual thunk |
136 | __cxa_pure_virtual | non-virtual thunk |
140 | __cxa_pure_virtual | __cxa_pure_virtual |
144 | __cxa_pure_virtual | __cxa_pure_virtual |
148 | DBConnector::checkResponse | __cxa_pure_virtual |
152 | DBConnector::recv | DBConnector::checkResponse |
156 | | DBConnector::recv |
[+] affected symbols (12)
DBClientBase::callRead ( Message& toSend, Message& response )This method is from 'DBClientBase' class.
DBClientBase::getMore ( std::string const& ns, long long cursorId, int nToReturn, int options )This method is from 'DBClientBase' class.
DBClientBase::getServerAddress ( ) constThis method is from 'DBClientBase' class.
DBClientBase::insert ( std::string const& ns, BSONObj obj )This method is from 'DBClientBase' class.
DBClientBase::insert ( std::string const& ns, std::vector<BSONObj>const& v )This method is from 'DBClientBase' class.
DBClientBase::isFailed ( ) constThis method is from 'DBClientBase' class.
DBClientBase::killCursor ( long long cursorID )This method is from 'DBClientBase' class.
DBClientBase::query ( std::string const& ns, Query query, int nToReturn, int nToSkip, BSONObj const* fieldsToReturn, int queryOptions, int batchSize )This method is from 'DBClientBase' class.
DBClientBase::remove ( std::string const& ns, Query q, bool justOne )This method is from 'DBClientBase' class.
DBClientBase::say ( Message& toSend )This method is from 'DBClientBase' class.
DBClientBase::update ( std::string const& ns, Query query, BSONObj obj, bool upsert, bool multi )This method is from 'DBClientBase' class.
DBClientBase::~DBClientBase [in-charge] ( )This method is from 'DBClientBase' class.
[+] class DBClientConnection (1)
| Change |
Effect |
1 | Size of this class has been changed from 100 bytes to 112 bytes. | 1) The class has only inline or auto-generated constructors which will be copied to applications at compile time and will allocate an older memory layout. Call of any exported method of this class may access a memory outside the allocated objects or inside the older memory structure and result in crash or incorrect behavior of applications. 2) The memory layout and size of subclasses will be changed. |
[+] affected symbols (15)
DBClientConnection::auth ( std::string const& dbname, std::string const& username, std::string const& pwd, std::string& errmsg, bool digestPassword )This method is from 'DBClientConnection' class.
DBClientConnection::call ( Message& toSend, Message& response, bool assertOk )This method is from 'DBClientConnection' class.
DBClientConnection::callRead ( Message& toSend, Message& response )This method is from 'DBClientConnection' class.
DBClientConnection::checkResponse ( char const* data, int nReturned )This method is from 'DBClientConnection' class.
DBClientConnection::getServerAddress ( ) constThis method is from 'DBClientConnection' class.
DBClientConnection::isFailed ( ) constThis method is from 'DBClientConnection' class.
DBClientConnection::killCursor ( long long cursorID )This method is from 'DBClientConnection' class.
DBClientConnection::query ( boost::function<void(BSONObj const&)> f, std::string const& ns, Query query, BSONObj const* fieldsToReturn, int queryOptions )This method is from 'DBClientConnection' class.
DBClientConnection::query ( boost::function<void(DBClientCursorBatchIterator&)> f, std::string const& ns, Query query, BSONObj const* fieldsToReturn, int queryOptions )This method is from 'DBClientConnection' class.
DBClientConnection::query ( std::string const& ns, Query&restrict query, int nToReturn, int nToSkip, BSONObj const* fieldsToReturn, int queryOptions, int batchSize )This method is from 'DBClientConnection' class.
DBClientConnection::recv ( Message& m )This method is from 'DBClientConnection' class.
DBClientConnection::say ( Message& toSend )This method is from 'DBClientConnection' class.
DBClientConnection::sayPiggyBack ( Message& toSend )This method is from 'DBClientConnection' class.
DBClientConnection::toString ( )This method is from 'DBClientConnection' class.
DBClientConnection::~DBClientConnection [in-charge] ( )This method is from 'DBClientConnection' class.
message.h
namespace mongo
[+] class SocketException (1)
| Change |
Effect |
1 | Size of this class has been changed from 12 bytes to 16 bytes. | 1) The class has only inline or auto-generated constructors which will be copied to applications at compile time and will allocate an older memory layout. Call of any exported method of this class may access a memory outside the allocated objects or inside the older memory structure and result in crash or incorrect behavior of applications. 2) The memory layout and size of subclasses will be changed. |
[+] affected symbols (1)
SocketException::~SocketException [in-charge] ( )This method is from 'SocketException' class.
mmap.h
namespace mongo
[+] class MongoFile (1)
| Change |
Effect |
1 | Pure virtual method MongoFile::prepareFlush ( ) has been added to this class. | 1) Applications will not provide the implementation for this pure virtual method and therefore cause a crash in the library trying to call this method. 2) 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) - 9 entries | Virtual Table (New) - 10 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 | MongoFile::_lock | __cxa_pure_virtual |
20 | MongoFile::_unlock | MongoFile::_lock |
24 | ~MongoFile | MongoFile::_unlock |
28 | ~MongoFile | ~MongoFile |
32 | __cxa_pure_virtual | ~MongoFile |
36 | | __cxa_pure_virtual |
[+] affected symbols (11)
MongoFile::_lock ( )This method is from 'MongoFile' class.
MongoFile::_unlock ( )This method is from 'MongoFile' class.
MongoFile::close ( )This method is from 'MongoFile' class.
MongoFile::closeAllFiles ( std::stringstream& message ) [static]This method is from 'MongoFile' class.
MongoFile::created ( )This method is from 'MongoFile' class.
MongoFile::destroyed ( )This method is from 'MongoFile' class.
MongoFile::flush ( bool sync )This method is from 'MongoFile' class.
MongoFile::flushAll ( bool sync ) [static]This method is from 'MongoFile' class.
MongoFile::length ( )This method is from 'MongoFile' class.
MongoFile::totalMappedLength ( ) [static]This method is from 'MongoFile' class.
MongoFile::~MongoFile [in-charge] ( )This method is from 'MongoFile' class.
to the top
Problems with Symbols, High Severity (1)
dbclient.h,
libmongoclient.so
namespace mongo
[+] DBClientConnection::connect ( std::string const& serverHostname, std::string& errmsg ) (1)
changed to:DBClientConnection::connect ( HostAndPort const& server, std::string& errmsg )
| Change | Effect |
---|
1 | Parameters list has been changed. | The name of the appropriate symbol for this function on binary level has been changed from _ZN5mongo18DBClientConnection7connectERKSsRSs to _ZN5mongo18DBClientConnection7connectERKNS_11HostAndPortERSs. This may cause "undefined reference" linker error in old client applications. |
to the top
Problems with Data Types, Medium Severity (5)
cmdline.h
namespace mongo
[+] class CmdLine (1)
| Change |
Effect |
1 | Field bind_ip has been added at the middle position of this structural type. | 1) Size of the inclusive type has been changed. 2) Layout of structure fields has been changed and therefore fields at higher positions of the structure definition may be incorrectly accessed by applications. |
[+] affected symbols (1)
cmdLine [data]Return value has type 'CmdLine'.
dbclient.h
namespace mongo
[+] class DBClientConnection (2)
| Change |
Effect |
1 | Virtual method DBClientConnection::connect ( HostAndPort const& server, std::string& errmsg ) has been added to this class. | The layout of v-table has been changed. This leaf class has no exported constructors and therefore applications will copy an old v-table of the class that will not contain a pointer to added virtual method. Call of any method in this class may result in crash or incorrect behavior of applications. NOTE: if new virtual method is called only from other new methods, then binary compatibility should not be affected. |
2 | Virtual method DBClientConnection::connect ( char const* hostname, std::string& errmsg ) has been added to this class instead of DBClientConnection::connect ( std::string const& serverHostname, std::string& errmsg ). | Applications will pass parameters of older replaced method to newly added virtual method. This may result in crash or incorrect behavior of applications. |
[+] show v-table (old and new)
Offset | Virtual Table (Old) - 44 entries | Virtual Table (New) - 46 entries |
---|
0 | (int (*)(...))0 | (int (*)(...))0 |
4 | (int (*)(...))(& typeinfo) | (int (*)(...))(& typeinfo) |
8 | DBClientConnection::query | DBClientConnection::query |
12 | DBClientBase::getMore | DBClientBase::getMore |
16 | DBClientBase::insert | DBClientBase::insert |
20 | DBClientBase::insert | DBClientBase::insert |
24 | DBClientBase::remove | DBClientBase::remove |
28 | DBClientBase::update | DBClientBase::update |
32 | ~DBClientConnection | ~DBClientConnection |
36 | ~DBClientConnection | ~DBClientConnection |
40 | DBClientInterface::findOne | DBClientInterface::findOne |
44 | DBClientWithCommands::runCommand | DBClientWithCommands::runCommand |
48 | DBClientConnection::auth | DBClientConnection::auth |
52 | DBClientWithCommands::isMaster | DBClientWithCommands::isMaster |
56 | DBClientWithCommands::getLastErrorDetailed | DBClientWithCommands::getLastErrorDetailed |
60 | DBClientWithCommands::dropCollection | DBClientWithCommands::dropCollection |
64 | DBClientWithCommands::ensureIndex | DBClientWithCommands::ensureIndex |
68 | DBClientWithCommands::resetIndexCache | DBClientWithCommands::resetIndexCache |
72 | DBClientWithCommands::getIndexes | DBClientWithCommands::getIndexes |
76 | DBClientWithCommands::dropIndex | DBClientWithCommands::dropIndex |
80 | DBClientWithCommands::dropIndex | DBClientWithCommands::dropIndex |
84 | DBClientWithCommands::dropIndexes | DBClientWithCommands::dropIndexes |
88 | DBClientWithCommands::reIndex | DBClientWithCommands::reIndex |
92 | DBClientWithCommands::dropDatabase | DBClientWithCommands::dropDatabase |
96 | DBClientConnection::toString | DBClientConnection::toString |
100 | DBClientConnection::getServerAddress | DBClientConnection::getServerAddress |
104 | DBClientConnection::isFailed | DBClientConnection::isFailed |
108 | DBClientConnection::killCursor | DBClientConnection::killCursor |
112 | DBClientConnection::callRead | DBClientConnection::callRead |
116 | DBClientConnection::say | DBClientConnection::say |
120 | DBClientConnection::connect | DBClientConnection::type |
124 | DBClientConnection::recv | DBClientConnection::connect |
128 | DBClientConnection::call | DBClientConnection::connect |
132 | DBClientConnection::sayPiggyBack | DBClientConnection::call |
136 | DBClientConnection::checkResponse | DBClientConnection::recv |
140 | (int (*)(...))-0x000000028 | DBClientConnection::sayPiggyBack |
144 | (int (*)(...))(& typeinfo) | DBClientConnection::checkResponse |
148 | non-virtual thunk | (int (*)(...))-0x000000028 |
152 | non-virtual thunk | (int (*)(...))(& typeinfo) |
156 | non-virtual thunk | non-virtual thunk |
160 | non-virtual thunk | non-virtual thunk |
164 | non-virtual thunk | non-virtual thunk |
168 | non-virtual thunk | non-virtual thunk |
172 | non-virtual thunk | non-virtual thunk |
176 | | non-virtual thunk |
180 | | non-virtual thunk |
[+] affected symbols (16)
DBClientConnection::auth ( std::string const& dbname, std::string const& username, std::string const& pwd, std::string& errmsg, bool digestPassword )This method is from 'DBClientConnection' class.
DBClientConnection::call ( Message& toSend, Message& response, bool assertOk )This method is from 'DBClientConnection' class.
DBClientConnection::callRead ( Message& toSend, Message& response )This method is from 'DBClientConnection' class.
DBClientConnection::checkResponse ( char const* data, int nReturned )This method is from 'DBClientConnection' class.
DBClientConnection::connect ( std::string const& serverHostname, std::string& errmsg )This method is from 'DBClientConnection' class.
DBClientConnection::getServerAddress ( ) constThis method is from 'DBClientConnection' class.
DBClientConnection::isFailed ( ) constThis method is from 'DBClientConnection' class.
DBClientConnection::killCursor ( long long cursorID )This method is from 'DBClientConnection' class.
DBClientConnection::query ( boost::function<void(BSONObj const&)> f, std::string const& ns, Query query, BSONObj const* fieldsToReturn, int queryOptions )This method is from 'DBClientConnection' class.
DBClientConnection::query ( boost::function<void(DBClientCursorBatchIterator&)> f, std::string const& ns, Query query, BSONObj const* fieldsToReturn, int queryOptions )This method is from 'DBClientConnection' class.
DBClientConnection::query ( std::string const& ns, Query&restrict query, int nToReturn, int nToSkip, BSONObj const* fieldsToReturn, int queryOptions, int batchSize )This method is from 'DBClientConnection' class.
DBClientConnection::recv ( Message& m )This method is from 'DBClientConnection' class.
DBClientConnection::say ( Message& toSend )This method is from 'DBClientConnection' class.
DBClientConnection::sayPiggyBack ( Message& toSend )This method is from 'DBClientConnection' class.
DBClientConnection::toString ( )This method is from 'DBClientConnection' class.
DBClientConnection::~DBClientConnection [in-charge] ( )This method is from 'DBClientConnection' class.
mmap.h
namespace mongo
[+] class MemoryMappedFile (1)
| Change |
Effect |
1 | The layout of v-table has been changed for unknown reason. | Call of any method in this class may result in crash or incorrect behavior of applications. |
[+] show v-table (old and new)
Offset | Virtual Table (Old) - 9 entries | Virtual Table (New) - 10 entries |
---|
0 | (int (*)(...))0 | (int (*)(...))0 |
4 | (int (*)(...))(& typeinfo) | (int (*)(...))(& typeinfo) |
8 | MemoryMappedFile::close | MemoryMappedFile::close |
12 | MemoryMappedFile::flush | MemoryMappedFile::flush |
16 | MemoryMappedFile::_lock | MemoryMappedFile::prepareFlush |
20 | MemoryMappedFile::_unlock | MemoryMappedFile::_lock |
24 | ~MemoryMappedFile | MemoryMappedFile::_unlock |
28 | ~MemoryMappedFile | ~MemoryMappedFile |
32 | MemoryMappedFile::length | ~MemoryMappedFile |
36 | | MemoryMappedFile::length |
[+] affected symbols (9)
MemoryMappedFile::_lock ( )This method is from 'MemoryMappedFile' class.
MemoryMappedFile::_unlock ( )This method is from 'MemoryMappedFile' class.
MemoryMappedFile::close ( )This method is from 'MemoryMappedFile' class.
MemoryMappedFile::flush ( bool sync )This method is from 'MemoryMappedFile' class.
MemoryMappedFile::length ( )This method is from 'MemoryMappedFile' class.
MemoryMappedFile::map ( char const* filename )This method is from 'MemoryMappedFile' class.
MemoryMappedFile::map ( char const* filename, long& length, int options )This method is from 'MemoryMappedFile' class.
MemoryMappedFile::MemoryMappedFile [in-charge] ( )This constructor is from 'MemoryMappedFile' class.
MemoryMappedFile::~MemoryMappedFile [in-charge] ( )This method is from 'MemoryMappedFile' class.
ramstore.h
namespace mongo
[+] class RamStoreFile (1)
| Change |
Effect |
1 | The layout of v-table has been changed for unknown reason. | Call of any method in this class may result in crash or incorrect behavior of applications. |
[+] show v-table (old and new)
Offset | Virtual Table (Old) - 9 entries | Virtual Table (New) - 10 entries |
---|
0 | (int (*)(...))0 | (int (*)(...))0 |
4 | (int (*)(...))(& typeinfo) | (int (*)(...))(& typeinfo) |
8 | RamStoreFile::close | RamStoreFile::close |
12 | RamStoreFile::flush | RamStoreFile::flush |
16 | MongoFile::_lock | __cxa_pure_virtual |
20 | MongoFile::_unlock | MongoFile::_lock |
24 | ~RamStoreFile | MongoFile::_unlock |
28 | ~RamStoreFile | ~RamStoreFile |
32 | RamStoreFile::length | ~RamStoreFile |
36 | | RamStoreFile::length |
[+] affected symbols (5)
RamStoreFile::close ( )This method is from 'RamStoreFile' class.
RamStoreFile::flush ( bool sync )This method is from 'RamStoreFile' class.
RamStoreFile::length ( )This method is from 'RamStoreFile' class.
RamStoreFile::RamStoreFile [in-charge] ( )This constructor is from 'RamStoreFile' class.
RamStoreFile::~RamStoreFile [in-charge] ( )This method is from 'RamStoreFile' class.
to the top
Problems with Symbols, Medium Severity (1)
cmdline.h,
libmongoclient.so
namespace mongo
[+] cmdLine [data] (1)
[ symbol: _ZN5mongo7cmdLineE ]
| Change | Effect |
---|
1 | Size of this global data has been changed from 60 bytes to 64 bytes. | Applications will obtain a different value and execution may change. |
to the top
Problems with Data Types, Low Severity (8)
cmdline.h
namespace mongo
[+] class CmdLine (1)
| Change |
Effect |
1 | Size of this type has been changed from 60 bytes to 64 bytes. | The fields or parameters of such data type may be incorrectly initialized or accessed by old client applications. |
[+] affected symbols (1)
cmdLine [data]Return value has type 'CmdLine'.
dbclient.h
namespace mongo
[+] class ConnectionString (1)
| Change |
Effect |
1 | Field _setName has been added to this type. | 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. |
[+] affected symbols (1)
ConnectionString::connect ( std::string& errmsg ) constThis method is from 'ConnectionString' class.
[+] class DBClientConnection (5)
| Change |
Effect |
1 | Field _port has been added to this type. | 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 | Field _serverString has been added to this type. | 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. |
3 | The relative position of private field _timeout has been changed from 7 to 8. | Size of the inclusive type has been changed. |
4 | The relative position of private field authCache has been changed from 6 to 7. | Size of the inclusive type has been changed. |
5 | Field serverAddress has been removed from this type. | Size of the inclusive type has been changed. |
[+] affected symbols (15)
DBClientConnection::auth ( std::string const& dbname, std::string const& username, std::string const& pwd, std::string& errmsg, bool digestPassword )This method is from 'DBClientConnection' class.
DBClientConnection::call ( Message& toSend, Message& response, bool assertOk )This method is from 'DBClientConnection' class.
DBClientConnection::callRead ( Message& toSend, Message& response )This method is from 'DBClientConnection' class.
DBClientConnection::checkResponse ( char const* data, int nReturned )This method is from 'DBClientConnection' class.
DBClientConnection::getServerAddress ( ) constThis method is from 'DBClientConnection' class.
DBClientConnection::isFailed ( ) constThis method is from 'DBClientConnection' class.
DBClientConnection::killCursor ( long long cursorID )This method is from 'DBClientConnection' class.
DBClientConnection::query ( boost::function<void(BSONObj const&)> f, std::string const& ns, Query query, BSONObj const* fieldsToReturn, int queryOptions )This method is from 'DBClientConnection' class.
DBClientConnection::query ( boost::function<void(DBClientCursorBatchIterator&)> f, std::string const& ns, Query query, BSONObj const* fieldsToReturn, int queryOptions )This method is from 'DBClientConnection' class.
DBClientConnection::query ( std::string const& ns, Query&restrict query, int nToReturn, int nToSkip, BSONObj const* fieldsToReturn, int queryOptions, int batchSize )This method is from 'DBClientConnection' class.
DBClientConnection::recv ( Message& m )This method is from 'DBClientConnection' class.
DBClientConnection::say ( Message& toSend )This method is from 'DBClientConnection' class.
DBClientConnection::sayPiggyBack ( Message& toSend )This method is from 'DBClientConnection' class.
DBClientConnection::toString ( )This method is from 'DBClientConnection' class.
DBClientConnection::~DBClientConnection [in-charge] ( )This method is from 'DBClientConnection' class.
message.h
namespace mongo
[+] class SocketException (1)
| Change |
Effect |
1 | Field type has been added to this type. | 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. |
[+] affected symbols (1)
SocketException::~SocketException [in-charge] ( )This method is from 'SocketException' class.
to the top
Header Files (1)
dbclient.h
to the top
Shared Libraries (1)
libmongoclient.so
to the top