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

1 2 3 4 56 7 8 91011>>

  /external/valgrind/coregrind/m_dispatch/
dispatch-arm64-linux.S 42 /*--- The dispatch loop. VG_(disp_run_translations) is ---*/
53 void VG_(disp_run_translations)( UWord* two_words,
58 .global VG_(disp_run_translations)
59 VG_(disp_run_translations):
88 VG_(cp_...) below. */
137 .global VG_(disp_cp_chain_me_to_slowEP)
138 VG_(disp_cp_chain_me_to_slowEP):
155 .global VG_(disp_cp_chain_me_to_fastEP)
156 VG_(disp_cp_chain_me_to_fastEP):
173 .global VG_(disp_cp_xindir
    [all...]
dispatch-amd64-linux.S 42 /*--- The dispatch loop. VG_(disp_run_translations) is ---*/
53 void VG_(disp_run_translations)( UWord* two_words,
58 .globl VG_(disp_run_translations)
59 .type VG_(disp_run_translations), @function
60 VG_(disp_run_translations):
111 VG_(cp_...) below. */
176 .global VG_(disp_cp_chain_me_to_slowEP)
177 VG_(disp_cp_chain_me_to_slowEP):
184 /* 10 = movabsq $VG_(disp_chain_me_to_slowEP), %r11;
190 .global VG_(disp_cp_chain_me_to_fastEP
    [all...]
dispatch-s390x-linux.S 44 /*--- The dispatch loop. VG_(disp_run_translations) is ---*/
69 void VG_(disp_run_translations)( UWord* two_words,
81 .globl VG_(disp_run_translations)
82 .type VG_(disp_run_translations), @function
83 VG_(disp_run_translations):
124 VG_(cp_...) below. */
180 .global VG_(disp_cp_chain_me_to_slowEP)
181 VG_(disp_cp_chain_me_to_slowEP):
190 .global VG_(disp_cp_chain_me_to_fastEP)
191 VG_(disp_cp_chain_me_to_fastEP)
    [all...]
  /external/valgrind/coregrind/m_gdbserver/
valgrind-low-x86.c 121 ThreadState* tst = VG_(get_ThreadState)(tid);
131 case 0: VG_(transfer) (&x86->guest_EAX, buf, dir, size, mod); break;
132 case 1: VG_(transfer) (&x86->guest_ECX, buf, dir, size, mod); break;
133 case 2: VG_(transfer) (&x86->guest_EDX, buf, dir, size, mod); break;
134 case 3: VG_(transfer) (&x86->guest_EBX, buf, dir, size, mod); break;
135 case 4: VG_(transfer) (&x86->guest_ESP, buf, dir, size, mod); break;
136 case 5: VG_(transfer) (&x86->guest_EBP, buf, dir, size, mod); break;
137 case 6: VG_(transfer) (&x86->guest_ESI, buf, dir, size, mod); break;
138 case 7: VG_(transfer) (&x86->guest_EDI, buf, dir, size, mod); break;
139 case 8: VG_(transfer) (&x86->guest_EIP, buf, dir, size, mod); break
    [all...]
target.c 47 VG_(sprintf) (result, "id %ld", ptid);
55 if (!VG_(lwpid_to_vgtid)(thread_to_gdb_id(thread))) {
78 ti, tid, VG_(name_of_ThreadStatus) (ts->status), \
81 if (VG_(is_valid_tid) (tid)) {
82 ts = VG_(get_ThreadState) (tid);
130 void VG_(set_watchpoint_stop_address) (Addr addr)
192 return VG_(describe_IP) (addr, NULL);
250 VG_(set_watchpoint_stop_address) ((Addr) 0);
255 VG_(memset) (&vki_signal_to_report, 0, sizeof(vki_signal_to_report));
275 pid = VG_(getpid) ()
    [all...]
  /external/valgrind/coregrind/
m_rangemap.c 65 RangeMap* VG_(newRangeMap) ( void*(*alloc_fn)(const HChar*,SizeT),
77 rm->ranges = VG_(newXA)( alloc_fn, cc, free_fn, sizeof(Range) );
83 Word i = VG_(addToXA)(rm->ranges, &r);
85 vg_assert(VG_(sizeXA)(rm->ranges) == 1);
90 void VG_(deleteRangeMap) ( RangeMap* rm )
95 VG_(deleteXA)(rm->ranges);
99 void VG_(bindRangeMap) ( RangeMap* rm,
110 Range* rng = VG_(indexXA)(rm->ranges, i);
116 void VG_(lookupRangeMap) ( /*OUT*/UWord* key_min, /*OUT*/UWord* key_max,
120 Range* rng = (Range*)VG_(indexXA)(rm->ranges, i)
    [all...]
m_debugger.c 53 VG_(memset)(&regs, 0, sizeof(regs));
70 return VG_(ptrace)(VKI_PTRACE_SETREGS, pid, NULL, &regs);
74 VG_(memset)(&regs, 0, sizeof(regs));
108 return VG_(ptrace)(VKI_PTRACE_SETREGS, pid, NULL, &regs);
113 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R0 * 4), (void*)vex->guest_GPR0);
114 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R1 * 4), (void*)vex->guest_GPR1);
115 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R2 * 4), (void*)vex->guest_GPR2);
116 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R3 * 4), (void*)vex->guest_GPR3);
117 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R4 * 4), (void*)vex->guest_GPR4);
118 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R5 * 4), (void*)vex->guest_GPR5)
    [all...]
