File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed
Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ MLIS := \
6161 cCHPOCheckIndexLowerBound \
6262 cCHPOCheckIndexUpperBound \
6363 cCHPOCheckInitialized \
64+ cCHPOCheckLocallyInitialized \
6465 cCHPOCheckInitializedRange \
6566 cCHPOCheckIntUtil \
6667 cCHPOCheckIntOverflow \
@@ -72,6 +73,8 @@ MLIS := \
7273 cCHPOCheckNotNull \
7374 cCHPOCheckNotZero \
7475 cCHPOCheckNonNegative \
76+ cCHPOCheckOutputParameterInitialized \
77+ cCHPOCheckOutputParameterUnaltered \
7578 cCHPOCheckPreservedAllMemory \
7679 cCHPOCheckStackAddressEscape \
7780 cCHPOCheckWidthOverflow \
@@ -126,6 +129,7 @@ SOURCES := \
126129 cCHPOCheckIndexLowerBound \
127130 cCHPOCheckIndexUpperBound \
128131 cCHPOCheckInitialized \
132+ cCHPOCheckLocallyInitialized \
129133 cCHPOCheckInitializedRange \
130134 cCHPOCheckIntUtil \
131135 cCHPOCheckIntOverflow \
@@ -138,6 +142,8 @@ SOURCES := \
138142 cCHPOCheckNotZero \
139143 cCHPOCheckNonNegative \
140144 cCHPOCheckWidthOverflow \
145+ cCHPOCheckOutputParameterInitialized \
146+ cCHPOCheckOutputParameterUnaltered \
141147 cCHPOCheckNullTerminated \
142148 cCHPOCheckPointerCast \
143149 cCHPOCheckPreservedAllMemory \
Original file line number Diff line number Diff line change @@ -45,15 +45,17 @@ let _fenv = CCHFileEnvironment.file_environment
4545
4646
4747class locally_initialized_checker_t
48- (_poq : po_query_int )
48+ (poq : po_query_int )
4949 (vinfo : varinfo )
5050 (_lval : lval )
5151 (_invs : invariant_int list ) =
52- object
52+ object ( self )
5353
5454 method private vinfo = vinfo
5555
56- method check_safe = false
56+ method check_safe =
57+ let _ = poq#set_vinfo_diagnostic_invariants self#vinfo in
58+ false
5759
5860 method check_violation = false
5961
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ MLIS := \
6565 cCHPrimaryProofObligations \
6666 cCHCheckValid \
6767 cCHCreatePrimaryProofObligations \
68+ cCHCreateOutputParameterPOs \
6869
6970CMIS := $(addprefix cmi/,$(MLIS:%=%.cmi ) )
7071
@@ -100,6 +101,7 @@ SOURCES := \
100101 cCHPrimaryProofObligations \
101102 cCHCheckValid \
102103 cCHCreatePrimaryProofObligations \
104+ cCHCreateOutputParameterPOs \
103105
104106
105107OBJECTS := $(addprefix cmx/,$(SOURCES:%=%.cmx ) )
You can’t perform that action at this time.
0 commit comments