/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()
|
D | cfi.h | 79 #define CFI_IS_EH(cfi) ((cfi)->dbg == NULL) argument
|
D | Makefile.am | 85 cie.c fde.c cfi.c frame-cache.c \ 138 dwarf_sig8_hash.h cfi.h encoded-value.h
|
/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 3 set(CFI_SOURCES cfi.cc) 16 add_compiler_rt_runtime(clang_rt.cfi 24 PARENT_TARGET cfi) 35 PARENT_TARGET cfi) 39 add_dependencies(cfi cfi_blacklist) 40 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>`. 32 :ref:`cross-DSO control flow integrity <cfi-cross-dso>` exists that 45 - ``-fsanitize=cfi-cast-strict``: Enables :ref:`strict cast checks 46 <cfi-strictness>`. 47 - ``-fsanitize=cfi-derived-cast``: Base-to-derived cast to the wrong 49 - ``-fsanitize=cfi-unrelated-cast``: Cast from ``void*`` or another 51 - ``-fsanitize=cfi-nvcall``: Non-virtual call via an object whose vptr is of 53 - ``-fsanitize=cfi-vcall``: Virtual call via an object whose vptr is of the 55 - ``-fsanitize=cfi-icall``: Indirect call of a function with wrong dynamic [all …]
|
/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 | 9 cfi 30 add_lit_testsuite(check-cfi "Running the cfi regression tests" 34 add_lit_target(check-cfi-and-supported "Running the cfi regression tests" 39 set_target_properties(check-cfi PROPERTIES FOLDER "Tests")
|
D | lit.cfg | 4 config.name = 'cfi' 12 …clangxx_cfi = ' '.join(config.lto_launch + [clangxx] + config.lto_flags + ['-flto -fsanitize=cfi '… 13 clangxx_cfi_diag = clangxx_cfi + '-fno-sanitize-trap=cfi -fsanitize-recover=cfi ' 16 config.substitutions.append((r"%clangxx_cfi_dso ", clangxx_cfi + '-fsanitize-cfi-cross-dso ')) 17 …config.substitutions.append((r"%clangxx_cfi_dso_diag ", clangxx_cfi_diag + '-fsanitize-cfi-cross-d…
|
/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/SystemZ/ |
D | int-cmp-09.ll | 65 ; CHECK: cfi %r2, 32768 77 ; CHECK: cfi %r2, 2147483647 89 ; CHECK: cfi %r2, -2147483648 147 ; CHECK: cfi %r2, -32769 159 ; CHECK: cfi %r2, -2147483648 171 ; CHECK: cfi %r2, 2147483647
|
/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/compiler-rt/lib/ubsan/ |
D | ubsan_checks.inc | 45 UBSAN_CHECK(CFIBadType, "cfi-bad-type", "cfi")
|
/external/google-breakpad/src/common/dwarf/ |
D | cfi_assembler.h | 78 EncodedPointerBases() : cfi(), text(), data() { } in EncodedPointerBases() 83 uint64_t cfi; member
|
/external/google-breakpad/src/tools/mac/dump_syms/ |
D | dump_syms_tool.mm | 53 : srcPath(), dsymPath(), arch(), cfi(true), handle_inter_cu_refs(true) {} 57 bool cfi; field 106 SymbolData symbol_data = options.cfi ? ALL_SYMBOL_DATA : NO_CFI; 117 bool split_module = options.dsymPath && options.srcPath && options.cfi; 221 options->cfi = false;
|
/external/compiler-rt/test/cfi/icall/ |
D | lit.local.cfg | 1 # The cfi-icall checker is only supported on x86 and x86_64 for now.
|
/external/compiler-rt/test/cfi/cross-dso/icall/ |
D | lit.local.cfg | 1 # The cfi-icall checker is only supported on x86 and x86_64 for now.
|
/external/llvm/test/CodeGen/MIR/X86/ |
D | expected-offset-after-cfi-operand.mir | 22 ; CHECK: [[@LINE+1]]:41: expected a cfi offset
|
D | large-cfi-offset-number-error.mir | 22 ; CHECK: [[@LINE+1]]:41: expected a 32 bit integer (the cfi offset is too large)
|
/external/compiler-rt/lib/ |
D | CMakeLists.txt | 48 add_subdirectory(cfi)
|