HomeSort by relevance Sort by last modified time
    Searched refs:VG_ (Results 176 - 200 of 292) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/valgrind/coregrind/
m_xarray.c 53 XArray* VG_(newXA) ( void*(*alloc_fn)(const HChar*,SizeT),
81 XArray* VG_(cloneXA)( const HChar* cc, const XArray* xa )
105 VG_(memcpy)( nyu->arr, xa->arr, nyu->totsizeE * nyu->elemSzB );
111 void VG_(deleteXA) ( XArray* xa )
120 void VG_(setCmpFnXA) ( XArray* xa, XACmpFn_t compar )
128 inline void* VG_(indexXA) ( const XArray* xa, Word n )
138 void VG_(hintSizeXA) ( XArray* xa, Word n)
141 call to VG_(newXA). So, we could instead have done
142 a function VG_(newXA_with_SizeHint). The separate VG_(hintSizeXA
    [all...]
pub_core_threadstate.h 36 // VG_(threads)[] data structure which holds all the important thread
365 extern ThreadState *VG_(threads);
369 extern ThreadId VG_(running_tid);
377 void VG_(init_Threads)(void);
380 const HChar* VG_(name_of_ThreadStatus) ( ThreadStatus status );
383 const HChar* VG_(name_of_VgSchedReturnCode) ( VgSchedReturnCode retcode );
386 extern ThreadState *VG_(get_ThreadState) ( ThreadId tid );
389 extern Bool VG_(is_valid_tid) ( ThreadId tid );
392 extern Bool VG_(is_running_thread)(ThreadId tid);
395 extern Bool VG_(is_exiting)(ThreadId tid)
    [all...]
m_libcbase.c 32 #include "pub_core_libcassert.h" // VG_(exit_now)
33 #include "pub_core_debuglog.h" // VG_(debugLog)
53 VG_(debugLog)(0, "libcbase",
55 VG_(debugLog)(0, "libcbase", " %s\n", expr);
56 VG_(debugLog)(0, "libcbase", " at %s:%d (%s)\n", file, line, fn);
57 VG_(debugLog)(0, "libcbase", "Exiting now.\n");
58 VG_(exit_now)(1);
66 Bool VG_(isspace) ( HChar c )
72 Bool VG_(isdigit) ( HChar c )
95 Long VG_(strtoll10) ( const HChar* str, HChar** endptr
    [all...]
pub_core_ume.h 34 #include "pub_core_basics.h" // VG_ macro
84 extern SysRes VG_(pre_exec_check)(const HChar* exe_name, Int* out_fd,
91 extern Int VG_(do_exec)(const HChar* exe, ExeInfo* info);
m_cache.c 56 ci->caches = VG_(realloc)("m_cache", ci->caches,
123 VG_(debugLog)(1, "cache", "warning: CPUID level < 2 for Intel "
129 VG_(cpuid)(1, 0, &cpuid1_eax, &cpuid1_ignore,
134 VG_(cpuid)(2, 0, (UInt*)&info[0], (UInt*)&info[4],
140 VG_(debugLog)(1, "cache", "warning: non-zero CPUID trials for Intel "
184 VG_(core_panic)("IA-64 cache detected?!");
291 VG_(cpuid)(4, j++, (UInt*)&info[0], (UInt*)&info[4],
311 VG_(debugLog)(1, "cache",
323 VG_(debugLog)(1, "cache",
335 VG_(debugLog)(1, "cache"
    [all...]
m_translate.c 36 #include "pub_core_machine.h" // VG_(fnptr_to_fnentry)
37 // VG_(get_SP)
38 // VG_(machine_get_VexArchInfo)
44 #include "pub_core_debuginfo.h" // VG_(get_fnname_w_offset)
45 #include "pub_core_redir.h" // VG_(redir_do_lookup)
47 #include "pub_core_signals.h" // VG_(synth_fault_{perms,mapping}
48 #include "pub_core_stacks.h" // VG_(unknown_SP_update*)()
49 #include "pub_core_tooliface.h" // VG_(tdict)
53 #include "pub_core_dispatch.h" // VG_(run_innerloop__dispatch_{un}profiled)
54 // VG_(run_a_noredir_translation__return_point
    [all...]
m_cpuid.S 34 Bool VG_(has_cpuid)(void)
38 .globl VG_(has_cpuid)
39 VG_(has_cpuid):
62 .globl VG_(has_cpuid)
63 VG_(has_cpuid):
69 void VG_(cpuid)(UInt eax, UInt ecx,
74 .globl VG_(cpuid)
75 VG_(cpuid):
116 .globl VG_(cpuid)
117 VG_(cpuid)
    [all...]
m_transtab.c 34 #include "pub_core_machine.h" // For VG_(machine_get_VexArchInfo)
37 #include "pub_core_libcproc.h" // VG_(invalidate_icache)
41 #include "pub_core_tooliface.h" // For VG_(details).avg_translation_sizeB
44 #include "pub_core_mallocfree.h" // VG_(out_of_memory_NORETURN)
46 #include "pub_core_dispatch.h" // For VG_(disp_cp*) addresses
57 UInt VG_(clo_num_transtab_sectors) = N_SECTORS_DEFAULT;
59 Will be set by VG_(init_tt_tc) to VG_(clo_num_transtab_sectors). */
64 UInt VG_(clo_avg_transtab_entry_size) = 0;
227 2. discarded due to calls to VG_(discard_translations)
    [all...]
m_hashtable.c 69 VgHashTable *VG_(HT_construct) ( const HChar* name )
74 VgHashTable *table = VG_(calloc)("hashtable.Hc.1",
76 table->chains = VG_(calloc)("hashtable.Hc.2", 1, sz);
85 Int VG_(HT_count_nodes) ( const VgHashTable *table )
117 VG_(debugLog)(
125 chains = VG_(calloc)("hashtable.resize.1", 1, sz);
138 VG_(free)(table->chains);
144 void VG_(HT_add_node) ( VgHashTable *table, void* vnode )
160 void* VG_(HT_lookup) ( const VgHashTable *table, UWord key )
174 GEN!!! marks the lines that differs from VG_(HT_lookup). *
    [all...]
m_mallocfree.c 55 Long VG_(free_queue_volume) = 0;
56 Long VG_(free_queue_length) = 0;
222 // VG_(arena_perm_malloc) returns memory from superblocks
439 vg_assert( VG_(clo_profile_heap) );
446 vg_assert( VG_(clo_profile_heap) );
553 // It might be overriden by VG_(clo_redzone_size) or VG_(clo_core_redzone_size).
570 if (VG_(clo_redzone_size) != -1)
571 rz_szB = VG_(clo_redzone_size);
573 if (VG_(clo_core_redzone_size) != rz_szB
    [all...]
  /external/valgrind/coregrind/m_debuginfo/
debuginfo.c 42 #include "pub_core_libcproc.h" // VG_(getenv)
45 #include "pub_core_redir.h" // VG_(redir_notify_{new,delete}_SegInfo)
50 #include "pub_core_stacktrace.h" // VG_(get_StackTrace) XXX: circular dependency
187 di->fsm.maps = VG_(newXA)(
194 = VG_(string_match)( VG_(clo_trace_symtab_patt), filename );
196 di->trace_symtab = VG_(clo_trace_symtab);
197 di->trace_cfi = VG_(clo_trace_cfi);
198 di->ddump_syms = VG_(clo_debug_dump_syms);
199 di->ddump_line = VG_(clo_debug_dump_line)
    [all...]
tytypes.c 73 VG_(printf)("{");
74 for (i = 0; i < VG_(sizeXA)(xa); i++) {
75 UWord cuOff = *(UWord*)VG_(indexXA)(xa, i);
76 VG_(printf)("0x%05lx", cuOff);
77 if (i+1 < VG_(sizeXA)(xa))
78 VG_(printf)(",");
80 VG_(printf)("}");
85 VG_(printf)("0x%05lx ", te->cuOff);
88 VG_(printf)("EMPTY");
91 VG_(printf)("INDIR(0x%05lx)", te->Te.INDIR.indR)
    [all...]
readdwarf.c 41 #include "pub_core_tooliface.h" /* VG_(needs) */
67 if (xa_ix >= VG_(sizeXA) (fndn_ix_xa)) return 0;
68 return *(UInt*)VG_(indexXA) ( fndn_ix_xa, xa_ix );
77 if (xa_ix >= VG_(sizeXA) (dirname_xa)) return NULL;
78 return *(HChar**)VG_(indexXA) ( dirname_xa, xa_ix );
235 if (0) VG_(printf)("smr.a := %p (reset)\n", NULL );
260 VG_(message)(Vg_UserMsg,
267 if (0) VG_(printf)("dwarf2: ext OPC: %d\n", op_code);
271 if (0) VG_(printf)("1001: si->o %#lx, smr.a %#lx\n",
291 VG_(printf)(" Extended opcode %d: End of Sequence\n\n",
    [all...]
readelf.c 43 #include "pub_core_tooliface.h" /* VG_(needs) */
166 VG_(printf)("raw symbol [%4d]: ", i);
168 case STB_LOCAL: VG_(printf)("LOC "); break;
169 case STB_GLOBAL: VG_(printf)("GLO "); break;
170 case STB_WEAK: VG_(printf)("WEA "); break;
171 case STB_LOPROC: VG_(printf)("lop "); break;
172 case STB_HIPROC: VG_(printf)("hip "); break;
173 default: VG_(printf)("??? "); break;
176 case STT_NOTYPE: VG_(printf)("NOT "); break;
177 case STT_OBJECT: VG_(printf)("OBJ "); break
    [all...]
  /external/valgrind/coregrind/m_syswrap/
syswrap-amd64-darwin.c 41 #include "pub_core_debuginfo.h" // VG_(di_notify_*)
42 #include "pub_core_transtab.h" // VG_(discard_translations)
52 #include "pub_core_sigframe.h" // For VG_(sigframe_destroy)()
100 VG_(memcpy)(&mach->__fpu_xmm0, &vex->guest_YMM0, sizeof(mach->__fpu_xmm0));
101 VG_(memcpy)(&mach->__fpu_xmm1, &vex->guest_YMM1, sizeof(mach->__fpu_xmm1));
102 VG_(memcpy)(&mach->__fpu_xmm2, &vex->guest_YMM2, sizeof(mach->__fpu_xmm2));
103 VG_(memcpy)(&mach->__fpu_xmm3, &vex->guest_YMM3, sizeof(mach->__fpu_xmm3));
104 VG_(memcpy)(&mach->__fpu_xmm4, &vex->guest_YMM4, sizeof(mach->__fpu_xmm4));
105 VG_(memcpy)(&mach->__fpu_xmm5, &vex->guest_YMM5, sizeof(mach->__fpu_xmm5));
106 VG_(memcpy)(&mach->__fpu_xmm6, &vex->guest_YMM6, sizeof(mach->__fpu_xmm6))
    [all...]
  /external/valgrind/helgrind/
hg_main.c 53 #include "pub_tool_debuginfo.h" // VG_(find_seginfo), VG_(seginfo_soname)
56 #include "pub_tool_libcproc.h" // VG_(atfork)
57 #include "pub_tool_aspacemgr.h" // VG_(am_is_valid_for_client)
217 VG_(deleteBag)( lk->heldBy );
232 VG_(memset)(lk, 0xAA, sizeof(*lk));
254 = VG_(record_ExeContext)(tid, 0/*first_ip_delta*/);
266 lk->heldBy = VG_(newBag)( HG_(zalloc), "hg.lNaw.1", HG_(free) );
267 VG_(addToBag)( lk->heldBy, (UWord)thr );
275 tl_assert(VG_(sizeUniqueBag(lk->heldBy)) == 1)
    [all...]
hg_addrdescr.c 79 VG_(initThreadInfo) (&ai->Addr.Block.alloc_tinfo);
81 ai->Addr.Block.freed_at = VG_(null_ExeContext)();;
84 VG_(describe_addr) (a, ai);
111 VG_(pp_addrinfo) (addr, &glai);
114 VG_(clear_addrinfo) (&glai);
hg_lock_n_thread.c 56 VG_(initIterBag)( bag );
57 while (VG_(nextIterBag)( bag, (UWord*)&thr, &count )) {
61 VG_(doneIterBag)( bag );
84 if (VG_(isEmptyBag)(lock->heldBy))
93 && !VG_(isSingletonTotalBag)(lock->heldBy))
  /external/valgrind/callgrind/
dump.c 105 VG_(free)(dump_array);
132 VG_(fprintf)(fp, "%s(%d)\n", prefix, obj->number);
134 VG_(fprintf)(fp, "%s(%d) %s\n", prefix, obj->number, obj->name);
138 VG_(fprintf)(fp, "%s%s\n", prefix, obj->name);
145 VG_(fprintf)(fp, "mp=%p %p %p\n",
158 VG_(fprintf)(fp, "%s(%d)\n", prefix, file->number);
160 VG_(fprintf)(fp, "%s(%d) %s\n", prefix, file->number, file->name);
165 VG_(fprintf)(fp, "%s%s\n", prefix, file->name);
173 VG_(fprintf)(fp, "%s=",tag);
177 VG_(fprintf)(fp, "(%d)\n", fn->number)
    [all...]
main.c 40 #include "pub_tool_transtab.h" // VG_(discard_translations_safely)
277 VG_(memset)(ev, 0, sizeof(Event));
334 VG_(printf)("Ir (InstrInfo %p) at +%d\n",
338 VG_(printf)("Dr (InstrInfo %p) at +%d %d EA=",
341 VG_(printf)("\n");
344 VG_(printf)("Dw (InstrInfo %p) at +%d %d EA=",
347 VG_(printf)("\n");
350 VG_(printf)("Dm (InstrInfo %p) at +%d %d EA=",
353 VG_(printf)("\n");
356 VG_(printf)("Bc %p GA=", ev->inode)
    [all...]
  /external/valgrind/coregrind/m_ume/
macho.c 38 #include "pub_core_libcassert.h" // VG_(exit), vg_assert
39 #include "pub_core_libcbase.h" // VG_(memcmp), etc
40 #include "pub_core_libcfile.h" // VG_(open) et al
44 #include "pub_core_mallocfree.h" // VG_(malloc), VG_(free)
45 #include "pub_core_syscall.h" // VG_(strerror)
73 VG_(printf)("%s", str);
79 VG_(printf)("valgrind: mmap-FIXED(0x%llx, %lld) failed in UME (%s).\n",
81 VG_(exit)(1);
89 VG_(printf)("valgrind: mmap-FLOAT(size=%lld) failed in UME (%s).\n",
    [all...]
  /external/valgrind/drd/tests/
unit_vc.c 13 void* VG_(malloc)(const HChar* cc, SizeT nbytes)
15 void* VG_(realloc)(const HChar* cc, void* p, SizeT size)
17 void VG_(free)(void* p)
19 void VG_(assert_fail)(Bool isCore, const HChar* assertion, const HChar* file,
35 void* VG_(memset)(void *s, Int c, SizeT sz)
37 void* VG_(memcpy)(void *d, const void *s, SizeT sz)
39 Int VG_(memcmp)(const void* s1, const void* s2, SizeT n)
41 UInt VG_(printf)(const HChar *format, ...)
43 UInt VG_(snprintf)(HChar* buf, Int size, const HChar *format, ...)
45 SizeT VG_(strlen)(const HChar* str) { return strlen(str);
    [all...]
  /external/valgrind/memcheck/tests/
unit_libcbase.c 13 void VG_(debugLog) ( Int level, const HChar* modulename,
24 void VG_(exit_now)( Int status )
286 CHECK( VG_(isspace)(' ') );
287 CHECK( VG_(isspace)('\n') );
288 CHECK( VG_(isspace)('\t') );
289 CHECK( ! VG_(isspace)('3') );
290 CHECK( ! VG_(isspace)('x') );
295 CHECK( VG_(isdigit)('0') );
296 CHECK( VG_(isdigit)('1') );
297 CHECK( VG_(isdigit)('5') )
    [all...]
  /external/valgrind/exp-sgcheck/
sg_main.c 75 p = VG_(malloc)( cc, n );
81 VG_(free)(p);
132 VG_(di_get_local_blocks_at_ip), we compare it to the existing set.
183 r = (Word)VG_(strcmp)(fb1->name, fb2->name);
199 && 0 == VG_(strcmp)(fb1->name, fb2->name);
207 n1 = VG_(sizeXA)( fb1s );
208 n2 = VG_(sizeXA)( fb2s );
213 fb1 = VG_(indexXA)( fb1s, i );
214 fb2 = VG_(indexXA)( fb2s, i );
224 Word i, n = VG_(sizeXA)( sbs )
    [all...]
  /external/valgrind/drd/
drd_segment.c 30 #include "pub_tool_libcbase.h" // VG_(strlen)()
31 #include "pub_tool_libcprint.h" // VG_(printf)()
32 #include "pub_tool_machine.h" // VG_(get_SP)()
33 #include "pub_tool_mallocfree.h" // VG_(malloc)(), VG_(free)()
83 if (vg_created != VG_INVALID_THREADID && VG_(get_SP)(vg_created) != 0)
84 sg->stacktrace = VG_(record_ExeContext)(vg_created, 0);
100 VG_(message)(Vg_DebugMsg, "New segment for thread %d with vc %s\n",
102 VG_(free)(vc);
126 sg = VG_(malloc)("drd.segment.sn.1", sizeof(*sg))
    [all...]

Completed in 388 milliseconds

1 2 3 4 5 6 78 91011>>