HomeSort by relevance Sort by last modified time
    Searched refs:VG_ (Results 151 - 175 of 253) sorted by null

1 2 3 4 5 67 8 91011

  /external/valgrind/main/coregrind/
m_stacks.c 153 VG_(printf)("(hgdev) %lu searches, %lu steps, %lu fails\n",
178 UWord VG_(register_stack)(Addr start, Addr end)
188 i = (Stack *)VG_(arena_malloc)(VG_AR_CORE, "stacks.rs.1", sizeof(Stack));
199 VG_(debugLog)(2, "stacks", "register %p-%p as stack %lu\n",
209 void VG_(deregister_stack)(UWord id)
214 VG_(debugLog)(2, "stacks", "deregister stack %lu\n", id);
227 VG_(arena_free)(VG_AR_CORE, i);
240 void VG_(change_stack)(UWord id, Addr start, Addr end)
246 VG_(debugLog)(2, "stacks", "change stack %lu from %p-%p to %p-%p\n",
261 void VG_(stack_limits)(Addr SP, Addr *start, Addr *end
    [all...]
pub_core_ume.h 81 extern SysRes VG_(pre_exec_check)(const HChar* exe_name, Int* out_fd,
88 extern Int VG_(do_exec)(const HChar* exe, ExeInfo* info);
m_mallocfree.c 52 Long VG_(free_queue_volume) = 0;
53 Long VG_(free_queue_length) = 0;
235 return VG_(clo_profile_heap) ? VG_MIN_MALLOC_SZB : 0;
385 vg_assert( VG_(clo_profile_heap) );
392 vg_assert( VG_(clo_profile_heap) );
493 void VG_(print_all_arena_stats) ( void )
498 VG_(message)(Vg_DebugMsg,
505 void VG_(print_arena_cc_analysis) ( void )
508 vg_assert( VG_(clo_profile_heap) );
516 less coupled with the outside world. Hence VG_(arena_malloc)() an
    [all...]
m_xarray.c 53 XArray* VG_(newXA) ( void*(*alloc_fn)(HChar*,SizeT),
82 XArray* VG_(cloneXA)( HChar* cc, XArray* xao )
112 VG_(memcpy)( nyu->arr, xa->arr, nyu->totsizeE * nyu->elemSzB );
118 void VG_(deleteXA) ( XArray* xao )
128 void VG_(setCmpFnXA) ( XArray* xao, Int (*compar)(void*,void*) )
137 inline void* VG_(indexXA) ( XArray* xao, Word n )
168 VG_(printf)("addToXA: increasing from %ld to %ld\n",
173 VG_(memcpy)(tmp, xa->arr, xa->usedsizeE * xa->elemSzB);
181 Word VG_(addToXA) ( XArray* xao, void* elem )
191 VG_(memcpy)( ((UChar*)xa->arr) + xa->usedsizeE * xa->elemSzB
    [all...]
m_libcbase.c 38 Bool VG_(isspace) ( Char c )
44 Bool VG_(isdigit) ( Char c )
67 Long VG_(strtoll10) ( Char* str, Char** endptr )
74 while (VG_(isspace)(*str)) str++;
92 Long VG_(strtoll16) ( Char* str, Char** endptr )
99 while (VG_(isspace)(*str)) str++;
125 double VG_(strtod) ( Char* str, Char** endptr )
132 while (VG_(isspace)(*str)) str++;
158 Char VG_(tolower) ( Char c )
171 SizeT VG_(strlen) ( const Char* str
    [all...]
m_transtab.c 39 #include "pub_core_tooliface.h" // For VG_(details).avg_translation_sizeB
42 #include "pub_core_mallocfree.h" // VG_(out_of_memory_NORETURN)
47 # include "pub_core_syscall.h" // VG_(do_syscallN)
240 FastCacheEntry VG_(tt_fast)[VG_TT_FAST_SIZE];
250 When not profiling (the normal case, VG_(clo_profile_flags) == 0),
254 When profiling (VG_(clo_profile_flags) > 0), tt_fast and tt_fastN
263 /*global*/ UInt* VG_(tt_fastN)[VG_TT_FAST_SIZE];
392 if (0) VG_(printf)("ec %d gets %d\n", ec, (Int)tteno);
401 new_ar = VG_(arena_malloc)(VG_AR_TTAUX, "transtab.aECN.1",
406 VG_(arena_free)(VG_AR_TTAUX, old_ar)
    [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,
74 .globl VG_(cpuid)
75 VG_(cpuid):
115 .globl VG_(cpuid)
116 VG_(cpuid)
    [all...]
pub_core_threadstate.h 36 // VG_(threads)[] data structure which holds all the important thread
369 extern ThreadState VG_(threads)[VG_N_THREADS];
373 extern ThreadId VG_(running_tid);
381 const HChar* VG_(name_of_ThreadStatus) ( ThreadStatus status );
384 extern ThreadState *VG_(get_ThreadState) ( ThreadId tid );
387 extern Bool VG_(is_valid_tid) ( ThreadId tid );
390 extern Bool VG_(is_running_thread)(ThreadId tid);
393 extern Bool VG_(is_exiting)(ThreadId tid);
396 extern Int VG_(count_living_threads)(void);
399 extern Int VG_(count_runnable_threads)(void)
    [all...]
m_oset.c 139 " - node not allocated with VG_(OSetGen_AllocNode)()?\n"
285 AvlTree* VG_(OSetGen_Create)(PtrdiffT _keyOff, OSetCmp_t _cmp,
312 AvlTree* VG_(OSetWord_Create)(OSetAlloc_t _alloc, HChar* _cc,
315 return VG_(OSetGen_Create)(/*keyOff*/0, /*cmp*/NULL, _alloc, _cc, _free);
319 void VG_(OSetGen_Destroy)(AvlTree* t)
354 void VG_(OSetWord_Destroy)(AvlTree* t)
356 VG_(OSetGen_Destroy)(t);
360 void* VG_(OSetGen_AllocNode)(AvlTree* t, SizeT elemSize)
365 VG_(memset)(n, 0, nodeSize);
370 void VG_(OSetGen_FreeNode)(AvlTree* t, void* e
    [all...]
  /external/valgrind/tsan/
ts_valgrind_libc.cc 37 // can't use VG_(memmove) since it is buggy.
54 return VG_(memcmp)(a,b,c);
58 return VG_(memcpy)(dest,src,n);
  /external/valgrind/main/coregrind/m_debuginfo/
debuginfo.c 41 #include "pub_core_libcproc.h" // VG_(getenv)
44 #include "pub_core_redir.h" // VG_(redir_notify_{new,delete}_SegInfo)
49 #include "pub_core_stacktrace.h" // VG_(get_StackTrace) XXX: circular dependency
192 = VG_(string_match)( VG_(clo_trace_symtab_patt), filename )
193 || (memname && VG_(string_match)( VG_(clo_trace_symtab_patt),
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)
    [all...]
tytypes.c 72 VG_(printf)("{");
73 for (i = 0; i < VG_(sizeXA)(xa); i++) {
74 UWord cuOff = *(UWord*)VG_(indexXA)(xa, i);
75 VG_(printf)("0x%05lx", cuOff);
76 if (i+1 < VG_(sizeXA)(xa))
77 VG_(printf)(",");
79 VG_(printf)("}");
84 VG_(printf)("0x%05lx ", te->cuOff);
87 VG_(printf)("EMPTY");
90 VG_(printf)("INDIR(0x%05lx)", te->Te.INDIR.indR)
    [all...]
readpdb.c 45 #include "pub_core_libcfile.h" // VG_(open), read, lseek, close
47 #include "pub_core_libcproc.h" // VG_(getpid), system
48 #include "pub_core_options.h" // VG_(clo_verbosity)
107 VG_(di_discard_ALL_debuginfo)() at shutdown and run with
1001 VG_(umsg)("Warning: pdb_ds_read: implausible size "
1010 VG_(memcpy)( buffer + i * blocksize,
1024 //VG_(printf)("pdb_read %p %p %d\n", pdb, block_list, size);
1031 VG_(memcpy)( buffer + i*blocksize,
1041 UChar* txteof = (UChar*)VG_(strchr)(pdbimage, '\032');
1044 if (0!=VG_(strncmp)(pdbimage, pdbtxt, -1+ sizeof(pdbtxt))
    [all...]
readdwarf.c 40 #include "pub_core_tooliface.h" /* VG_(needs) */
89 if (0) VG_(printf)("<<ADD %p (new sz = %d) >>\n",
96 if (0) VG_(printf)("EXPAND ARRAY from %d\n", wa->tab_size);
296 if (0) VG_(printf)("smr.a := %p (reset)\n", NULL );
351 VG_(message)(Vg_UserMsg,
360 if (0) VG_(printf)("dwarf2: ext OPC: %d\n", op_code);
364 if (0) VG_(printf)("1001: si->o %#lx, smr.a %#lx\n",
391 VG_(printf)(" Extended opcode %d: End of Sequence\n\n",
399 VG_(printf)(" Extended opcode %d: set Address to 0x%lx\n",
406 data += VG_(strlen) ((char *) data) + 1
    [all...]
  /external/valgrind/main/drd/tests/
unit_vc.c 13 void* VG_(malloc)(HChar* cc, SizeT nbytes)
15 void* VG_(realloc)(HChar* cc, void* p, SizeT size)
17 void VG_(free)(void* p)
19 void VG_(assert_fail)(Bool isCore, const Char* assertion, const Char* 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)(Char* buf, Int size, const HChar *format, ...)
45 SizeT VG_(strlen)(const Char* str) { return strlen(str);
    [all...]
  /external/valgrind/main/coregrind/m_dispatch/
dispatch-amd64-darwin.S 42 /*--- The dispatch loop. VG_(run_innerloop) is used to ---*/
52 UWord VG_(run_innerloop) ( void* guest_state, UWord do_profiling );
56 .globl VG_(run_innerloop)
57 VG_(run_innerloop):
61 /* ----- entry point to VG_(run_innerloop) ----- */
77 movq VG_(dispatch_ctr)@GOTPCREL(%rip), %r15
82 /* 0(%rsp) holds cached copy of VG_(dispatch_ctr) */
109 je VG_(run_innerloop__dispatch_unprofiled)
110 jmp VG_(run_innerloop__dispatch_profiled)
118 .globl VG_(run_innerloop__dispatch_unprofiled
    [all...]
  /external/valgrind/main/memcheck/tests/
unit_libcbase.c 264 CHECK( VG_(isspace)(' ') );
265 CHECK( VG_(isspace)('\n') );
266 CHECK( VG_(isspace)('\t') );
267 CHECK( ! VG_(isspace)('3') );
268 CHECK( ! VG_(isspace)('x') );
273 CHECK( VG_(isdigit)('0') );
274 CHECK( VG_(isdigit)('1') );
275 CHECK( VG_(isdigit)('5') );
276 CHECK( VG_(isdigit)('9') );
277 CHECK( ! VG_(isdigit)('a') )
    [all...]
  /external/valgrind/main/coregrind/m_sigframe/
sigframe-ppc64-aix5.c 52 #include "pub_core_transtab.h" // VG_(discard_translations)
111 void VG_(sigframe_create) ( ThreadId tid,
131 tst = VG_(get_ThreadState)(tid);
140 VG_(memset)(&frame->lower_guardzone, 0, 1024);
141 VG_(memset)(&frame->gst, 0, sizeof(VexGuestPPC64State));
142 VG_(memset)(&frame->gshadow1, 0, sizeof(VexGuestPPC64State));
143 VG_(memset)(&frame->gshadow2, 0, sizeof(VexGuestPPC64State));
177 VG_(discard_translations)( (Addr64)(Addr)&frame->tramp[0],
186 VG_(printf)("pushed signal frame for sig %d; R1 now = %#lx, "
190 VG_(printf)("trampoline is at %p\n", &frame->tramp[0])
    [all...]
sigframe-ppc64-linux.c 50 #include "pub_core_transtab.h" // VG_(discard_translations)
143 if (VG_(extend_stack)(addr, tst->client_stack_szB)) {
144 stackseg = VG_(am_find_nsegment)(addr);
146 VG_(printf)("frame=%#lx seg=%#lx-%#lx\n",
151 VG_(message)(
156 VG_(message)(Vg_UserMsg, " no stack segment\n");
158 VG_(message)(Vg_UserMsg, " too small or bad protection modes\n");
161 VG_(set_default_handler)(VKI_SIGSEGV);
162 VG_(synth_fault_mapping)(tid, addr);
179 void VG_(sigframe_create)( ThreadId tid,
    [all...]
sigframe-arm-linux.c 52 #include "pub_core_transtab.h" // VG_(discard_translations)
78 if (VG_(extend_stack)(addr, tst->client_stack_szB)) {
79 stackseg = VG_(am_find_nsegment)(addr);
81 VG_(printf)("frame=%#lx seg=%#lx-%#lx\n",
86 VG_(message)(
91 VG_(message)(Vg_UserMsg, " no stack segment");
93 VG_(message)(Vg_UserMsg, " too small or bad protection modes");
96 VG_(set_default_handler)(VKI_SIGSEGV);
97 VG_(synth_fault_mapping)(tid, addr);
116 ThreadState *tst = VG_(get_ThreadState)(tid)
    [all...]
  /external/valgrind/main/exp-ptrcheck/
sg_main.c 75 p = VG_(malloc)( cc, n );
82 VG_(free)(p);
133 VG_(di_get_local_blocks_at_ip), we compare it to the existing set.
184 r = (Word)VG_(strcmp)(fb1->name, fb2->name);
200 && 0 == VG_(strcmp)(fb1->name, fb2->name);
208 n1 = VG_(sizeXA)( fb1s );
209 n2 = VG_(sizeXA)( fb2s );
214 fb1 = VG_(indexXA)( fb1s, i );
215 fb2 = VG_(indexXA)( fb2s, i );
225 Word i, n = VG_(sizeXA)( sbs )
    [all...]
  /external/valgrind/main/helgrind/
hg_lock_n_thread.c 56 VG_(initIterBag)( bag );
57 while (VG_(nextIterBag)( bag, (Word*)&thr, &count )) {
61 VG_(doneIterBag)( bag );
84 if (VG_(isEmptyBag)(lock->heldBy))
93 && !VG_(isSingletonTotalBag)(lock->heldBy))
  /external/valgrind/main/cachegrind/
cg-x86-amd64.c 47 VG_(dmsg)("warning: Pentium 4 with %d KB micro-op instruction trace cache\n",
49 VG_(dmsg)(" Simulating a %d KB I-cache with %d B lines\n",
81 VG_(dmsg)("warning: CPUID level < 2 for Intel processor (%d)\n", level);
86 VG_(cpuid)(1, &cpuid1_eax, &cpuid1_ignore,
91 VG_(cpuid)(2, (Int*)&info[0], (Int*)&info[4],
97 VG_(dmsg)("warning: non-zero CPUID trials for Intel processor (%d)\n",
133 VG_(tool_panic)("IA-64 cache detected?!");
241 VG_(dmsg)("warning: Unknown Intel cache config value (0x%x), ignoring\n",
249 VG_(dmsg)("warning: L3 cache found, using its data for the LL simulation.\n");
255 VG_(dmsg)("warning: L2 cache not installed, ignore LL results.\n")
    [all...]
  /external/valgrind/main/drd/
drd_load_store.c 94 VG_(message)(Vg_UserMsg,
109 VG_(free)(vc);
110 VG_(get_and_pp_StackTrace)(VG_(get_running_tid)(),
111 VG_(clo_backtrace_size));
113 == VG_(get_running_tid)());
136 VG_(maybe_record_error)(VG_(get_running_tid)(),
138 VG_(get_IP)(VG_(get_running_tid)())
    [all...]
  /external/valgrind/main/callgrind/
main.c 271 VG_(memset)(ev, 0, sizeof(Event));
328 VG_(printf)("Ir (InstrInfo %p) at +%d\n",
332 VG_(printf)("Dr (InstrInfo %p) at +%d %d EA=",
335 VG_(printf)("\n");
338 VG_(printf)("Dw (InstrInfo %p) at +%d %d EA=",
341 VG_(printf)("\n");
344 VG_(printf)("Dm (InstrInfo %p) at +%d %d EA=",
347 VG_(printf)("\n");
350 VG_(printf)("Bc %p GA=", ev->inode);
352 VG_(printf)("\n")
    [all...]

Completed in 494 milliseconds

1 2 3 4 5 67 8 91011