mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add local vars to cex
This commit is contained in:
@@ -129,6 +129,7 @@ protected:
|
||||
bool visit(IfStatement const&) override { return false; }
|
||||
bool visit(WhileStatement const&) override { return false; }
|
||||
bool visit(ForStatement const&) override { return false; }
|
||||
void endVisit(ForStatement const&) override {}
|
||||
void endVisit(VariableDeclarationStatement const& _node) override;
|
||||
bool visit(Assignment const& _node) override;
|
||||
void endVisit(Assignment const& _node) override;
|
||||
@@ -150,6 +151,8 @@ protected:
|
||||
bool visit(InlineAssembly const& _node) override;
|
||||
void endVisit(Break const&) override {}
|
||||
void endVisit(Continue const&) override {}
|
||||
bool visit(TryCatchClause const&) override { return true; }
|
||||
void endVisit(TryCatchClause const&) override {}
|
||||
bool visit(TryStatement const&) override { return false; }
|
||||
|
||||
virtual void pushInlineFrame(CallableDeclaration const&);
|
||||
@@ -400,6 +403,10 @@ protected:
|
||||
|
||||
/// Stores the current function/modifier call/invocation path.
|
||||
std::vector<CallStackEntry> m_callStack;
|
||||
|
||||
/// Stack of scopes.
|
||||
std::vector<ScopeOpener const*> m_scopes;
|
||||
|
||||
/// Returns true if the current function was not visited by
|
||||
/// a function call.
|
||||
bool isRootFunction();
|
||||
|
||||
Reference in New Issue
Block a user