13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
return nullopt;
const auto& ft = func->type();
const auto& fvi = ft.verifInfos();
if( !fvi )
return nullopt;
auto retExpr = BuildZ3ConstantFromType( b.context(), ft.returnType(), format( "r{}", b.newUniqueId() ) );
// Create a temporary builder to construct the z3 expressions out of the
// function's pre-conditions and postconditions, configured
// to perform the necessary replacements for arguments and for the
// return value placeholder.
Builder cb( b.context(), *b.solver(), b.remapper() );
|
|
|
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
return nullopt;
const auto& ft = func->type();
const auto& fvi = ft.verifInfos();
if( !fvi )
return nullopt;
auto retExpr = BuildZ3ConstantFromType( b, ft.returnType(), format( "r{}", b.newUniqueId() ) );
// Create a temporary builder to construct the z3 expressions out of the
// function's pre-conditions and postconditions, configured
// to perform the necessary replacements for arguments and for the
// return value placeholder.
Builder cb( b.context(), *b.solver(), b.remapper() );
|