Fixed cve.py

This commit is contained in:
Daniel Marjamäki 2020-06-19 17:12:54 +02:00
parent f60e805798
commit a5a3738df4
1 changed files with 6 additions and 1 deletions

View File

@ -1575,7 +1575,12 @@ static ExprEngine::ValuePtr executeFunctionCall(const Token *tok, Data &data)
}
data.contractConstraints(function, executeExpression1);
data.errorPath.push_back(ErrorPathItem(tok, "Calling " + function->name()));
execute(functionScope->bodyStart, functionScope->bodyEnd, data);
try {
execute(functionScope->bodyStart, functionScope->bodyEnd, data);
} catch (BugHuntingException &e) {
e.tok = tok;
throw e;
}
data.errorPath.pop_back();
}
}