小编I. *_*Ali的帖子

用户错误:在why3.conf 中找不到证明者“alt-ergo”

我正在尝试使用 Frama-c 测试一个函数:

/*@
    ensures \result >= x && \result >= y;
    ensures \result == x || \result == y;
*/

int max( int x, int y){
    return (x>y) ? x : y;
}   
Run Code Online (Sandbox Code Playgroud)

安装完所有要求后:OPAM、why3、alt-ergo 每当我执行frama-c -wp fct.c我收到:

[kernel] Parsing fct.c (with preprocessing)
[wp] Warning: Missing RTE guards
[wp] User Error: Prover 'alt-ergo' not found in why3.conf
[wp] Goal typed_max_ensures : not tried
[wp] Goal typed_max_ensures_2 : not tried
[wp] User Error: Deferred error message was emitted during …
Run Code Online (Sandbox Code Playgroud)

frama-c alt-ergo why3

3
推荐指数
1
解决办法
869
查看次数

标签 统计

alt-ergo ×1

frama-c ×1

why3 ×1