/external/mesa3d/src/gallium/auxiliary/hud/ |
D | hud_cpufreq.c | 70 list_for_each_entry(struct cpufreq_info, cfi, &gcpufreq_list, list) { in find_cfi_by_index() 71 if (cfi->mode != mode) in find_cfi_by_index() 73 if (cfi->cpu_index == cpu_index) in find_cfi_by_index() 74 return cfi; in find_cfi_by_index() 96 struct cpufreq_info *cfi = gr->query_data; in query_cfi_load() local 99 if (cfi->last_time) { in query_cfi_load() 100 if (cfi->last_time + gr->pane->period <= now) { in query_cfi_load() 101 switch (cfi->mode) { in query_cfi_load() 105 get_file_value(cfi->sysfs_filename, &cfi->KHz); in query_cfi_load() 106 hud_graph_add_value(gr, (uint64_t)cfi->KHz * 1000); in query_cfi_load() [all …]
|
/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 …]
|
/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/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-cfi-verify/AArch64/ |
D | protected-lineinfo.s | 2 # RUN: llvm-cfi-verify %t.o | FileCheck %s 26 .type _Z1av.cfi,@function 27 _Z1av.cfi: 37 .size _Z1av.cfi, .Lfunc_end0-_Z1av.cfi 41 .type _Z1bv.cfi,@function 42 _Z1bv.cfi: 51 .size _Z1bv.cfi, .Lfunc_end1-_Z1bv.cfi 89 adrp x8, .L.cfi.jumptable 90 add x9, x8, :lo12:.L.cfi.jumptable 111 .type .L.cfi.jumptable,@function [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-cfi-verify/Unsupported/ |
D | arm-protected-lineinfo.s | 2 # RUN: not llvm-cfi-verify %t.o 2>&1 | FileCheck %s 38 .type _Z1av.cfi,%function 40 _Z1av.cfi: 52 .size _Z1av.cfi, .Lfunc_end0-_Z1av.cfi 58 .type _Z1bv.cfi,%function 60 _Z1bv.cfi: 70 .size _Z1bv.cfi, .Lfunc_end1-_Z1bv.cfi 146 .long .L.cfi.jumptable-(.LPC2_2+8) 153 .type .L.cfi.jumptable,%function 155 .L.cfi.jumptable: [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-cfi-verify/X86/Inputs/ |
D | protected-lineinfo.s | 13 # clang++ -flto -fsanitize=cfi -fvisibility=hidden -c tiny.cc -o tiny.o -gmlt 15 # clang++ -fsanitize=cfi -flto -fvisibility=hidden -c tiny.cc -o tiny.o -gmlt 21 .type _Z1av.cfi,@function 22 _Z1av.cfi: 38 .size _Z1av.cfi, .Lfunc_end0-_Z1av.cfi 42 .type _Z1bv.cfi,@function 43 _Z1bv.cfi: 58 .size _Z1bv.cfi, .Lfunc_end1-_Z1bv.cfi 96 leaq .L.cfi.jumptable(%rip), %rcx 121 .type .L.cfi.jumptable,@function [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-cfi-verify/X86/ |
D | indirect-cf-elimination.s | 2 # RUN: llvm-cfi-verify %t.o 2>&1 --summarize | FileCheck %s 7 # function should not be reported at all by llvm-cfi-verify. 10 # reporting of the cfi-verify program. It should only find a single indirect CF 34 .type _Z1av.cfi,@function 35 _Z1av.cfi: 51 .size _Z1av.cfi, .Lfunc_end0-_Z1av.cfi 55 .type _Z1bv.cfi,@function 56 _Z1bv.cfi: 71 .size _Z1bv.cfi, .Lfunc_end1-_Z1bv.cfi 110 leaq .L.cfi.jumptable(%rip), %rcx [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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LowerTypeTests/ |
D | cfi-direct-call1.ll | 2 …owertypetests-summary-action=import -lowertypetests-read-summary=%p/Inputs/cfi-direct-call1.yaml -… 50 ; Make sure local_func1 and local_func2 have been renamed to <name>.cfi 51 ; FULL: define hidden i32 @local_func1.cfi() 52 ; FULL: define hidden i32 @local_func2.cfi() 61 …cfi.jumptable to [4 x [8 x i8]]*), i64 0, i64 2) to i32 ()*), i32 ()* null), i32 ()* bitcast ([8 x… 68 ; FULL: %call6 = tail call i32 @local_func1.cfi() 74 ; FULL: define private void @.cfi.jumptable(){{.*}} 76 ; FULL-NEXT: call void asm{{.*}}local_func1.cfi{{.*}}local_func2.cfi{{.*}}extern_weak{{.*}}extern_d… 78 ; Make sure all local functions have been renamed to <name>.cfi 79 ; THIN: define hidden i32 @local_func1.cfi() [all …]
|
D | function-arm-thumb.ll | 36 …ECK-NEXT: call void asm sideeffect "b.w $0\0Ab.w $1\0A", "s,s"(void ()* @f1.cfi, void ()* @g1.cfi) 42 …m sideeffect "b $0\0Ab $1\0Ab $2\0A", "s,s,s"(void ()* @f2.cfi, void ()* @g2.cfi, void ()* @h2.cfi)
|
D | cfi-direct-call.ll | 1 …owertypetests-summary-action=import -lowertypetests-read-summary=%p/Inputs/cfi-direct-call.yaml %s… 47 ; generates a jump table entry and is renamed to *.cfi: route direct call 49 ; CHECK-NEXT: call void @internal_hidden_def.cfi() 52 ; CHECK-NEXT: call void @dsolocal_default_def.cfi() 59 ; CHECK: declare hidden void @internal_hidden_def.cfi()
|
D | export-icall.ll | 19 !cfi.functions = !{!0, !1, !3, !9, !10, !4, !5, !6} 53 ; CHECK-DAG: define hidden void @h.cfi(i8 {{.*}}) !type !{{.*}} 56 ; CHECK-DAG: declare !type !{{.*}} void @f.cfi(i32) 57 ; CHECK-DAG: declare !type !{{.*}} void @f2.cfi(i32) 60 ; CHECK-DAG: declare !type !{{.*}} void @g.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 …]
|
/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/elfutils/libdwfl/ |
D | dwfl_module_dwarf_cfi.c | 38 __libdwfl_set_cfi (Dwfl_Module *mod, Dwarf_CFI **slot, Dwarf_CFI *cfi) in __libdwfl_set_cfi() argument 40 if (cfi != NULL && cfi->ebl == NULL) in __libdwfl_set_cfi() 44 cfi->ebl = mod->ebl; in __libdwfl_set_cfi() 48 INTUSE(dwarf_cfi_end) (cfi); in __libdwfl_set_cfi() 54 return *slot = cfi; in __libdwfl_set_cfi()
|
/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/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/CrossDSOCFI/ |
D | cfi_functions.ll | 1 ; Test that types referenced in ThinLTO-style !cfi.functions are known to __cfi_check. 2 ; RUN: opt -S -cross-dso-cfi < %s | FileCheck %s 3 ; RUN: opt -S -passes=cross-dso-cfi < %s | FileCheck %s 14 !cfi.functions = !{!0, !1}
|
D | thumb.ll | 1 ; RUN: opt -mtriple=armv7-linux-android -S -cross-dso-cfi < %s | FileCheck --check-prefix=THUMB %s 2 ; RUN: opt -mtriple=thumbv7-linux-android -S -cross-dso-cfi < %s | FileCheck --check-prefix=THUMB %s 3 ; RUN: opt -mtriple=i386-linux -S -cross-dso-cfi < %s | FileCheck --check-prefix=NOTHUMB %s 4 ; RUN: opt -mtriple=x86_64-linux -S -cross-dso-cfi < %s | FileCheck --check-prefix=NOTHUMB %s
|
/external/elfutils/tests/ |
D | dwarfcfi.c | 80 handle_address (Dwarf_CFI *cfi, GElf_Addr pc) in handle_address() argument 83 int result = dwarf_cfi_addrframe (cfi, pc, &frame); in handle_address() 153 Dwarf_CFI *cfi = dwarf_getcfi (dwarf); in main() local 154 if (cfi == NULL) in main() 165 result |= handle_address (cfi, addr); in main()
|
/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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cfi-verify/ |
D | CMakeLists.txt | 14 add_llvm_tool(llvm-cfi-verify 15 llvm-cfi-verify.cpp 19 target_link_libraries(llvm-cfi-verify PRIVATE LLVMCFIVerify)
|
/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()
|