2011-08-20 14:00:03 +08:00
|
|
|
//=-- ExprEngineObjC.cpp - ExprEngine support for Objective-C ---*- C++ -*-===//
|
|
|
|
//
|
2019-01-19 16:50:56 +08:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2011-08-20 14:00:03 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file defines ExprEngine's support for Objective-C expressions.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2012-01-28 20:06:22 +08:00
|
|
|
#include "clang/AST/StmtObjC.h"
|
2011-08-20 14:00:03 +08:00
|
|
|
#include "clang/StaticAnalyzer/Core/CheckerManager.h"
|
2012-07-27 05:39:41 +08:00
|
|
|
#include "clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h"
|
2011-08-20 14:00:03 +08:00
|
|
|
#include "clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h"
|
|
|
|
|
|
|
|
using namespace clang;
|
|
|
|
using namespace ento;
|
|
|
|
|
2015-09-08 11:50:52 +08:00
|
|
|
void ExprEngine::VisitLvalObjCIvarRefExpr(const ObjCIvarRefExpr *Ex,
|
2011-08-20 14:00:03 +08:00
|
|
|
ExplodedNode *Pred,
|
|
|
|
ExplodedNodeSet &Dst) {
|
2012-01-27 05:29:00 +08:00
|
|
|
ProgramStateRef state = Pred->getState();
|
2012-01-07 06:09:28 +08:00
|
|
|
const LocationContext *LCtx = Pred->getLocationContext();
|
|
|
|
SVal baseVal = state->getSVal(Ex->getBase(), LCtx);
|
2011-08-20 14:00:03 +08:00
|
|
|
SVal location = state->getLValue(Ex->getDecl(), baseVal);
|
2015-09-08 11:50:52 +08:00
|
|
|
|
2011-08-20 14:00:03 +08:00
|
|
|
ExplodedNodeSet dstIvar;
|
2012-10-02 03:07:22 +08:00
|
|
|
StmtNodeBuilder Bldr(Pred, dstIvar, *currBldrCtx);
|
|
|
|
Bldr.generateNode(Ex, Pred, state->BindExpr(Ex, LCtx, location));
|
2015-09-08 11:50:52 +08:00
|
|
|
|
2011-08-20 14:00:03 +08:00
|
|
|
// Perform the post-condition check of the ObjCIvarRefExpr and store
|
|
|
|
// the created nodes in 'Dst'.
|
|
|
|
getCheckerManager().runCheckersForPostStmt(Dst, dstIvar, Ex, *this);
|
|
|
|
}
|
|
|
|
|
|
|
|
void ExprEngine::VisitObjCAtSynchronizedStmt(const ObjCAtSynchronizedStmt *S,
|
|
|
|
ExplodedNode *Pred,
|
|
|
|
ExplodedNodeSet &Dst) {
|
|
|
|
getCheckerManager().runCheckersForPreStmt(Dst, Pred, S, *this);
|
|
|
|
}
|
|
|
|
|
2018-03-08 10:53:39 +08:00
|
|
|
/// Generate a node in \p Bldr for an iteration statement using ObjC
|
|
|
|
/// for-loop iterator.
|
|
|
|
static void populateObjCForDestinationSet(
|
|
|
|
ExplodedNodeSet &dstLocation, SValBuilder &svalBuilder,
|
|
|
|
const ObjCForCollectionStmt *S, const Stmt *elem, SVal elementV,
|
|
|
|
SymbolManager &SymMgr, const NodeBuilderContext *currBldrCtx,
|
|
|
|
StmtNodeBuilder &Bldr, bool hasElements) {
|
|
|
|
|
|
|
|
for (ExplodedNode *Pred : dstLocation) {
|
|
|
|
ProgramStateRef state = Pred->getState();
|
|
|
|
const LocationContext *LCtx = Pred->getLocationContext();
|
|
|
|
|
[analyzer][NFC] Don't bind values to ObjCForCollectionStmt, replace it with a GDM trait
Based on the discussion in D82598#2171312. Thanks @NoQ!
D82598 is titled "Get rid of statement liveness, because such a thing doesn't
exist", and indeed, expressions express a value, non-expression statements
don't.
if (a && get() || []{ return true; }())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ has a value
~ has a value
~~~~~~~~~~ has a value
~~~~~~~~~~~~~~~~~~~~ has a value
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ doesn't have a value
That is simple enough, so it would only make sense if we only assigned symbolic
values to expressions in the static analyzer. Yet the interface checkers can
access presents, among other strange things, the following two methods:
ProgramState::BindExpr(const Stmt *S, const LocationContext *LCtx, SVal V,
bool Invalidate=true)
ProgramState::getSVal(const Stmt *S, const LocationContext *LCtx)
So, what gives? Turns out, we make an exception for ReturnStmt (which we'll
leave for another time) and ObjCForCollectionStmt. For any other loops, in order
to know whether we should analyze another iteration, among other things, we
evaluate it's condition. Which is a problem for ObjCForCollectionStmt, because
it simply doesn't have one (CXXForRangeStmt has an implicit one!). In its
absence, we assigned the actual statement with a concrete 1 or 0 to indicate
whether there are any more iterations left. However, this is wildly incorrect,
its just simply not true that the for statement has a value of 1 or 0, we can't
calculate its liveness because that doesn't make any sense either, so this patch
turns it into a GDM trait.
Fixing this allows us to reinstate the assert removed in
https://reviews.llvm.org/rG032b78a0762bee129f33e4255ada6d374aa70c71.
Differential Revision: https://reviews.llvm.org/D86736
2020-09-11 21:51:25 +08:00
|
|
|
ProgramStateRef nextState =
|
|
|
|
ExprEngine::setWhetherHasMoreIteration(state, S, LCtx, hasElements);
|
2018-03-08 10:53:39 +08:00
|
|
|
|
|
|
|
if (auto MV = elementV.getAs<loc::MemRegionVal>())
|
|
|
|
if (const auto *R = dyn_cast<TypedValueRegion>(MV->getRegion())) {
|
|
|
|
// FIXME: The proper thing to do is to really iterate over the
|
|
|
|
// container. We will do this with dispatch logic to the store.
|
|
|
|
// For now, just 'conjure' up a symbolic value.
|
|
|
|
QualType T = R->getValueType();
|
|
|
|
assert(Loc::isLocType(T));
|
|
|
|
|
|
|
|
SVal V;
|
|
|
|
if (hasElements) {
|
|
|
|
SymbolRef Sym = SymMgr.conjureSymbol(elem, LCtx, T,
|
|
|
|
currBldrCtx->blockCount());
|
|
|
|
V = svalBuilder.makeLoc(Sym);
|
|
|
|
} else {
|
|
|
|
V = svalBuilder.makeIntVal(0, T);
|
|
|
|
}
|
|
|
|
|
|
|
|
nextState = nextState->bindLoc(elementV, V, LCtx);
|
|
|
|
}
|
|
|
|
|
|
|
|
Bldr.generateNode(S, Pred, nextState);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-08-20 14:00:03 +08:00
|
|
|
void ExprEngine::VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S,
|
|
|
|
ExplodedNode *Pred,
|
|
|
|
ExplodedNodeSet &Dst) {
|
2015-09-08 11:50:52 +08:00
|
|
|
|
2011-08-20 14:00:03 +08:00
|
|
|
// ObjCForCollectionStmts are processed in two places. This method
|
|
|
|
// handles the case where an ObjCForCollectionStmt* occurs as one of the
|
|
|
|
// statements within a basic block. This transfer function does two things:
|
|
|
|
//
|
|
|
|
// (1) binds the next container value to 'element'. This creates a new
|
|
|
|
// node in the ExplodedGraph.
|
|
|
|
//
|
[analyzer][NFC] Don't bind values to ObjCForCollectionStmt, replace it with a GDM trait
Based on the discussion in D82598#2171312. Thanks @NoQ!
D82598 is titled "Get rid of statement liveness, because such a thing doesn't
exist", and indeed, expressions express a value, non-expression statements
don't.
if (a && get() || []{ return true; }())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ has a value
~ has a value
~~~~~~~~~~ has a value
~~~~~~~~~~~~~~~~~~~~ has a value
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ doesn't have a value
That is simple enough, so it would only make sense if we only assigned symbolic
values to expressions in the static analyzer. Yet the interface checkers can
access presents, among other strange things, the following two methods:
ProgramState::BindExpr(const Stmt *S, const LocationContext *LCtx, SVal V,
bool Invalidate=true)
ProgramState::getSVal(const Stmt *S, const LocationContext *LCtx)
So, what gives? Turns out, we make an exception for ReturnStmt (which we'll
leave for another time) and ObjCForCollectionStmt. For any other loops, in order
to know whether we should analyze another iteration, among other things, we
evaluate it's condition. Which is a problem for ObjCForCollectionStmt, because
it simply doesn't have one (CXXForRangeStmt has an implicit one!). In its
absence, we assigned the actual statement with a concrete 1 or 0 to indicate
whether there are any more iterations left. However, this is wildly incorrect,
its just simply not true that the for statement has a value of 1 or 0, we can't
calculate its liveness because that doesn't make any sense either, so this patch
turns it into a GDM trait.
Fixing this allows us to reinstate the assert removed in
https://reviews.llvm.org/rG032b78a0762bee129f33e4255ada6d374aa70c71.
Differential Revision: https://reviews.llvm.org/D86736
2020-09-11 21:51:25 +08:00
|
|
|
// (2) note whether the collection has any more elements (or in other words,
|
|
|
|
// whether the loop has more iterations). This will be tested in
|
|
|
|
// processBranch.
|
2011-08-20 14:00:03 +08:00
|
|
|
//
|
|
|
|
// FIXME: Eventually this logic should actually do dispatches to
|
|
|
|
// 'countByEnumeratingWithState:objects:count:' (NSFastEnumeration).
|
|
|
|
// This will require simulating a temporary NSFastEnumerationState, either
|
|
|
|
// through an SVal or through the use of MemRegions. This value can
|
|
|
|
// be affixed to the ObjCForCollectionStmt* instead of 0/1; when the loop
|
|
|
|
// terminates we reclaim the temporary (it goes out of scope) and we
|
|
|
|
// we can test if the SVal is 0 or if the MemRegion is null (depending
|
|
|
|
// on what approach we take).
|
|
|
|
//
|
|
|
|
// For now: simulate (1) by assigning either a symbol or nil if the
|
|
|
|
// container is empty. Thus this transfer function will by default
|
|
|
|
// result in state splitting.
|
2011-10-25 02:26:19 +08:00
|
|
|
|
2011-08-20 14:00:03 +08:00
|
|
|
const Stmt *elem = S->getElement();
|
2018-03-08 10:53:39 +08:00
|
|
|
const Stmt *collection = S->getCollection();
|
2012-01-27 05:29:00 +08:00
|
|
|
ProgramStateRef state = Pred->getState();
|
2018-03-08 10:53:39 +08:00
|
|
|
SVal collectionV = state->getSVal(collection, Pred->getLocationContext());
|
2015-09-08 11:50:52 +08:00
|
|
|
|
2018-03-08 10:53:39 +08:00
|
|
|
SVal elementV;
|
|
|
|
if (const auto *DS = dyn_cast<DeclStmt>(elem)) {
|
2011-08-20 14:00:03 +08:00
|
|
|
const VarDecl *elemD = cast<VarDecl>(DS->getSingleDecl());
|
2014-05-27 10:45:47 +08:00
|
|
|
assert(elemD->getInit() == nullptr);
|
2011-08-20 14:00:03 +08:00
|
|
|
elementV = state->getLValue(elemD, Pred->getLocationContext());
|
2018-03-08 10:53:39 +08:00
|
|
|
} else {
|
2012-01-07 06:09:28 +08:00
|
|
|
elementV = state->getSVal(elem, Pred->getLocationContext());
|
2011-08-20 14:00:03 +08:00
|
|
|
}
|
2015-09-08 11:50:52 +08:00
|
|
|
|
2018-03-08 10:53:39 +08:00
|
|
|
bool isContainerNull = state->isNull(collectionV).isConstrainedTrue();
|
|
|
|
|
2011-08-20 14:00:03 +08:00
|
|
|
ExplodedNodeSet dstLocation;
|
2018-09-29 02:49:41 +08:00
|
|
|
evalLocation(dstLocation, S, elem, Pred, state, elementV, false);
|
2012-06-12 00:40:41 +08:00
|
|
|
|
|
|
|
ExplodedNodeSet Tmp;
|
2012-08-22 14:26:15 +08:00
|
|
|
StmtNodeBuilder Bldr(Pred, Tmp, *currBldrCtx);
|
2012-06-12 00:40:41 +08:00
|
|
|
|
2018-03-08 10:53:39 +08:00
|
|
|
if (!isContainerNull)
|
|
|
|
populateObjCForDestinationSet(dstLocation, svalBuilder, S, elem, elementV,
|
|
|
|
SymMgr, currBldrCtx, Bldr,
|
|
|
|
/*hasElements=*/true);
|
2013-02-20 13:52:05 +08:00
|
|
|
|
2018-03-08 10:53:39 +08:00
|
|
|
populateObjCForDestinationSet(dstLocation, svalBuilder, S, elem, elementV,
|
|
|
|
SymMgr, currBldrCtx, Bldr,
|
|
|
|
/*hasElements=*/false);
|
2012-06-12 00:40:41 +08:00
|
|
|
|
|
|
|
// Finally, run any custom checkers.
|
|
|
|
// FIXME: Eventually all pre- and post-checks should live in VisitStmt.
|
|
|
|
getCheckerManager().runCheckersForPostStmt(Dst, Tmp, S, *this);
|
2011-08-20 14:00:03 +08:00
|
|
|
}
|
|
|
|
|
2012-07-31 04:22:09 +08:00
|
|
|
void ExprEngine::VisitObjCMessage(const ObjCMessageExpr *ME,
|
2011-08-20 14:00:03 +08:00
|
|
|
ExplodedNode *Pred,
|
|
|
|
ExplodedNodeSet &Dst) {
|
2012-07-31 04:22:09 +08:00
|
|
|
CallEventManager &CEMgr = getStateManager().getCallEventManager();
|
|
|
|
CallEventRef<ObjCMethodCall> Msg =
|
|
|
|
CEMgr.getObjCMethodCall(ME, Pred->getState(), Pred->getLocationContext());
|
|
|
|
|
2015-09-15 09:13:53 +08:00
|
|
|
// There are three cases for the receiver:
|
|
|
|
// (1) it is definitely nil,
|
|
|
|
// (2) it is definitely non-nil, and
|
|
|
|
// (3) we don't know.
|
|
|
|
//
|
|
|
|
// If the receiver is definitely nil, we skip the pre/post callbacks and
|
|
|
|
// instead call the ObjCMessageNil callbacks and return.
|
|
|
|
//
|
|
|
|
// If the receiver is definitely non-nil, we call the pre- callbacks,
|
|
|
|
// evaluate the call, and call the post- callbacks.
|
|
|
|
//
|
|
|
|
// If we don't know, we drop the potential nil flow and instead
|
|
|
|
// continue from the assumed non-nil state as in (2). This approach
|
|
|
|
// intentionally drops coverage in order to prevent false alarms
|
|
|
|
// in the following scenario:
|
|
|
|
//
|
|
|
|
// id result = [o someMethod]
|
|
|
|
// if (result) {
|
|
|
|
// if (!o) {
|
|
|
|
// // <-- This program point should be unreachable because if o is nil
|
|
|
|
// // it must the case that result is nil as well.
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// We could avoid dropping coverage by performing an explicit case split
|
|
|
|
// on each method call -- but this would get very expensive. An alternative
|
|
|
|
// would be to introduce lazy constraints.
|
|
|
|
// FIXME: This ignores many potential bugs (<rdar://problem/11733396>).
|
|
|
|
// Revisit once we have lazier constraints.
|
|
|
|
if (Msg->isInstanceMessage()) {
|
|
|
|
SVal recVal = Msg->getReceiverSVal();
|
|
|
|
if (!recVal.isUndef()) {
|
|
|
|
// Bifurcate the state into nil and non-nil ones.
|
|
|
|
DefinedOrUnknownSVal receiverVal =
|
|
|
|
recVal.castAs<DefinedOrUnknownSVal>();
|
|
|
|
ProgramStateRef State = Pred->getState();
|
|
|
|
|
|
|
|
ProgramStateRef notNilState, nilState;
|
|
|
|
std::tie(notNilState, nilState) = State->assume(receiverVal);
|
|
|
|
|
|
|
|
// Receiver is definitely nil, so run ObjCMessageNil callbacks and return.
|
|
|
|
if (nilState && !notNilState) {
|
2018-08-15 08:33:55 +08:00
|
|
|
ExplodedNodeSet dstNil;
|
|
|
|
StmtNodeBuilder Bldr(Pred, dstNil, *currBldrCtx);
|
2015-09-15 11:28:27 +08:00
|
|
|
bool HasTag = Pred->getLocation().getTag();
|
2015-09-15 09:13:53 +08:00
|
|
|
Pred = Bldr.generateNode(ME, Pred, nilState, nullptr,
|
|
|
|
ProgramPoint::PreStmtKind);
|
2015-09-15 11:28:27 +08:00
|
|
|
assert((Pred || HasTag) && "Should have cached out already!");
|
|
|
|
(void)HasTag;
|
2015-09-15 09:13:53 +08:00
|
|
|
if (!Pred)
|
|
|
|
return;
|
2018-08-15 08:33:55 +08:00
|
|
|
|
|
|
|
ExplodedNodeSet dstPostCheckers;
|
|
|
|
getCheckerManager().runCheckersForObjCMessageNil(dstPostCheckers, Pred,
|
2015-09-15 09:13:53 +08:00
|
|
|
*Msg, *this);
|
2018-08-15 08:33:55 +08:00
|
|
|
for (auto I : dstPostCheckers)
|
|
|
|
finishArgumentConstruction(Dst, I, *Msg);
|
2015-09-15 09:13:53 +08:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
ExplodedNodeSet dstNonNil;
|
|
|
|
StmtNodeBuilder Bldr(Pred, dstNonNil, *currBldrCtx);
|
|
|
|
// Generate a transition to the non-nil state, dropping any potential
|
|
|
|
// nil flow.
|
|
|
|
if (notNilState != State) {
|
2015-09-15 11:28:27 +08:00
|
|
|
bool HasTag = Pred->getLocation().getTag();
|
2015-09-15 09:13:53 +08:00
|
|
|
Pred = Bldr.generateNode(ME, Pred, notNilState);
|
2015-09-15 11:28:27 +08:00
|
|
|
assert((Pred || HasTag) && "Should have cached out already!");
|
|
|
|
(void)HasTag;
|
2015-09-15 09:13:53 +08:00
|
|
|
if (!Pred)
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-08-20 14:00:03 +08:00
|
|
|
// Handle the previsits checks.
|
|
|
|
ExplodedNodeSet dstPrevisit;
|
2012-07-03 03:28:16 +08:00
|
|
|
getCheckerManager().runCheckersForPreObjCMessage(dstPrevisit, Pred,
|
2012-07-31 04:22:09 +08:00
|
|
|
*Msg, *this);
|
2012-07-03 03:28:16 +08:00
|
|
|
ExplodedNodeSet dstGenericPrevisit;
|
|
|
|
getCheckerManager().runCheckersForPreCall(dstGenericPrevisit, dstPrevisit,
|
2012-07-31 04:22:09 +08:00
|
|
|
*Msg, *this);
|
2012-07-03 03:28:16 +08:00
|
|
|
|
2011-08-20 14:00:03 +08:00
|
|
|
// Proceed with evaluate the message expression.
|
|
|
|
ExplodedNodeSet dstEval;
|
2012-08-22 14:26:15 +08:00
|
|
|
StmtNodeBuilder Bldr(dstGenericPrevisit, dstEval, *currBldrCtx);
|
2011-10-25 02:26:19 +08:00
|
|
|
|
2012-07-03 03:28:16 +08:00
|
|
|
for (ExplodedNodeSet::iterator DI = dstGenericPrevisit.begin(),
|
|
|
|
DE = dstGenericPrevisit.end(); DI != DE; ++DI) {
|
2011-08-20 14:00:03 +08:00
|
|
|
ExplodedNode *Pred = *DI;
|
2012-07-31 04:22:09 +08:00
|
|
|
ProgramStateRef State = Pred->getState();
|
|
|
|
CallEventRef<ObjCMethodCall> UpdatedMsg = Msg.cloneWithState(State);
|
2015-09-08 11:50:52 +08:00
|
|
|
|
2012-07-31 04:22:09 +08:00
|
|
|
if (UpdatedMsg->isInstanceMessage()) {
|
|
|
|
SVal recVal = UpdatedMsg->getReceiverSVal();
|
2011-08-20 14:00:03 +08:00
|
|
|
if (!recVal.isUndef()) {
|
2012-09-13 08:21:31 +08:00
|
|
|
if (ObjCNoRet.isImplicitNoReturn(ME)) {
|
2012-07-20 07:38:13 +08:00
|
|
|
// If we raise an exception, for now treat it as a sink.
|
|
|
|
// Eventually we will want to handle exceptions properly.
|
2012-12-07 02:58:26 +08:00
|
|
|
Bldr.generateSink(ME, Pred, State);
|
2012-07-20 07:38:13 +08:00
|
|
|
continue;
|
|
|
|
}
|
2011-08-20 14:00:03 +08:00
|
|
|
}
|
2012-07-03 03:27:56 +08:00
|
|
|
} else {
|
2012-09-13 08:21:31 +08:00
|
|
|
// Check for special class methods that are known to not return
|
|
|
|
// and that we should treat as a sink.
|
|
|
|
if (ObjCNoRet.isImplicitNoReturn(ME)) {
|
|
|
|
// If we raise an exception, for now treat it as a sink.
|
|
|
|
// Eventually we will want to handle exceptions properly.
|
2012-12-07 02:58:26 +08:00
|
|
|
Bldr.generateSink(ME, Pred, Pred->getState());
|
2012-09-13 08:21:31 +08:00
|
|
|
continue;
|
2011-08-20 14:00:03 +08:00
|
|
|
}
|
|
|
|
}
|
2012-07-26 08:27:51 +08:00
|
|
|
|
2012-09-08 09:47:28 +08:00
|
|
|
defaultEvalCall(Bldr, Pred, *UpdatedMsg);
|
2011-08-20 14:00:03 +08:00
|
|
|
}
|
2015-09-08 11:50:52 +08:00
|
|
|
|
2018-08-15 08:33:55 +08:00
|
|
|
// If there were constructors called for object-type arguments, clean them up.
|
|
|
|
ExplodedNodeSet dstArgCleanup;
|
|
|
|
for (auto I : dstEval)
|
|
|
|
finishArgumentConstruction(dstArgCleanup, I, *Msg);
|
|
|
|
|
2012-07-03 03:28:16 +08:00
|
|
|
ExplodedNodeSet dstPostvisit;
|
2018-08-15 08:33:55 +08:00
|
|
|
getCheckerManager().runCheckersForPostCall(dstPostvisit, dstArgCleanup,
|
2012-07-31 04:22:09 +08:00
|
|
|
*Msg, *this);
|
2012-07-03 03:28:16 +08:00
|
|
|
|
2011-08-20 14:00:03 +08:00
|
|
|
// Finally, perform the post-condition check of the ObjCMessageExpr and store
|
|
|
|
// the created nodes in 'Dst'.
|
2012-07-03 03:28:16 +08:00
|
|
|
getCheckerManager().runCheckersForPostObjCMessage(Dst, dstPostvisit,
|
2012-07-31 04:22:09 +08:00
|
|
|
*Msg, *this);
|
2011-08-20 14:00:03 +08:00
|
|
|
}
|