/external/valgrind/main/coregrind/ |
m_trampoline.S | 54 .global VG_(trampoline_stuff_start) 55 VG_(trampoline_stuff_start): 57 .global VG_(x86_linux_SUBST_FOR_sigreturn) 58 VG_(x86_linux_SUBST_FOR_sigreturn): 68 .global VG_(x86_linux_SUBST_FOR_rt_sigreturn) 69 VG_(x86_linux_SUBST_FOR_rt_sigreturn): 90 .global VG_(x86_linux_REDIR_FOR_index) 91 .type VG_(x86_linux_REDIR_FOR_index), @function 92 VG_(x86_linux_REDIR_FOR_index): 113 .size VG_(x86_linux_REDIR_FOR_index), .-VG_(x86_linux_REDIR_FOR_index [all...] |
pub_core_demangle.h | 43 void VG_(demangle) ( Bool do_cxx_demangling, Bool do_z_demangling, 59 Bool VG_(maybe_Z_demangle) ( const HChar* sym,
|
pub_core_sigframe.h | 47 void VG_(sigframe_create) ( ThreadId tid, 59 void VG_(sigframe_destroy)( ThreadId tid, Bool isRT );
|
pub_core_machine.h | 116 //Addr VG_(get_IP) ( ThreadId tid ); // in pub_tool_machine.h 117 //Addr VG_(get_SP) ( ThreadId tid ); // in pub_tool_machine.h 118 Addr VG_(get_FP) ( ThreadId tid ); 120 void VG_(set_IP) ( ThreadId tid, Addr encip ); 121 void VG_(set_SP) ( ThreadId tid, Addr sp ); 127 void VG_(get_UnwindStartRegs) ( /*OUT*/UnwindStartRegs* regs, 140 x86: initially: call VG_(machine_get_hwcaps) 142 then safe to use VG_(machine_get_VexArchInfo) 143 and VG_(machine_x86_have_mxcsr) 145 amd64: initially: call VG_(machine_get_hwcaps [all...] |
m_libcprint.c | 36 #include "pub_core_libcfile.h" // VG_(write)(), VG_(write_socket)() 38 #include "pub_core_libcproc.h" // VG_(getpid)(), VG_(read_millisecond_timer() 51 OutputSink VG_(log_output_sink) = { 2, False }; /* 2 = stderr */ 52 OutputSink VG_(xml_output_sink) = { -1, False }; /* disabled */ 59 Int rc = VG_(write_socket)( sink->fd, msg, nbytes ); 64 VG_(write)( sink->fd, msg, nbytes ); 72 VG_(write)( sink->fd, msg, nbytes ); 111 ret = VG_(debugLog_vprintf) [all...] |
pub_core_stacktrace.h | 53 UInt VG_(get_StackTrace_wrk) ( ThreadId tid_if_known,
|
pub_core_vkiscnums.h | 76 extern Bool VG_(aix5_register_syscall)( Int, UChar* );
|
/external/valgrind/main/include/ |
pub_tool_libcbase.h | 38 extern Bool VG_(isspace) ( Char c ); 39 extern Bool VG_(isdigit) ( Char c ); 40 extern Char VG_(tolower) ( Char c ); 55 // Nb: if you're wondering why we don't just have a single VG_(strtoll) which 60 // Nb: we also don't provide VG_(atoll*); these functions are worse than 63 // If you really want that behaviour, you can use "VG_(strtoll10)(str, NULL)". 64 extern Long VG_(strtoll10) ( Char* str, Char** endptr ); 65 extern Long VG_(strtoll16) ( Char* str, Char** endptr ); 71 extern double VG_(strtod) ( Char* str, Char** endptr ); 79 && VG_(strcmp)((s1),(s2))==0) ? True : False [all...] |
pub_tool_libcassert.h | 36 (VG_(assert_fail) (/*isCore?*/False, (const Char*)#expr, \ 44 (VG_(assert_fail) (/*isCore?*/False, (const Char*)#expr, \ 51 extern void VG_(exit)( Int status ); 55 extern void VG_(tool_panic) ( Char* str ); 58 extern void VG_(assert_fail) ( Bool isCore, const Char* expr, const Char* file,
|
/external/valgrind/main/coregrind/m_initimg/ |
initimg-linux.c | 72 /* Load the client whose name is VG_(argv_the_exename). */ 82 vg_assert( VG_(args_the_exename) != NULL); 83 exe_name = ML_(find_executable)( VG_(args_the_exename) ); 86 VG_(printf)("valgrind: %s: command not found\n", VG_(args_the_exename)); 87 VG_(exit)(127); // 127 is Posix NOTFOUND 90 VG_(memset)(info, 0, sizeof(*info)); 91 ret = VG_(do_exec)(exe_name, info); 93 VG_(printf)("valgrind: could not execute '%s'\n", exe_name); 94 VG_(exit)(1) [all...] |
/external/valgrind/main/exp-bbv/ |
bbv_main.c | 39 #include "pub_tool_libcbase.h" /* VG_(strlen) */ 40 #include "pub_tool_libcfile.h" /* VG_(write) */ 41 #include "pub_tool_libcprint.h" /* VG_(printf) */ 42 #include "pub_tool_libcassert.h" /* VG_(exit) */ 44 #include "pub_tool_machine.h" /* VG_(fnptr_to_fnentry) */ 45 #include "pub_tool_debuginfo.h" /* VG_(get_fnname) */ 111 VG_(expand_file_name)("--pc-out-file", clo_pc_out_file); 113 sres = VG_(open)(pc_out_file, VKI_O_CREAT|VKI_O_TRUNC|VKI_O_WRONLY, 116 VG_(umsg)("Error: cannot create pc file %s\n", pc_out_file); 117 VG_(exit)(1) [all...] |
/external/valgrind/main/cachegrind/ |
cg-arm.c | 40 void VG_(configure_caches)(cache_t* I1c, cache_t* D1c, cache_t* LLc, 49 VG_(message)(Vg_DebugMsg,
|
cg_main.c | 47 #include "pub_tool_machine.h" // VG_(fnptr_to_fnentry) 121 res = VG_(strcmp)(a->file, b->file); 125 res = VG_(strcmp)(a->fn, b->fn); 187 return VG_(strcmp)(*(Char**)key, *(Char**)elem); 194 Char** s_ptr = VG_(OSetGen_Lookup)(stringTable, &s); 198 Char** s_node = VG_(OSetGen_AllocNode)(stringTable, sizeof(Char*)); 199 *s_node = VG_(strdup)("cg.main.gps.1", s); 200 VG_(OSetGen_Insert)(stringTable, s_node); 214 Bool found_file_line = VG_(get_filename_linenum)( 220 Bool found_fn = VG_(get_fnname)(instr_addr, fn, FN_LEN) [all...] |
cg_arch.h | 43 void VG_(configure_caches)(cache_t* I1c, cache_t* D1c, cache_t* LLc,
|
/external/valgrind/main/coregrind/m_dispatch/ |
dispatch-ppc64-linux.S | 58 /*--- The dispatch loop. VG_(run_innerloop) is used to ---*/ 68 UWord VG_(run_innerloop) ( void* guest_state, UWord do_profiling ); 73 .globl VG_(run_innerloop) 76 VG_(run_innerloop): 77 .quad .VG_(run_innerloop),.TOC.@tocbase,0 79 .type .VG_(run_innerloop),@function 80 .globl .VG_(run_innerloop) 81 .VG_(run_innerloop): 85 /* ----- entry point to VG_(run_innerloop) ----- */ 244 beq .VG_(run_innerloop__dispatch_unprofiled [all...] |
/external/valgrind/main/memcheck/ |
mc_malloc_wrappers.c | 43 #include "pub_tool_stacktrace.h" // For VG_(get_and_pp_StackTrace) 86 VG_(free_queue_volume) = (Long)mc->szB; 91 VG_(free_queue_volume) += (Long)mc->szB; 93 VG_(printf)("mc_freelist: acquire: volume now %lld\n", 94 VG_(free_queue_volume)); 96 VG_(free_queue_length)++; 102 while (VG_(free_queue_volume) > MC_(clo_freelist_vol)) { 109 VG_(free_queue_volume) -= (Long)mc1->szB; 110 VG_(free_queue_length)--; 112 VG_(printf)("mc_freelist: discard: volume now %lld\n", [all...] |
mc_errors.c | 43 #include "pub_tool_debuginfo.h" // VG_(get_dataname_and_offset) 271 channel, depending on the setting of VG_(clo_xml). 275 if (VG_(clo_xml)) { 276 VG_(vprintf_xml)(format, vargs); 278 VG_(vmessage)(Vg_UserMsg, format, vargs); 300 HChar* xpre = VG_(clo_xml) ? " <auxwhat>" : " "; 301 HChar* xpost = VG_(clo_xml) ? "</auxwhat>" : ""; 347 VG_(pp_ExeContext)(ai->Addr.Block.lastchange); 367 VG_(clo_xml) ? " " : " ", 368 (HChar*)VG_(indexXA)(ai->Addr.Variable.descr1, 0) ) [all...] |
/external/valgrind/main/drd/ |
drd_main.c | 43 #include "pub_tool_debuginfo.h" // VG_(describe_IP)() 45 #include "pub_tool_libcbase.h" // VG_(strcmp) 46 #include "pub_tool_libcprint.h" // VG_(printf) 49 #include "pub_tool_mallocfree.h" // VG_(malloc)(), VG_(free)() 52 #include "pub_tool_threadstate.h" // VG_(get_running_tid)() 54 #include "pub_tool_aspacemgr.h" // VG_(am_is_valid_for_client) 122 return VG_(replacement_malloc_process_cmd_line_option)(arg); 151 const Addr addr = VG_(strtoll16)(trace_address, 0); 184 VG_(printf) [all...] |
drd_rwlock.c | 30 #include "pub_tool_errormgr.h" // VG_(maybe_record_error)() 32 #include "pub_tool_libcprint.h" // VG_(message)() 33 #include "pub_tool_libcproc.h" // VG_(read_millisecond_timer)() 34 #include "pub_tool_machine.h" // VG_(get_IP)() 35 #include "pub_tool_mallocfree.h" // VG_(malloc)(), VG_(free)() 36 #include "pub_tool_threadstate.h" // VG_(get_running_tid)() 90 VG_(OSetGen_ResetIter)(p->thread_info); 91 for ( ; (q = VG_(OSetGen_Next)(p->thread_info)) != 0; ) 102 VG_(OSetGen_ResetIter)(p->thread_info) [all...] |
/external/valgrind/main/coregrind/m_scheduler/ |
sema.c | 36 #include "pub_core_libcproc.h" // For VG_(gettid)() 55 r = VG_(pipe)(sema->pipe); 60 sema->pipe[0] = VG_(safe_fd)(sema->pipe[0]); 61 sema->pipe[1] = VG_(safe_fd)(sema->pipe[1]); 64 VG_(debugLog)(0,"zz","sema_init: %d %d\n", sema->pipe[0], 75 res = VG_(write)(sema->pipe[1], buf, 1); 83 VG_(close)(sema->pipe[0]); 84 VG_(close)(sema->pipe[1]); 94 Int lwpid = VG_(gettid)(); 101 ret = VG_(read)(sema->pipe[0], buf, 1) [all...] |
/external/valgrind/main/coregrind/m_ume/ |
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) 46 #include "pub_tool_libcproc.h" // VG_(getenv) 76 VG_(printf)("valgrind: mmap(0x%llx, %lld) failed in UME " 79 sr_Err(res), VG_(strerror)(sr_Err(res)) ); 81 VG_(printf)("valgrind: this can be caused by executables with [all...] |
/external/valgrind/main/coregrind/m_debuginfo/ |
readmacho.c | 45 #include "pub_core_tooliface.h" /* VG_(needs) */ 127 if (VG_(ntohl)(fh_be->magic) == FAT_MAGIC) 145 sres = VG_(am_munmap_valgrind)( (Addr)ii->img, ii->img_szB ); 149 VG_(memset)(ii, 0, sizeof(*ii)); 161 VG_(memset)(ii, 0, sizeof(*ii)); 168 fd = VG_(stat)(filename, &stat_buf); 175 fd = VG_(open)(filename, VKI_O_RDONLY, 0); 181 sres = VG_(am_mmap_file_float_valgrind) 188 VG_(close)(sr_Res(fd)); 213 fh.magic = VG_(ntohl)(fh_be->magic) [all...] |
readxcoff.c | 59 #include "pub_core_options.h" /* VG_(clo_trace_symtab) */ 168 res.len = VG_(strlen)(res.vec); 186 res.len = VG_(strlen)(res.vec); 197 res.len = VG_(strlen)(bogus); 217 res.len = VG_(strlen)(res.vec); 233 res.len = VG_(strlen)(bogus); 242 res.len = VG_(strlen)(res.vec); 298 VG_(printf)("%c", name.vec[i]); 363 VG_(sprintf)(buf, "??%d??", sclass); 486 if (0) VG_(printf)("GCB: SD: len is %lld\n", (Long)CSECT_LEN(csaux)) [all...] |
/external/valgrind/main/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/main/exp-ptrcheck/ |
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)( 161 VG_(memset)(&xe, 0, sizeof(xe)); 165 VG_(strncpy)( &xe.XE.SorG.expect[0], 167 VG_(strncpy)( &xe.XE.SorG.actual[0], 171 VG_(maybe_record_error)( tid, XE_SorG, 0, NULL, &xe ); 178 VG_(memset)(&xe, 0, sizeof(xe)); 183 VG_(maybe_record_error)( VG_(get_running_tid)(), XE_Heap [all...] |