m_libcproc.c 32 #include "pub_core_machine.h" // For VG_(machine_get_VexArchInfo)
63 HChar** VG_(client_envp) = NULL;
66 const HChar *VG_(libdir) = VG_LIBDIR;
68 const HChar *VG_(LD_PRELOAD_var_name) =
78 VG_(client_envp) as determined at startup time. */
79 HChar *VG_(getenv)(const HChar *varname)
82 vg_assert( VG_(client_envp) );
83 n = VG_(strlen)(varname);
84 for (i = 0; VG_(client_envp)[i] != NULL; i++) {
85 HChar* s = VG_(client_envp)[i]
    [all...]
m_deduppoolalloc.c 43 SizeT fixedSzb; /* If using VG_(allocFixedEltDedupPA), size of elements */
83 DedupPoolAlloc* VG_(newDedupPA) ( SizeT poolSzB,
97 VG_(memset)(ddpa, 0, sizeof(*ddpa));
104 ddpa->pools = VG_(newXA)( alloc_fn, cc, free_fn, sizeof(void*) );
106 ddpa->ht_elements = VG_(HT_construct) (cc);
107 ddpa->ht_node_pa = VG_(newPA) ( sizeof(ht_node),
119 void VG_(deleteDedupPA) ( DedupPoolAlloc* ddpa)
124 VG_(freezeDedupPA) (ddpa, NULL);
125 for (i = 0; i < VG_(sizeXA) (ddpa->pools); i++)
126 ddpa->free_fn (*(UWord **)VG_(indexXA) ( ddpa->pools, i ))
    [all...]
m_libcsignal.c 52 Int VG_(sigfillset)( vki_sigset_t* set )
62 Int VG_(sigemptyset)( vki_sigset_t* set )
72 Bool VG_(isemptysigset)( const vki_sigset_t* set )
81 Bool VG_(isfullsigset)( const vki_sigset_t* set )
90 Bool VG_(iseqsigset)( const vki_sigset_t* set1, const vki_sigset_t* set2 )
100 Int VG_(sigaddset)( vki_sigset_t* set, Int signum )
111 Int VG_(sigdelset)( vki_sigset_t* set, Int signum )
122 Int VG_(sigismember) ( const vki_sigset_t* set, Int signum )
136 void VG_(sigaddset_from_set)( vki_sigset_t* dst, const vki_sigset_t* src )
145 void VG_(sigdelset_from_set)( vki_sigset_t* dst, const vki_sigset_t* src
    [all...]
pub_core_debuginfo.h 43 extern void VG_(di_initialise) ( void );
53 If a call to VG_(di_notify_mmap) causes debug info to be read, then
60 For VG_(di_notify_mmap), if use_fd is not -1, that is used instead
66 extern ULong VG_(di_notify_mmap)( Addr a, Bool allow_SkFileV, Int use_fd );
68 extern void VG_(di_notify_munmap)( Addr a, SizeT len );
70 extern void VG_(di_notify_mprotect)( Addr a, SizeT len, UInt prot );
72 /* this should really return ULong, as per VG_(di_notify_mmap). */
73 extern void VG_(di_notify_pdb_debuginfo)( Int fd, Addr avma,
78 extern void VG_(di_notify_vm_protect)( Addr a, SizeT len, UInt prot );
81 extern void VG_(di_discard_ALL_debuginfo)( void )
    [all...]
pub_core_stacktrace.h 54 UInt VG_(get_StackTrace_wrk) ( ThreadId tid_if_known,
  /external/valgrind/memcheck/
mc_errors.c 45 #include "pub_tool_debuginfo.h" // VG_(get_dataname_and_offset)
208 channel, depending on the setting of VG_(clo_xml).
212 if (VG_(clo_xml)) {
213 VG_(vprintf_xml)(format, vargs);
215 VG_(vmessage)(Vg_UserMsg, format, vargs);
261 Bool parseok = VG_(parse_enum_set)(MC_(parse_leak_kinds_tokens),
295 if (VG_(clo_xml)) {
298 VG_(pp_ExeContext)( ec );
301 VG_(pp_ExeContext)( ec );
318 VG_(snprintf) (buf, size, " (+%'lu)", current_val - old_val)
    [all...]
  /external/valgrind/exp-bbv/
bbv_main.c 41 #include "pub_tool_libcbase.h" /* VG_(strlen) */
42 #include "pub_tool_libcprint.h" /* VG_(printf) */
43 #include "pub_tool_libcassert.h" /* VG_(exit) */
44 #include "pub_tool_mallocfree.h" /* VG_(malloc) */
45 #include "pub_tool_machine.h" /* VG_(fnptr_to_fnentry) */
46 #include "pub_tool_debuginfo.h" /* VG_(get_fnname) */
106 VG_(expand_file_name)("--pc-out-file", clo_pc_out_file);
108 fp = VG_(fopen)(pc_out_file, VKI_O_CREAT|VKI_O_TRUNC|VKI_O_WRONLY,
111 VG_(umsg)("Error: cannot create pc file %s\n", pc_out_file);
112 VG_(exit)(1)
    [all...]
  /external/valgrind/coregrind/m_sigframe/
sigframe-amd64-darwin.c 89 void VG_(sigframe_create) ( ThreadId tid,
110 tst = VG_(get_ThreadState)(tid);
119 VG_(memset)(&frame->lower_guardzone, 0, sizeof frame->lower_guardzone);
120 VG_(memset)(&frame->gst, 0, sizeof(VexGuestAMD64State));
121 VG_(memset)(&frame->gshadow1, 0, sizeof(VexGuestAMD64State));
122 VG_(memset)(&frame->gshadow2, 0, sizeof(VexGuestAMD64State));
123 VG_(memset)(&frame->fake_siginfo, 0, sizeof(frame->fake_siginfo));
124 VG_(memset)(&frame->fake_ucontext, 0, sizeof(frame->fake_ucontext));
141 VG_(set_SP)(tid, rsp);
145 VG_(set_IP)(tid, (ULong)handler)
    [all...]
sigframe-x86-darwin.c 92 void VG_(sigframe_create) ( ThreadId tid,
113 tst = VG_(get_ThreadState)(tid);
122 VG_(memset)(&frame->lower_guardzone, 0, sizeof frame->lower_guardzone);
123 VG_(memset)(&frame->gst, 0, sizeof(VexGuestX86State));
124 VG_(memset)(&frame->gshadow1, 0, sizeof(VexGuestX86State));
125 VG_(memset)(&frame->gshadow2, 0, sizeof(VexGuestX86State));
126 VG_(memset)(&frame->fake_siginfo, 0, sizeof(frame->fake_siginfo));
127 VG_(memset)(&frame->fake_ucontext, 0, sizeof(frame->fake_ucontext));
144 VG_(set_SP)(tid, esp);
148 VG_(set_IP)(tid, (UInt)handler)
    [all...]
  /external/valgrind/coregrind/m_scheduler/
sema.c 36 #include "pub_core_libcproc.h" // For VG_(gettid)()
59 r = VG_(pipe)(sema->pipe);
64 sema->pipe[0] = VG_(safe_fd)(sema->pipe[0]);
65 sema->pipe[1] = VG_(safe_fd)(sema->pipe[1]);
68 VG_(debugLog)(0,"zz","sema_init: %d %d\n", sema->pipe[0],
82 res = VG_(write)(sema->pipe[1], buf, 1);
91 VG_(close)(sema->pipe[0]);
92 VG_(close)(sema->pipe[1]);
102 Int lwpid = VG_(gettid)();
109 ret = VG_(read)(sema->pipe[0], buf, 1)
    [all...]
  /external/valgrind/coregrind/m_ume/
script.c 35 #include "pub_core_libcassert.h" // VG_(exit), vg_assert
36 #include "pub_core_libcfile.h" // VG_(close) et al
38 #include "pub_core_clientstate.h" // VG_(args_the_exename)
39 #include "pub_core_mallocfree.h" // VG_(strdup)
44 Bool VG_(match_script)(const void *hdr, SizeT len)
52 if (0 != VG_(memcmp)(hdr, "#!", 2)) return False;
68 if (VG_(isspace)(*interp)) return False;
79 Int VG_(load_script)(Int fd, const HChar* name, ExeInfo* info)
91 res = VG_(pread)(fd, hdr, len, 0);
93 VG_(close)(fd)
    [all...]
elf.c 38 #include "pub_core_libcassert.h" // VG_(exit), vg_assert
39 #include "pub_core_libcbase.h" // VG_(memcmp), etc
41 #include "pub_core_libcfile.h" // VG_(open) et al
43 #include "pub_core_mallocfree.h" // VG_(malloc), VG_(free)
44 #include "pub_core_syscall.h" // VG_(strerror)
75 VG_(printf)("valgrind: mmap(0x%llx, %lld) failed in UME "
78 sr_Err(res), VG_(strerror)(sr_Err(res)) );
80 VG_(printf)("valgrind: this can be caused by executables with "
83 VG_(exit)(1)
    [all...]
  /external/valgrind/coregrind/m_debuginfo/
readmacho.c 45 #include "pub_core_tooliface.h" /* VG_(needs) */
119 if (VG_(ntohl)(fh_be->magic) == FAT_MAGIC)
155 VG_(message)(Vg_UserMsg, "warning: connection to image %s failed\n",
157 VG_(message)(Vg_UserMsg, " no symbols or debug info loaded\n" );
182 VG_(memset)(&fh, 0, sizeof(fh));
183 fh.magic = VG_(ntohl)(fh_be.magic);
184 fh.nfat_arch = VG_(ntohl)(fh_be.nfat_arch);
213 VG_(memset)(&arch, 0, sizeof(arch));
214 arch.cputype = VG_(ntohl)(arch_be.cputype);
215 arch.cpusubtype = VG_(ntohl)(arch_be.cpusubtype)
    [all...]
  /external/valgrind/drd/
drd_rwlock.c 29 #include "pub_tool_errormgr.h" // VG_(maybe_record_error)()
31 #include "pub_tool_libcprint.h" // VG_(message)()
32 #include "pub_tool_libcproc.h" // VG_(read_millisecond_timer)()
33 #include "pub_tool_machine.h" // VG_(get_IP)()
34 #include "pub_tool_mallocfree.h" // VG_(malloc)(), VG_(free)()
35 #include "pub_tool_threadstate.h" // VG_(get_running_tid)()
89 VG_(OSetGen_ResetIter)(p->thread_info);
90 for ( ; (q = VG_(OSetGen_Next)(p->thread_info)) != 0; )
101 VG_(OSetGen_ResetIter)(p->thread_info)
    [all...]
  /external/valgrind/exp-dhat/
dh_main.c 37 #include "pub_tool_machine.h" // VG_(fnptr_to_fnentry)
136 Bool found = VG_(lookupFM)( interval_tree,
160 Bool found = VG_(delFromFM)( interval_tree,
233 Bool found = VG_(lookupFM)( apinfo,
239 api = VG_(malloc)( "dh.main.intro_Block.1", sizeof(APInfo) );
240 VG_(memset)(api, 0, sizeof(*api));
242 Bool present = VG_(addToFM)( apinfo,
249 if (0) VG_(printf)("api %p --> Unknown\n", api);
299 Bool found = VG_(lookupFM)( apinfo,
308 VG_(printf)("ec %p api->c_by_l %llu bk->rszB %llu\n"
    [all...]
  /external/valgrind/exp-sgcheck/
pc_common.c 48 #include "pub_tool_threadstate.h" // VG_(get_running_tid)
72 return VG_(replacement_malloc_process_cmd_line_option)(arg);
79 VG_(printf)(
87 VG_(printf)(
162 VG_(memset)(&xe, 0, sizeof(xe));
166 VG_(strncpy)( &xe.XE.SorG.expect[0],
168 VG_(strncpy)( &xe.XE.SorG.actual[0],
170 VG_(strncpy)( &xe.XE.SorG.delta[0],
175 VG_(maybe_record_error)( tid, XE_SorG, 0, NULL, &xe );
182 VG_(memset)(&xe, 0, sizeof(xe))
    [all...]
  /external/valgrind/coregrind/m_aspacemgr/
aspacemgr-common.c 57 VG_(exit_now) (status);
62 VG_(debugLog)(0, "aspacem", "Valgrind: FATAL: %s\n", what);
63 VG_(debugLog)(0, "aspacem", "Exiting now.\n");
69 VG_(debugLog)(0, "aspacem",
71 VG_(debugLog)(0, "aspacem", " Increase it and rebuild. "
81 VG_(debugLog)(0, "aspacem",
83 VG_(debugLog)(0, "aspacem", " %s\n", expr);
84 VG_(debugLog)(0, "aspacem", " at %s:%d (%s)\n", file,line,fn);
85 VG_(debugLog)(0, "aspacem", "Exiting now.\n");
91 SysRes sres = VG_(do_syscall0)(__NR_getpid)
    [all...]
  /external/valgrind/helgrind/
hg_basics.c 49 p = VG_(malloc)( cc, n );
50 VG_(memset)(p, 0, n);
57 VG_(free)(p);
62 return VG_(strdup)( cc, s );

Completed in 658 milliseconds

1 2 3 4 56 7 8 91011>>