/external/elfutils/libdw/ |
D | dwarf_getcfi.c | 43 if (dbg->cfi == NULL && dbg->sectiondata[IDX_debug_frame] != NULL) in dwarf_getcfi() 45 Dwarf_CFI *cfi = libdw_typed_alloc (dbg, Dwarf_CFI); in dwarf_getcfi() local 47 cfi->dbg = dbg; in dwarf_getcfi() 48 cfi->data = (Elf_Data_Scn *) dbg->sectiondata[IDX_debug_frame]; in dwarf_getcfi() 50 cfi->search_table = NULL; in dwarf_getcfi() 51 cfi->search_table_vaddr = 0; in dwarf_getcfi() 52 cfi->search_table_entries = 0; in dwarf_getcfi() 53 cfi->search_table_encoding = DW_EH_PE_omit; in dwarf_getcfi() 55 cfi->frame_vaddr = 0; in dwarf_getcfi() 56 cfi->textrel = 0; in dwarf_getcfi() [all …]
|
D | dwarf_getcfi_elf.c | 46 Dwarf_CFI *cfi = calloc (1, sizeof *cfi); in allocate_cfi() local 47 if (cfi == NULL) in allocate_cfi() 53 cfi->e_ident = (unsigned char *) elf_getident (elf, NULL); in allocate_cfi() 54 if (cfi->e_ident == NULL) in allocate_cfi() 56 free (cfi); in allocate_cfi() 61 if ((BYTE_ORDER == LITTLE_ENDIAN && cfi->e_ident[EI_DATA] == ELFDATA2MSB) in allocate_cfi() 62 || (BYTE_ORDER == BIG_ENDIAN && cfi->e_ident[EI_DATA] == ELFDATA2LSB)) in allocate_cfi() 63 cfi->other_byte_order = true; in allocate_cfi() 65 cfi->frame_vaddr = vaddr; in allocate_cfi() 66 cfi->textrel = 0; /* XXX ? */ in allocate_cfi() [all …]
|
D | dwarf_end.c | 65 if (dwarf->cfi != NULL) in dwarf_end() 67 __libdw_destroy_frame_cache (dwarf->cfi); in dwarf_end()
|
/external/google-breakpad/src/processor/ |
D | cfi_frame_info_unittest.cc | 79 CFIFrameInfo cfi; member 90 cfi.SetRARule("0"); in TEST_F() 91 ASSERT_FALSE(cfi.FindCallerRegs<uint64_t>(registers, memory, in TEST_F() 93 ASSERT_EQ(".ra: 0", cfi.Serialize()); in TEST_F() 100 cfi.SetCFARule("0"); in TEST_F() 101 ASSERT_FALSE(cfi.FindCallerRegs<uint64_t>(registers, memory, in TEST_F() 103 ASSERT_EQ(".cfa: 0", cfi.Serialize()); in TEST_F() 109 cfi.SetCFARule("330903416631436410"); in TEST_F() 110 cfi.SetRARule("5870666104170902211"); in TEST_F() 111 ASSERT_TRUE(cfi.FindCallerRegs<uint64_t>(registers, memory, in TEST_F() [all …]
|
/external/valgrind/coregrind/m_debuginfo/ |
D | readexidx.c | 598 DiCfSI_m cfi; member 658 Bool setCFAfromCFIR( /*MOD*/DiCfSI_m* cfi, XArray*/*CfiExpr*/ cfsi_exprs, in setCFAfromCFIR() argument 667 cfi->cfa_how = CFIC_ARM_R7REL; in setCFAfromCFIR() 668 cfi->cfa_off = 0; in setCFAfromCFIR() 687 static Bool mentionsCFA ( DiCfSI_m* cfi ) in mentionsCFA() argument 690 if (MENTIONS_CFA(cfi->ra_how)) return True; in mentionsCFA() 691 if (MENTIONS_CFA(cfi->r14_how)) return True; in mentionsCFA() 692 if (MENTIONS_CFA(cfi->r13_how)) return True; in mentionsCFA() 693 if (MENTIONS_CFA(cfi->r12_how)) return True; in mentionsCFA() 694 if (MENTIONS_CFA(cfi->r11_how)) return True; in mentionsCFA() [all …]
|
/external/compiler-rt/lib/cfi/ |
D | CMakeLists.txt | 1 add_custom_target(cfi) target 2 set_target_properties(cfi PROPERTIES FOLDER "Compiler-RT Misc") 4 set(CFI_SOURCES cfi.cc) 17 add_compiler_rt_runtime(clang_rt.cfi 25 PARENT_TARGET cfi) 35 PARENT_TARGET cfi) 38 add_compiler_rt_resource_file(cfi_blacklist cfi_blacklist.txt cfi) 39 add_dependencies(compiler-rt cfi)
|
/external/clang/docs/ |
D | ControlFlowIntegrity.rst | 22 To enable Clang's available CFI schemes, use the flag ``-fsanitize=cfi``. 23 You can also enable a subset of available :ref:`schemes <cfi-schemes>`. 38 The ``-fsanitize=cfi-{vcall,nvcall,derived-cast,unrelated-cast}`` flags 45 <cfi-cross-dso>` exists that does not require classes to have hidden LTO 57 - ``-fsanitize=cfi-cast-strict``: Enables :ref:`strict cast checks 58 <cfi-strictness>`. 59 - ``-fsanitize=cfi-derived-cast``: Base-to-derived cast to the wrong 61 - ``-fsanitize=cfi-unrelated-cast``: Cast from ``void*`` or another 63 - ``-fsanitize=cfi-nvcall``: Non-virtual call via an object whose vptr is of 65 - ``-fsanitize=cfi-vcall``: Virtual call via an object whose vptr is of the [all …]
|
D | SanitizerStats.rst | 18 In addition to ``-fsanitize=cfi*``, pass the ``-fsanitize-stats`` flag. 59 $ clang++ -fsanitize=cfi -flto -fuse-ld=gold vcall.cc -fsanitize-stats -g 62 vcall.cc:6 _Z1gP1A cfi-vcall 1
|
/external/elfutils/libdwfl/ |
D | dwfl_module_dwarf_cfi.c | 34 __libdwfl_set_cfi (Dwfl_Module *mod, Dwarf_CFI **slot, Dwarf_CFI *cfi) in __libdwfl_set_cfi() argument 36 if (cfi != NULL && cfi->ebl == NULL) in __libdwfl_set_cfi() 40 cfi->ebl = mod->ebl; in __libdwfl_set_cfi() 44 INTUSE(dwarf_cfi_end) (cfi); in __libdwfl_set_cfi() 50 return *slot = cfi; in __libdwfl_set_cfi()
|
/external/compiler-rt/test/cfi/ |
D | CMakeLists.txt | 22 list(APPEND CFI_TEST_DEPS cfi) 41 add_lit_testsuite(check-cfi "Running the cfi regression tests" 46 add_lit_target(check-cfi-and-supported "Running the cfi regression tests" 52 set_target_properties(check-cfi PROPERTIES FOLDER "Compiler-RT Misc") 53 set_target_properties(check-cfi-and-supported PROPERTIES FOLDER "Compiler-RT Misc")
|
D | lit.cfg | 4 config.name = 'cfi' 13 …g_cfi = ' '.join(config.lto_launch + [config.clang] + config.lto_flags + ['-flto -fsanitize=cfi ']) 23 diag = '-fno-sanitize-trap=cfi -fsanitize-recover=cfi ' 25 dso = '-fsanitize-cfi-cross-dso -fvisibility=default '
|
/external/llvm/test/tools/sanstats/ |
D | elf.test | 28 # CHECK: /tmp{{[/\\]}}f.c:1 f1 cfi-vcall 1 29 # CHECK: /tmp{{[/\\]}}f.c:2 f2 cfi-nvcall 2 30 # CHECK: /tmp{{[/\\]}}f.c:3 f3 cfi-derived-cast 3 31 # CHECK: /tmp{{[/\\]}}f.c:1 f1 cfi-unrelated-cast 4 32 # CHECK: /tmp{{[/\\]}}f.c:2 f2 cfi-icall 5 35 # CHECK: /tmp{{[/\\]}}f.c:3 f3 cfi-vcall 7 36 # CHECK: /tmp{{[/\\]}}f.c:2 f2 cfi-nvcall 8 37 # CHECK: /tmp{{[/\\]}}f.c:1 f1 cfi-derived-cast 9 38 # CHECK: /tmp{{[/\\]}}f.c:3 f3 cfi-unrelated-cast 11 39 # CHECK: /tmp{{[/\\]}}f.c:2 f2 cfi-icall 12
|
/external/clang/include/clang/Basic/ |
D | Sanitizers.def | 85 SANITIZER("cfi-cast-strict", CFICastStrict) 86 SANITIZER("cfi-derived-cast", CFIDerivedCast) 87 SANITIZER("cfi-icall", CFIICall) 88 SANITIZER("cfi-unrelated-cast", CFIUnrelatedCast) 89 SANITIZER("cfi-nvcall", CFINVCall) 90 SANITIZER("cfi-vcall", CFIVCall) 91 SANITIZER_GROUP("cfi", CFI,
|
/external/google-breakpad/src/tools/linux/dump_syms/ |
D | dump_syms.cc | 56 bool cfi = true; in main() local 63 cfi = false; in main() 91 SymbolData symbol_data = cfi ? ALL_SYMBOL_DATA : NO_CFI; in main()
|
/external/llvm/test/CodeGen/X86/ |
D | deopt-intrinsic.ll | 13 ; CHECK-NEXT: {{.+cfi.+}} 17 ; CHECK-NEXT: {{.+cfi.+}} 27 ; CHECK-NEXT: {{.+cfi.+}} 31 ; CHECK-NEXT: {{.+cfi.+}}
|
D | deopt-intrinsic-cconv.ll | 12 ; CHECK-NEXT: {{.+cfi.+}} 16 ; CHECK-NEXT: {{.+cfi.+}}
|
/external/libvpx/ |
D | libwebm.mk | 11 LOCAL_SANITIZE := cfi 12 LOCAL_SANITIZE_DIAG := cfi
|
D | libvpx.mk | 23 LOCAL_SANITIZE := cfi 24 LOCAL_SANITIZE_DIAG := cfi
|
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/ |
D | 2008-12-12-PrivateEHSymbol.ll | 1 ; RUN: llc < %s -disable-cfi -march=x86-64 -mtriple=x86_64-apple-darwin9 | grep ^__Z1fv.eh 2 ; RUN: llc < %s -disable-cfi -march=x86 -mtriple=i386-apple-darwin9 | grep ^__Z1fv.eh
|
D | no-cfi.ll | 1 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -disable-cfi | FileCheck --check-prefix=STATIC %s 2 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -disable-cfi -relocation-model=pic | FileCheck --…
|
D | personality.ll | 1 ; RUN: llc < %s -disable-cfi -mtriple=x86_64-apple-darwin9 -disable-cgp-branch-opts | FileCheck %s … 2 ; RUN: llc < %s -disable-cfi -mtriple=i386-apple-darwin9 -disable-cgp-branch-opts | FileCheck %s -c…
|
/external/flac/libFLAC/ |
D | Android.mk | 37 LOCAL_SANITIZE := cfi 38 LOCAL_SANITIZE_DIAG := cfi
|
/external/elfutils/tests/ |
D | addrcfi.c | 105 handle_cfi (Dwfl *dwfl, const char *which, Dwarf_CFI *cfi, in handle_cfi() argument 108 if (cfi == NULL) in handle_cfi() 114 int result = dwarf_cfi_addrframe (cfi, pc - stuff->bias, &stuff->frame); in handle_cfi()
|
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/ |
D | p3-generic-lambda-1y.cpp | 48 static char cfi(int) { return 'a'; } in main() function 54 l4(&Local::cfi); in main()
|
/external/llvm/test/CodeGen/SystemZ/ |
D | int-cmp-09.ll | 70 ; CHECK: cfi %r2, 32768 83 ; CHECK: cfi %r2, 2147483647 96 ; CHECK: cfi %r2, -2147483648 159 ; CHECK: cfi %r2, -32769 172 ; CHECK: cfi %r2, -2147483648 185 ; CHECK: cfi %r2, 2147483647
|