Mercurial > hg > CbC > CbC_llvm
comparison compiler-rt/test/dfsan/origin_untainted.c @ 221:79ff65ed7e25
LLVM12 Original
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 15 Jun 2021 19:15:29 +0900 |
parents | |
children | 5f17cb93ff66 |
comparison
equal
deleted
inserted
replaced
220:42394fc6a535 | 221:79ff65ed7e25 |
---|---|
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 {{.*}} |