cprover
contracts.cpp File Reference

Verify and use annotated loop and function contracts. More...

#include "contracts.h"
#include <algorithm>
#include <map>
#include <analyses/local_may_alias.h>
#include <ansi-c/c_expr.h>
#include <goto-instrument/havoc_utils.h>
#include <goto-programs/remove_skip.h>
#include <util/c_types.h>
#include <util/expr_util.h>
#include <util/fresh_symbol.h>
#include <util/mathematical_expr.h>
#include <util/mathematical_types.h>
#include <util/message.h>
#include <util/pointer_offset_size.h>
#include <util/replace_symbol.h>
#include "assigns.h"
#include "memory_predicates.h"
+ Include dependency graph for contracts.cpp:

Go to the source code of this file.

Functions

static exprt create_lexicographic_less_than (const std::vector< symbol_exprt > &lhs, const std::vector< symbol_exprt > &rhs)
 
static void insert_before_swap_and_advance (goto_programt &program, goto_programt::targett &target, goto_programt &payload)
 

Detailed Description

Verify and use annotated loop and function contracts.

Definition in file contracts.cpp.

Function Documentation

◆ create_lexicographic_less_than()

static exprt create_lexicographic_less_than ( const std::vector< symbol_exprt > &  lhs,
const std::vector< symbol_exprt > &  rhs 
)
static

Definition at line 41 of file contracts.cpp.

◆ insert_before_swap_and_advance()

static void insert_before_swap_and_advance ( goto_programt program,
goto_programt::targett target,
goto_programt payload 
)
static

Definition at line 85 of file contracts.cpp.