/external/clang/test/CodeGenCXX/ |
cfi-speculative-vtable.cpp | 3 // RUN: %clang_cc1 -triple x86_64-unknown-linux -O1 -fsanitize=cfi-vcall -fsanitize-trap=cfi-vcall -emit-llvm -o - %s | FileCheck %s 4 // RUN: %clang_cc1 -triple x86_64-unknown-linux -O1 -fsanitize=cfi-vcall -fsanitize-trap=cfi-vcall -fsanitize-cfi-cross-dso -emit-llvm -o - %s | FileCheck %s
|
cfi-ms-rtti.cpp | 1 // RUN: %clang_cc1 -flto -emit-llvm -o - -triple=x86_64-pc-win32 %s -fsanitize=cfi-vcall | FileCheck --check-prefix=RTTI %s 2 // RUN: %clang_cc1 -flto -emit-llvm -o - -triple=x86_64-pc-win32 %s -fsanitize=cfi-vcall -fno-rtti-data | FileCheck --check-prefix=NO-RTTI %s
|
cfi-stats.cpp | 1 // RUN: %clang_cc1 -triple x86_64-unknown-linux -fvisibility hidden -fsanitize=cfi-vcall,cfi-nvcall,cfi-derived-cast,cfi-unrelated-cast,cfi-icall -fsanitize-stats -emit-llvm -o - %s | FileCheck %s 2 // RUN: %clang_cc1 -triple x86_64-unknown-linux -fvisibility hidden -fsanitize=cfi-vcall,cfi-nvcall,cfi-derived-cast,cfi-unrelated-cast,cfi-icall -fsanitize-trap=cfi-vcall -fwhole-program-vtables -fsanitize-stats -emit-llvm -o - %s | FileCheck %s 19 // CHECK: @vcall 20 extern "C" void vcall(A *a) { function
|
cfi-blacklist.cpp | 1 // RUN: %clang_cc1 -triple %itanium_abi_triple -fvisibility hidden -fms-extensions -fsanitize=cfi-vcall -emit-llvm -o - %s | FileCheck --check-prefix=CHECK --check-prefix=NOBL %s 3 // RUN: %clang_cc1 -triple %itanium_abi_triple -fvisibility hidden -fms-extensions -fsanitize=cfi-vcall -fsanitize-blacklist=%t.txt -emit-llvm -o - %s | FileCheck --check-prefix=CHECK --check-prefix=NOSTD %s
|
type-metadata.cpp | 1 // Tests for the cfi-vcall feature: 2 // RUN: %clang_cc1 -flto -triple x86_64-unknown-linux -fvisibility hidden -fsanitize=cfi-vcall -fsanitize-trap=cfi-vcall -emit-llvm -o - %s | FileCheck --check-prefix=CFI --check-prefix=CFI-NVT --check-prefix=ITANIUM --check-prefix=TT-ITANIUM --check-prefix=NDIAG %s 3 // RUN: %clang_cc1 -flto -triple x86_64-unknown-linux -fvisibility hidden -fsanitize=cfi-vcall -emit-llvm -o - %s | FileCheck --check-prefix=CFI --check-prefix=CFI-NVT --check-prefix=ITANIUM --check-prefix=TT-ITANIUM --check-prefix=ITANIUM-DIAG --check-prefix=DIAG --check-prefix=DIAG-ABORT %s 4 // RUN: %clang_cc1 -flto -triple x86_64-unknown-linux -fvisibility hidden -fsanitize=cfi-vcall -fsanitize-recover=cfi-vcall -emit-llvm -o - %s | FileCheck --check-prefix=CFI --check-prefix=CFI-NVT --check-prefix=ITANIUM --check-prefix=TT-ITANIUM --check-prefix=ITANIUM-DIAG --check-prefix=DIAG --check-prefix=DIAG-RECOVER %s 5 // RUN: %clang_cc1 -flto -triple x86_64-pc-windows-msvc -fsanitize=cfi-vcall -fsanitize-trap=cfi-vcall -emit-llvm -o - %s | FileCheck --check-prefix=CFI --check-prefix=CFI-NVT --check-prefix=MS --check-prefix=TT-MS --check-prefix=NDIAG %s 12 // RUN: %clang_cc1 -flto -triple x86_64-unknown-linux -fvisibility hidden -fsanitize=cfi-vcall -fsanitize-trap=cfi-vcall -fwhole-program-vtables -emit-llvm -o - %s | FileCheck --check-prefix=CFI --check-prefix=CFI-VT -- (…) [all...] |
cfi-cross-dso.cpp | 1 // RUN: %clang_cc1 -flto -triple x86_64-unknown-linux -fsanitize=cfi-vcall -fsanitize-cfi-cross-dso -emit-llvm -o - %s | FileCheck --check-prefix=CHECK --check-prefix=ITANIUM %s 2 // RUN: %clang_cc1 -flto -triple x86_64-pc-windows-msvc -fsanitize=cfi-vcall -fsanitize-cfi-cross-dso -emit-llvm -o - %s | FileCheck --check-prefix=CHECK --check-prefix=MS %s
|
vtable-layout-abi-examples.cpp | 50 // CHECK-2-NEXT: [this adjustment: 0 non-virtual, -24 vcall offset offset] 53 // CHECK-2-NEXT: [this adjustment: 0 non-virtual, -40 vcall offset offset] 76 // CHECK-3-NEXT: [this adjustment: 0 non-virtual, -32 vcall offset offset] 78 // CHECK-3-NEXT: [this adjustment: 0 non-virtual, -40 vcall offset offset] 108 // CHECK-4-NEXT: [this adjustment: 0 non-virtual, -24 vcall offset offset] 110 // CHECK-4-NEXT: [this adjustment: 0 non-virtual, -32 vcall offset offset] 112 // CHECK-4-NEXT: [this adjustment: 0 non-virtual, -40 vcall offset offset] 156 // CHECK-5-NEXT: [this adjustment: 0 non-virtual, -24 vcall offset offset] 158 // CHECK-5-NEXT: [this adjustment: 0 non-virtual, -32 vcall offset offset] 160 // CHECK-5-NEXT: [this adjustment: 0 non-virtual, -40 vcall offset offset [all...] |
vtable-layout.cpp | 540 // Test that the right vcall offsets are generated in the right order. 559 // CHECK-19-NEXT: [this adjustment: 0 non-virtual, -32 vcall offset offset] 700 // Test that destructors share vcall offsets. 721 // CHECK-23-NEXT: [this adjustment: 0 non-virtual, -24 vcall offset offset] 723 // CHECK-23-NEXT: [this adjustment: 0 non-virtual, -24 vcall offset offset] 728 // CHECK-23-NEXT: [this adjustment: -8 non-virtual, -24 vcall offset offset] 730 // CHECK-23-NEXT: [this adjustment: -8 non-virtual, -24 vcall offset offset] 770 // CHECK-24-NEXT: [this adjustment: 0 non-virtual, -24 vcall offset offset] 811 // CHECK-25-NEXT: [this adjustment: 0 non-virtual, -32 vcall offset offset] 821 // CHECK-25-NEXT: [this adjustment: 0 non-virtual, -32 vcall offset offset [all...] |
/external/compiler-rt/test/cfi/cross-dso/ |
stats.cpp | 13 extern "C" void vcall(A *a); 18 extern "C" __attribute__((noinline)) void vcall(A *a) { function 19 // CHECK: stats.cpp:[[@LINE+1]] vcall cfi-vcall 37 48 vcall(&a);
|
/external/compiler-rt/test/cfi/ |
stats.cpp | 15 extern "C" __attribute__((noinline)) void vcall(A *a) { function 16 // CHECK: stats.cpp:[[@LINE+1]] {{_?}}vcall cfi-vcall 37 43 vcall(&a);
|
/external/compiler-rt/test/cfi/cross-dso/icall/ |
diag.cpp | 13 // RUN: --check-prefix=VCALL-DIAG --check-prefix=ALL-RECOVER 16 // RUN: --check-prefix=VCALL-DIAG --check-prefix=ALL-RECOVER 19 // RUN: --check-prefix=VCALL-DIAG --check-prefix=ALL-RECOVER 22 // RUN: --check-prefix=VCALL-NODIAG --check-prefix=ALL-RECOVER 31 // RUN: --check-prefix=VCALL-NODIAG --check-prefix=ICALL-FATAL 34 // RUN: --check-prefix=VCALL-NODIAG --check-prefix=CAST-FATAL 37 // RUN: --check-prefix=VCALL-DIAG 48 // RUN: --check-prefix=VCALL-NODIAG --check-prefix=ICALL-FATAL 51 // RUN: --check-prefix=VCALL-NODIAG --check-prefix=CAST-FATAL 54 // RUN: --check-prefix=VCALL-DIA [all...] |
/external/clang/docs/ |
SanitizerStats.rst | 46 $ cat -n vcall.cc 59 $ clang++ -fsanitize=cfi -flto -fuse-ld=gold vcall.cc -fsanitize-stats -g 62 vcall.cc:6 _Z1gP1A cfi-vcall 1
|
ControlFlowIntegrity.rst | 38 The ``-fsanitize=cfi-{vcall,nvcall,derived-cast,unrelated-cast}`` flags 65 - ``-fsanitize=cfi-vcall``: Virtual call via an object whose vptr is of the 105 This CFI scheme can be enabled on its own using ``-fsanitize=cfi-vcall``. 110 ``-fsanitize=cfi-vcall`` enabled and be statically linked into the program.
|
/external/clang/test/CodeGen/ |
cfi-check-fail.c | 2 // RUN: -fsanitize=cfi-icall,cfi-nvcall,cfi-vcall,cfi-unrelated-cast,cfi-derived-cast \ 3 // RUN: -fsanitize-trap=cfi-icall,cfi-nvcall -fsanitize-recover=cfi-vcall,cfi-unrelated-cast \
|
cfi-check-fail2.c | 3 // RUN: -fsanitize=cfi-vcall \
|
/external/clang/test/Frontend/ |
dependency-gen.c | 24 // RUN: %clang -MD -MF - %s -fsyntax-only -fsanitize=cfi-vcall -flto -fvisibility=hidden -fsanitize-blacklist=%t.blacklist -I ./ | FileCheck -check-prefix=CHECK-SEVEN %s
|
/external/skia/third_party/lua/src/ |
lparser.h | 32 VCALL, /* info = instruction pc */
|
/external/clang/lib/AST/ |
VTableBuilder.cpp | 442 /// VCallOffsetMap - Keeps track of vcall offsets when building a vtable. 452 /// can share the same vcall offset. 457 /// AddVCallOffset - Adds a vcall offset to the map. Returns true if the 462 /// getVCallOffsetOffset - Returns the vcall offset offset (relative to the 493 // A destructor can share a vcall offset with another destructor. 529 llvm_unreachable("Should always find a vcall offset offset!"); 532 /// VCallAndVBaseOffsetBuilder - Class for building vcall and vbase offsets. 539 /// MostDerivedClass - The most derived class for which we're building vcall 551 /// Components - vcall and vbase offset components 558 /// VCallOffsets - Keeps track of vcall offsets [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
lparser.h | 32 VCALL, /* info = instruction pc */
|
/external/llvm/test/DebugInfo/PDB/DIA/ |
pdbdump-symbol-format.test | 18 ; SYM_FORMAT-DAG: thunk [{{.*}}] (Pcode) B::`vcall'{0}'
|
/external/syslinux/com32/lua/src/ |
lparser.h | 32 VCALL, /* info = instruction pc */
|
/external/llvm/test/tools/sanstats/ |
elf.test | 28 # CHECK: /tmp{{[/\\]}}f.c:1 f1 cfi-vcall 1 35 # CHECK: /tmp{{[/\\]}}f.c:3 f3 cfi-vcall 7
|
/external/clang/include/clang/Basic/ |
Sanitizers.def | 90 SANITIZER("cfi-vcall", CFIVCall)
|
/external/llvm/tools/sanstats/ |
sanstats.cpp | 89 llvm::outs() << "cfi-vcall";
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/clang/include/clang/Basic/ |
Sanitizers.def | 95 SANITIZER("cfi-vcall", CFIVCall)
|