cprover
Toggle main menu visibility
Loading...
Searching...
No Matches
validate_code.h
Go to the documentation of this file.
1
/*******************************************************************\
2
3
Module: Validate code
4
5
Author: Daniel Poetzl
6
7
\*******************************************************************/
8
9
#ifndef CPROVER_UTIL_VALIDATE_CODE_H
10
#define CPROVER_UTIL_VALIDATE_CODE_H
11
12
class
codet
;
13
class
namespacet
;
14
enum class
validation_modet
;
15
16
void
check_code
(
const
codet
&code,
const
validation_modet
vm);
17
18
void
validate_code
(
19
const
codet
&code,
20
const
namespacet
&ns,
21
const
validation_modet
vm);
22
23
void
validate_full_code
(
24
const
codet
&code,
25
const
namespacet
&ns,
26
const
validation_modet
vm);
27
28
#endif
/* CPROVER_UTIL_VALIDATE_CODE_H */
codet
Data structure for representing an arbitrary statement in a program.
Definition
std_code_base.h:29
namespacet
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
Definition
namespace.h:91
validate_code
void validate_code(const codet &code, const namespacet &ns, const validation_modet vm)
Check that the given code statement is well-formed, assuming that all its enclosed statements,...
Definition
validate_code.cpp:84
validate_full_code
void validate_full_code(const codet &code, const namespacet &ns, const validation_modet vm)
Check that the given code statement is well-formed (full check, including checks of all subexpression...
Definition
validate_code.cpp:100
check_code
void check_code(const codet &code, const validation_modet vm)
Check that the given code statement is well-formed (shallow checks only, i.e., enclosed statements,...
Definition
validate_code.cpp:70
validation_modet
validation_modet
Definition
validation_mode.h:13
goto-programs
validate_code.h
Generated by
1.17.0