// FIXME: Figure out how to use %clang_analyze_cc1 with our lit.local.cfg. // RUN: %clang_cc1 -analyze -triple x86_64-unknown-linux-gnu \ // RUN: -analyzer-checker=core \ // RUN: -analyzer-dump-egraph=%t.dot %s // RUN: %exploded_graph_rewriter %t.dot | FileCheck %s // REQUIRES: asserts void escapes() { // CHECK: Store: (0x{{[0-9a-f]*}}) // CHECK-SAME: foo0 // CHECK-SAME: &Element\{"foo",0 S64b,char\} // CHECK: Expressions: // CHECK-SAME: "foo" // CHECK-SAME: &Element\{"foo",0 S64b,char\} const char *const foo = "\x66\x6f\x6f"; // CHECK: BinaryOperator // CHECK-SAME: 1 \| 2 // CHECK-SAME: 3 S32b int x = 1 | 2; }