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

1 2 3 4 5 6 7 891011>>

  /external/valgrind/memcheck/
mc_main.c 57 #define DEBUG(fmt, args...) //VG_(printf)(fmt, ## args)
301 new_sm = VG_(am_shadow_alloc)(sizeof(SecMap));
303 VG_(out_of_memory_NORETURN)( "memcheck:allocate new SecMap",
305 VG_(memcpy)(new_sm, dist_sm, sizeof(SecMap));
404 auxmap_L2 = VG_(OSetGen_Create)( /*keyOff*/ offsetof(AuxMapEnt,base),
406 VG_(malloc), "mc.iaLL.1", VG_(free) );
435 if (VG_(OSetGen_Size)(auxmap_L2) != 0)
446 VG_(OSetGen_ResetIter)(auxmap_L2);
447 while ( (elem = VG_(OSetGen_Next)(auxmap_L2)) )
    [all...]
  /external/valgrind/coregrind/
m_seqmatch.c 34 #include "pub_core_libcbase.h" // VG_(strlen)
42 Bool VG_(generic_match) (
107 if (VG_(generic_match)( matchAll,
179 Bool VG_(string_match) ( const HChar* patt, const HChar* input )
181 return VG_(generic_match)(
183 patt, sizeof(HChar), VG_(strlen)(patt), 0,
184 input, sizeof(HChar), VG_(strlen)(input), 0,
pub_core_initimg.h 54 IIFinaliseImageInfo VG_(ii_create_image)( IICreateImageInfo,
61 VG_(ii_create_image). */
63 void VG_(ii_finalise_image)( IIFinaliseImageInfo );
m_oset.c 142 " - node not allocated with VG_(OSetGen_AllocNode)()?\n"
288 AvlTree* VG_(OSetGen_Create)(PtrdiffT keyOff, OSetCmp_t cmp,
317 AvlTree* VG_(OSetGen_Create_With_Pool)(PtrdiffT keyOff, OSetCmp_t cmp,
325 t = VG_(OSetGen_Create) (keyOff, cmp, alloc_fn, cc, free_fn);
330 t->node_pa = VG_(newPA)(sizeof(AvlNode)
336 VG_(addRefPA) (t->node_pa);
341 AvlTree* VG_(OSetGen_EmptyClone) (const AvlTree* os)
355 VG_(addRefPA) (t->node_pa);
364 AvlTree* VG_(OSetWord_Create)(OSetAlloc_t alloc_fn, const HChar* cc,
367 return VG_(OSetGen_Create)(/*keyOff*/0, /*cmp*/NULL, alloc_fn, cc, free_fn)
    [all...]
m_syscall.c 63 SysRes VG_(mk_SysRes_x86_linux) ( Int val ) {
75 SysRes VG_(mk_SysRes_amd64_linux) ( Long val ) {
86 SysRes VG_(mk_SysRes_tilegx_linux) ( Long val ) {
99 SysRes VG_(mk_SysRes_ppc32_linux) ( UInt val, UInt cr0so ) {
107 SysRes VG_(mk_SysRes_ppc64_linux) ( ULong val, ULong cr0so ) {
114 SysRes VG_(mk_SysRes_s390x_linux) ( Long val ) {
125 SysRes VG_(mk_SysRes_arm_linux) ( Int val ) {
136 SysRes VG_(mk_SysRes_arm64_linux) ( Long val ) {
149 SysRes VG_(mk_SysRes_mips32_linux) ( UWord v0, UWord v1, UWord a3 ) {
158 SysRes VG_(mk_SysRes_mips64_linux) ( ULong v0, ULong v1, ULong a3 )
    [all...]
m_wordfm.c 566 which becomes obvious if you use VG_(initIterFM),
567 VG_(initIterAtFM), VG_(nextIterFM), VG_(doneIterFM) to iterate over
571 WordFM* VG_(newFM) ( void* (*alloc_nofail)( const HChar*, SizeT ),
596 VG_(memset)(nd, 0, sizeof(AvlNode));
602 void VG_(deleteFM) ( WordFM* fm, void(*kFin)(UWord), void(*vFin)(UWord) )
606 VG_(memset)(fm, 0, sizeof(WordFM) );
611 Bool VG_(addToFM) ( WordFM* fm, UWord k, UWord v )
629 Bool VG_(delFromFM) ( WordFM* fm
    [all...]
  /external/valgrind/coregrind/m_debuginfo/
image.c 42 #include "pub_core_libcproc.h" /* VG_(read_millisecond_timer) */
145 res = VG_(fcntl)(sd, VKI_F_GETFL, 0/*ignored*/);
147 res = VG_(fcntl)(sd, VKI_F_SETFL, res & ~VKI_O_NONBLOCK);
163 Int n = VG_(read)(fd, &buf[nRead], nNeeded);
181 Int n = VG_(write_socket)(fd, &buf[nWritten], nStillToDo);
191 VG_(umsg)("\n");
192 VG_(umsg)(
194 VG_(umsg)(
196 VG_(umsg)("\n");
197 VG_(exit)(1)
    [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)
81 argument of VG_(di_notify_pdb_debuginfo), is not used.
85 VG_(di_discard_ALL_debuginfo)() at shutdown and run with
981 VG_(umsg)("LOAD_PDB_DEBUGINFO: pdb_ds_read: implausible size "
990 VG_(memcpy)( buffer + i * blocksize,
1004 //VG_(printf)("pdb_read %p %p %d\n", pdb, block_list, size);
1011 VG_(memcpy)( buffer + i*blocksize,
1021 HChar* txteof = VG_(strchr)(pdbimage, '\032')
    [all...]
readdwarf3.c 106 involves a binary search (VG_(lookupXA)) for each access. This is
111 indexing (VG_(indexXA)) wherever possible after that.
114 VG_(indexXA) into pub_tool_xarray.h so it can be inlined at all use
146 #include "pub_core_tooliface.h" /* VG_(needs) */
164 if (UNLIKELY(td3)) { VG_(printf)(format, ## args); }
199 VG_(bzero_inline)(c, sizeof(*c));
677 xa = VG_(newXA)( ML_(dinfo_zalloc), "di.readdwarf3.mgGX.1",
681 { UChar c = 1; /*biasMe*/ VG_(addBytesToXA)( xa, &c, sizeof(c) ); }
724 VG_(addBytesToXA)( xa, &c, sizeof(c) );
726 VG_(addBytesToXA)( xa, &w, sizeof(w) )
    [all...]
  /external/valgrind/coregrind/m_coredump/
coredump-elf.c 41 #include "pub_core_libcfile.h" // VG_(close) et al
42 #include "pub_core_libcproc.h" // VG_(geteuid), VG_(getegid)
43 #include "pub_core_libcassert.h" // VG_(exit), vg_assert
44 #include "pub_core_mallocfree.h" // VG_(malloc), VG_(free)
89 VG_(memset)(ehdr, 0, sizeof(*ehdr));
91 VG_(memcpy)(ehdr->e_ident, ELFMAG, SELFMAG);
118 VG_(memset)(phdr, 0, sizeof(*phdr));
146 return sizeof(ESZ(Nhdr)) + VG_ROUNDUP(VG_(strlen)(n->name)+1, 4
    [all...]
  /external/valgrind/coregrind/m_aspacemgr/
aspacemgr-linux.c 210 * This request is passed to VG_(am_get_advisory). This decides on
215 * Control returns to the wrapper. If VG_(am_get_advisory) has
229 is told of the outcome (VG_(am_notify_client_mmap)), so it can
242 VG_(am_mmap_anon_fixed_client), which do both phases entirely within
299 Addr VG_(clo_aspacem_minAddr)
326 if (VG_(clo_sanity_level >= 3)) \
327 aspacem_assert(VG_(am_do_sync_check) \
431 VG_(debugLog)(
458 VG_(debugLog)(
467 VG_(debugLog)
    [all...]
aspacemgr-segnames.c 256 if (0) VG_(am_show_nsegments)(0, "AFTER DECREASE rc -> 0");
281 if (0) VG_(debugLog)(0, "aspacem", "allocate_segname %s\n", name);
283 len = VG_(strlen)(name);
288 if (VG_(strcmp)(name, segnames + ix) == 0) {
314 VG_(strcpy)(segnames + ix, name);
341 VG_(strcpy)(segnames + ix, name);
356 VG_(debugLog)(logLevel, "aspacem", "%u segment names in %u slots\n",
360 VG_(debugLog)(logLevel, "aspacem", "freelist is empty\n");
362 VG_(debugLog)(logLevel, "aspacem", "freelist begins at %u\n",
367 VG_(debugLog)(logLevel, "aspacem"
    [all...]
  /external/valgrind/coregrind/m_scheduler/
sched-lock-generic.c 53 p = VG_(malloc)("sched_lock", sizeof(*p));
61 VG_(free)(p);
  /external/valgrind/exp-sgcheck/tests/
bad_percentify.c 25 #define VG_(_str) VG_##_str
32 VG_(debugLog_vprintf) (
47 OutputSink VG_(log_output_sink) = { 2, False }; /* 2 = stderr */
89 ret = VG_(debugLog_vprintf)
113 UInt VG_(vprintf) ( const HChar *format, va_list vargs )
115 return vprintf_WRK( &VG_(log_output_sink), format, vargs );
119 UInt VG_(printf) ( const HChar *format, ... )
124 ret = VG_(vprintf)(format, vargs);
337 VG_(debugLog_vprintf) (
    [all...]
  /external/valgrind/coregrind/m_mach/
mach_basics.c 78 void VG_(mach_init)(void)
  /external/valgrind/coregrind/m_syswrap/
syswrap-mips32-linux.c 45 #include "pub_core_sigframe.h" // For VG_(sigframe_destroy)()
50 #include "pub_core_transtab.h" // VG_(discard_translations)
56 #include "pub_core_debuginfo.h" // VG_(di_notify_*)
58 #include "pub_core_clientstate.h" // VG_(brk_base), VG_(brk_limit)
60 #include "pub_core_gdbserver.h" // VG_(gdbserver)
62 #include "pub_core_machine.h" // VG_(get_SP)
64 #include "pub_core_stacktrace.h" // For VG_(get_and_pp_StackTrace)()
244 ThreadId ctid = VG_ (alloc_ThreadState) ();
245 ThreadState * ptst = VG_ (get_ThreadState) (ptid)
    [all...]
syswrap-main.c 41 #include "pub_core_libcproc.h" // For VG_(getpid)()
43 #include "pub_core_scheduler.h" // For VG_({acquire,release}_BigLock),
44 // and VG_(vg_yield)
45 #include "pub_core_stacktrace.h" // For VG_(get_and_pp_StackTrace)()
48 #include "pub_core_signals.h" // For VG_SIGVGKILL, VG_(poll_signals)
107 /* The main function is VG_(client_syscall). The simulation calls it
112 arcane. See big big comment in VG_(client_syscall).
211 In particular, direct or indirect calls to VG_(poll_signals) after
226 Bool d = VG_(am_notify_munmap)(s->start, s->end+1 - s->start);
229 VG_(discard_translations)(s->start, s->end+1 - s->start)
    [all...]
syswrap-arm64-linux.c 44 #include "pub_core_sigframe.h" // For VG_(sigframe_destroy)()
216 ThreadId ctid = VG_(alloc_ThreadState)();
217 ThreadState* ptst = VG_(get_ThreadState)(ptid);
218 ThreadState* ctst = VG_(get_ThreadState)(ctid);
224 VG_(sigfillset)(&blockall);
226 vg_assert(VG_(is_running_thread)(ptid));
227 vg_assert(VG_(is_valid_tid)(ctid));
231 res = VG_(mk_SysRes_Error)( VKI_ENOMEM );
279 vg_assert(VG_(owns_BigLock_LL)(ptid));
290 VG_(sigprocmask)(VKI_SIG_SETMASK, &blockall, &savedmask)
    [all...]
  /external/valgrind/none/tests/
valgrind_cpp_test.cpp 43 void VG_(assert_fail)(Bool isCore, const HChar* expr, const HChar* file,
  /external/valgrind/coregrind/m_gdbserver/
target.h 138 extern void VG_(set_watchpoint_stop_address) (Addr addr);
236 extern void* VG_(dmemcpy) ( void *d, const void *s, SizeT sz, Bool *mod );
243 // According to dir, calls VG_(dmemcpy)
247 extern void VG_(transfer) (void *valgrind,
  /external/valgrind/coregrind/m_sigframe/
sigframe-arm64-linux.c 86 ThreadState *tst = VG_(get_ThreadState)(tid);
89 VG_(memset)(uc, 0, sizeof(*uc));
154 void VG_(sigframe_create)( ThreadId tid,
168 tst = VG_(get_ThreadState)(tid);
185 VG_(memcpy)(&rsf->info, siginfo, sizeof(vki_siginfo_t));
199 VG_(set_SP)(tid, sp);
208 = (Addr)&VG_(arm64_linux_SUBST_FOR_rt_sigreturn);
219 void VG_(sigframe_destroy)( ThreadId tid, Bool isRT )
229 vg_assert(VG_(is_valid_tid)(tid));
230 tst = VG_(get_ThreadState)(tid)
    [all...]
sigframe-arm-linux.c 88 ThreadState *tst = VG_(get_ThreadState)(tid);
91 VG_(memset)(uc, 0, sizeof(*uc));
163 void VG_(sigframe_create)( ThreadId tid,
179 tst = VG_(get_ThreadState)(tid);
199 VG_(memcpy)(&rsf->info, siginfo, sizeof(vki_siginfo_t));
217 VG_(set_SP)(tid, sp);
227 ? (Addr)&VG_(arm_linux_SUBST_FOR_rt_sigreturn)
228 : (Addr)&VG_(arm_linux_SUBST_FOR_sigreturn);
232 if (VG_(clo_trace_signals))
233 VG_(message)(Vg_DebugMsg
    [all...]
  /external/valgrind/drd/
drd_suppression.c 28 #include "pub_tool_stacktrace.h" // VG_(get_and_pp_StackTrace)()
29 #include "pub_tool_threadstate.h" // VG_(get_running_tid)()
66 VG_(message)(Vg_DebugMsg, "start suppression of 0x%lx sz %ld (%s)\n",
76 VG_(message)(Vg_DebugMsg, "finish suppression of 0x%lx sz %ld\n",
78 VG_(get_and_pp_StackTrace)(VG_(get_running_tid)(), 12);
125 VG_(message)(Vg_DebugMsg, "start_tracing(0x%lx, %ld) %s\n",
143 VG_(message)(Vg_DebugMsg, "stop_tracing(0x%lx, %ld)\n",
167 VG_(message)(Vg_DebugMsg,
drd_vc.c 28 #include "pub_tool_libcbase.h" // VG_(memcpy)
29 #include "pub_tool_libcprint.h" // VG_(printf)
30 #include "pub_tool_mallocfree.h" // VG_(malloc), VG_(free)
58 VG_(memcpy)(vc->vc, vcelem, size * sizeof(vcelem[0]));
246 VG_(printf)("%s", str);
247 VG_(free)(str);
253 * The caller must call VG_(free)() on the return value of this function.
265 str = VG_(realloc)("drd.vc.aprint.1", str, reserved);
268 size += VG_(snprintf)(str, reserved, "[")
    [all...]
drd_clientreq.c 40 #include "pub_tool_libcprint.h" // VG_(message)()
41 #include "pub_tool_machine.h" // VG_(get_SP)()
43 #include "pub_tool_tooliface.h" // VG_(needs_...)()
64 VG_(needs_client_requests)(handle_client_request);
83 tl_assert(vg_tid == VG_(get_running_tid()));
103 VG_(maybe_record_error)(vg_tid,
105 VG_(get_IP)(vg_tid),
121 VG_(maybe_record_error)(vg_tid,
123 VG_(get_IP)(vg_tid),
137 VG_(maybe_record_error)(vg_tid
    [all...]

Completed in 1082 milliseconds

1 2 3 4 5 6 7 891011>>