Revert "Merge pull request #4784 from MathiasVP/mathiasvp/reverse-read-take-3"

This reverts commit 1b3d69d617, reversing
changes made to 527c41520e.
This commit is contained in:
Jonas Jensen
2021-02-03 08:49:37 +01:00
parent 749dfe4358
commit 064568c36d
17 changed files with 885 additions and 1492 deletions

View File

@@ -1,4 +1,4 @@
void sink(void *o); void sink(const char *o);
void sink(void *o);
void *user_input(void);
struct S {
@@ -135,13 +135,3 @@ void test_outer_with_ref(Outer *pouter) {
sink(pouter->inner_ptr->a); // $ ast MISSING: ir
sink(pouter->a); // $ ast,ir
}
void taint_a_ptr(const char **pa) {
*pa = (char*)user_input();
}
void test_const_char_ref() {
const char* s;
taint_a_ptr(&s);
sink(s); // $ ast ir=140:9 ir=140:16
}