1 | // RUN: %clang_dfsan -gmlt -mllvm -dfsan-fast-16-labels=true -mllvm -dfsan-track-origins=1 %s -o %t && \ |
---|---|
2 | // RUN: %run %t >%t.out 2>&1 |
3 | // RUN: FileCheck %s --check-prefix=CHECK < %t.out |
4 | // |
5 | // REQUIRES: x86_64-target-arch |
6 | |
7 | #include <sanitizer/dfsan_interface.h> |
8 | |
9 | int main(int argc, char *argv[]) { |
10 | uint64_t a = 10; |
11 | dfsan_print_origin_trace(&a, NULL); |
12 | } |
13 | |
14 | // CHECK: DFSan: no tainted value at {{.*}} |
15 |