File tree 2 files changed +3
-7
lines changed
2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -1739,7 +1739,7 @@ class PointerExpr : public NonConstantExpr {
1739
1739
1740
1740
bool isKnownValue () const { return getBase ()->isZero (); }
1741
1741
1742
- ref<ConstantExpr > combineTaints (const ref<PointerExpr> &RHS) {
1742
+ ref<Expr > combineTaints (const ref<PointerExpr> &RHS) {
1743
1743
return Expr::combineTaints (getTaint (), RHS->getTaint ());
1744
1744
}
1745
1745
Original file line number Diff line number Diff line change @@ -140,10 +140,6 @@ Free::Free(const std::string &str) : Unknown(str) {
140
140
Kind Free::getKind () const { return Kind::Free; }
141
141
142
142
Taint::Taint (const std::string &str) : Unknown(str) {
143
- if (!rawOffset.empty ()) {
144
- klee_error (" Annotation Taint: Incorrect offset format, must be empty" );
145
- }
146
-
147
143
taintType = rawValue.substr (0 , rawValue.find (' :' ));
148
144
// TODO: in the future, support typeless annotations (meaning all types)
149
145
if (taintType.empty ()) {
@@ -166,7 +162,7 @@ TaintOutput::TaintOutput(const std::string &str) : Taint(str) {}
166
162
Kind TaintOutput::getKind () const { return Kind::TaintOutput; }
167
163
168
164
/*
169
- * Format: TaintPropagation::{type}:{data}
165
+ * Format: TaintPropagation:{offset} :{type}:{data}
170
166
*/
171
167
172
168
TaintPropagation::TaintPropagation (const std::string &str) : Taint(str) {
@@ -201,7 +197,7 @@ TaintPropagation::TaintPropagation(const std::string &str) : Taint(str) {
201
197
Kind TaintPropagation::getKind () const { return Kind::TaintPropagation; }
202
198
203
199
/*
204
- * Format: TaintSink::{type}
200
+ * Format: TaintSink:{offset} :{type}
205
201
*/
206
202
207
203
TaintSink::TaintSink (const std::string &str) : Taint(str) {}
You can’t perform that action at this time.
0 commit comments