Fixed cve.py
This commit is contained in:
parent
f60e805798
commit
a5a3738df4
|
@ -1575,7 +1575,12 @@ static ExprEngine::ValuePtr executeFunctionCall(const Token *tok, Data &data)
|
||||||
}
|
}
|
||||||
data.contractConstraints(function, executeExpression1);
|
data.contractConstraints(function, executeExpression1);
|
||||||
data.errorPath.push_back(ErrorPathItem(tok, "Calling " + function->name()));
|
data.errorPath.push_back(ErrorPathItem(tok, "Calling " + function->name()));
|
||||||
|
try {
|
||||||
execute(functionScope->bodyStart, functionScope->bodyEnd, data);
|
execute(functionScope->bodyStart, functionScope->bodyEnd, data);
|
||||||
|
} catch (BugHuntingException &e) {
|
||||||
|
e.tok = tok;
|
||||||
|
throw e;
|
||||||
|
}
|
||||||
data.errorPath.pop_back();
|
data.errorPath.pop_back();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue