/external/valgrind/main/coregrind/ |
H A D | pub_core_trampoline.h | 56 extern Addr VG_(trampoline_stuff_start); 57 extern Addr VG_(trampoline_stuff_end); 60 extern Addr VG_(x86_linux_SUBST_FOR_sigreturn); 61 extern Addr VG_(x86_linux_SUBST_FOR_rt_sigreturn); 62 extern Char* VG_(x86_linux_REDIR_FOR_index) ( const Char*, Int ); 63 extern UInt VG_(x86_linux_REDIR_FOR_strlen)( void* ); 67 extern Addr VG_(amd64_linux_SUBST_FOR_rt_sigreturn); 68 extern Addr VG_(amd64_linux_REDIR_FOR_vgettimeofday); 69 extern Addr VG_(amd64_linux_REDIR_FOR_vtime); 70 extern UInt VG_(amd64_linux_REDIR_FOR_strle [all...] |
H A D | pub_core_clientstate.h | 45 extern Addr VG_(clstk_base); // client stack range 46 extern Addr VG_(clstk_end); 47 extern UWord VG_(clstk_id); // client stack id 51 extern UWord* VG_(client_auxv); 53 extern Addr VG_(brk_base); // start of brk 54 extern Addr VG_(brk_limit); // current brk 57 extern Int VG_(cl_exec_fd); 68 extern Int VG_(cl_cmdline_fd); 71 extern struct vki_rlimit VG_(client_rlimit_data); 72 extern struct vki_rlimit VG_(client_rlimit_stac [all...] |
H A D | m_clientstate.c | 47 Addr VG_(client_base) = 0; /* client address space limits */ 48 Addr VG_(client_end) = 0; 50 Addr VG_(clstk_base) = 0; 51 Addr VG_(clstk_end) = 0; 52 UWord VG_(clstk_id) = 0; 56 UWord* VG_(client_auxv) = NULL; 58 Addr VG_(brk_base) = 0; /* start of brk */ 59 Addr VG_(brk_limit) = 0; /* current brk */ 62 Int VG_(cl_exec_fd) = -1; 65 Int VG_(cl_cmdline_f [all...] |
H A D | pub_core_options.h | 37 // other module imports this one, if only for VG_(clo_verbosity). 52 extern Bool VG_(clo_error_limit); 56 extern Int VG_(clo_error_exitcode); 68 extern VgVgdb VG_(clo_vgdb); 69 /* if > 0, checks every VG_(clo_vgdb_poll) BBS if vgdb wants to be served. */ 70 extern Int VG_(clo_vgdb_poll); 72 extern HChar* VG_(clo_vgdb_prefix); 75 extern Bool VG_(clo_vgdb_shadow_registers); 78 extern Bool VG_(clo_db_attach); 80 extern Char* VG_(clo_db_comman [all...] |
H A D | pub_core_errormgr.h | 52 extern void VG_(load_suppressions) ( void ); 58 extern void VG_(show_all_errors) ( Int verbosity, Bool xml ); 61 extern void VG_(show_last_error) ( void ); 63 extern void VG_(show_error_counts_as_XML) ( void ); 65 extern Bool VG_(is_action_requested) ( Char* action, Bool* clo ); 67 extern Bool VG_(showing_core_errors) ( void ); 69 extern UInt VG_(get_n_errs_found) ( void ); 71 extern void VG_(print_errormgr_stats) ( void );
|
H A D | pub_core_dispatch.h | 47 VG_(dispatch_ctr) reaches zero, or we need to defer to the scheduler. 60 NOTE, VG_(run_innerloop) MUST NOT BE USED for noredir translations. 61 Instead use VG_(run_a_noredir_translation). 64 UWord VG_(run_innerloop) ( void* guest_state, UWord do_profiling ); 66 /* We need to locate a couple of labels inside VG_(run_innerloop), so 71 extern Addr VG_(run_innerloop__dispatch_unassisted_unprofiled); 72 extern Addr VG_(run_innerloop__dispatch_assisted_unprofiled); 73 extern Addr VG_(run_innerloop__dispatch_unassisted_profiled); 74 extern Addr VG_(run_innerloop__dispatch_assisted_profiled); 86 extern void VG_(run_a_noredir_translatio [all...] |
H A D | pub_core_scheduler.h | 41 extern ThreadId VG_(alloc_ThreadState)(void); 44 extern void VG_(exit_thread)(ThreadId tid); 49 extern void VG_(get_thread_out_of_syscall)(ThreadId tid); 52 extern void VG_(nuke_all_threads_except) ( ThreadId me, 60 extern void VG_(acquire_BigLock) ( ThreadId tid, HChar* who ); 65 extern void VG_(acquire_BigLock_LL) ( HChar* who ); 75 extern void VG_(release_BigLock) ( ThreadId tid, 79 extern void VG_(release_BigLock_LL) ( HChar* who ); 83 extern void VG_(vg_yield)(void); 86 extern VgSchedReturnCode VG_(schedule [all...] |
H A D | pub_core_mach.h | 42 extern void VG_(mach_init)(void);
|
H A D | pub_core_vki.h | 50 void VG_(vki_do_initial_consistency_checks)(void);
|
H A D | pub_core_execontext.h | 47 extern void VG_(print_ExeContext_stats) ( void ); 54 /*StackTrace*/Addr* VG_(get_ExeContext_StackTrace) ( ExeContext* e );
|
H A D | pub_core_syswrap.h | 41 extern void VG_(main_thread_wrapper_NORETURN)(ThreadId tid); 43 extern void VG_(client_syscall) ( ThreadId tid, UInt trc ); 45 extern void VG_(post_syscall) ( ThreadId tid ); 48 extern void VG_(clear_syscallInfo) ( Int tid ); 51 extern void VG_(fixup_guest_state_after_syscall_interrupted)( 59 extern void VG_(reap_threads)(ThreadId self); 62 extern void VG_(cleanup_thread) ( ThreadArchState* ); 65 extern void VG_(init_preopened_fds) ( void ); 66 extern void VG_(show_open_fds) ( void ); 74 extern void (* VG_(address_of_m_main_shutdown_actions_NORETUR [all...] |
H A D | m_options.c | 40 #include "pub_core_seqmatch.h" // VG_(string_match) 46 VexControl VG_(clo_vex_control); 47 Bool VG_(clo_error_limit) = True; 48 Int VG_(clo_error_exitcode) = 0; 50 VgVgdb VG_(clo_vgdb) = Vg_VgdbYes; 51 Int VG_(clo_vgdb_poll) = 5000; 52 Int VG_(clo_vgdb_error) = 999999999; 53 HChar* VG_(clo_vgdb_prefix) = NULL; 54 Bool VG_(clo_vgdb_shadow_registers) = False; 56 Bool VG_(clo_db_attac [all...] |
H A D | pub_core_libcprint.h | 36 // higher-level (ie. higher than DebugLog) printing, eg. VG_(printf)(). 48 extern OutputSink VG_(log_output_sink); 49 extern OutputSink VG_(xml_output_sink); 55 void VG_(elapsed_wallclock_time) ( /*OUT*/HChar* buf ); 60 extern void VG_(err_missing_prog) ( void ); 65 extern void VG_(err_config_error) ( Char* format, ... );
|
H A D | pub_core_redir.h | 49 // is aborted. See comment by VG_(clo_n_req_tsyms) in 65 extern void VG_(redir_notify_new_DebugInfo)( DebugInfo* ); 69 extern void VG_(redir_notify_delete_DebugInfo)( DebugInfo* ); 72 extern void VG_(redir_initialise)( void ); 75 extern void VG_(redir_add_ifunc_target)( Addr old_from, Addr new_from ); 86 extern Addr VG_(redir_do_lookup) ( Addr orig, Bool* isWrap ); 126 //extern void VG_(wrap_function)(Addr eip, const FuncWrapper *wrapper); 127 //extern const FuncWrapper *VG_(is_wrapped)(Addr eip); 128 //extern Bool VG_(is_wrapper_return)(Addr eip); 131 //extern CodeRedirect *VG_(add_wrappe [all...] |
H A D | m_threadstate.c | 41 ThreadId VG_(running_tid) = VG_INVALID_THREADID; 43 ThreadState VG_(threads)[VG_N_THREADS]; 49 const HChar* VG_(name_of_ThreadStatus) ( ThreadStatus status ) 62 ThreadState *VG_(get_ThreadState)(ThreadId tid) 65 vg_assert(VG_(threads)[tid].tid == tid); 66 return &VG_(threads)[tid]; 69 Bool VG_(is_valid_tid) ( ThreadId tid ) 74 if (VG_(threads)[tid].status == VgTs_Empty) return False; 79 ThreadId VG_(get_running_tid)(void) 81 return VG_(running_ti [all...] |
H A D | pub_core_signals.h | 41 extern Int VG_(max_signal); 44 #define VG_SIGVGKILL (VG_(max_signal)-0) 45 #define VG_SIGVGRTUSERMAX (VG_(max_signal)-1) 47 extern void VG_(sigstartup_actions) ( void ); 51 extern void VG_(poll_signals) ( ThreadId ); 54 extern SysRes VG_(do_sys_sigaltstack) ( ThreadId tid, vki_stack_t* ss, 56 extern SysRes VG_(do_sys_sigaction) ( Int signo, 59 extern SysRes VG_(do_sys_sigprocmask) ( ThreadId tid, Int how, 63 extern void VG_(clear_out_queued_signals) 66 extern void VG_(kill_sel [all...] |
H A D | m_tooliface.c | 36 VgToolInterface VG_(tdict); 41 void VG_(basic_tool_funcs)( 48 VG_(tdict).tool_post_clo_init = post_clo_init; 49 VG_(tdict).tool_instrument = instrument; 50 VG_(tdict).tool_fini = fini; 58 VgDetails VG_(details) = { 69 extern void VG_(details_##detail)(type detail) \ 71 VG_(details).detail = detail; \ 85 VgNeeds VG_(needs) = { 101 Bool VG_(sanity_check_need [all...] |
/external/valgrind/main/include/ |
H A D | pub_tool_clientstate.h | 41 extern XArray* /* of HChar* */ VG_(args_for_client); 54 VG_(args_for_valgrind_noexecpass) is. */ 55 extern XArray* /* of HChar* */ VG_(args_for_valgrind); 57 /* Number of leading args in VG_(args_for_valgrind) not to pass on at 59 extern Int VG_(args_for_valgrind_noexecpass); 63 extern const HChar* VG_(args_the_exename);
|
H A D | pub_tool_replacemalloc.h | 39 /* Can be called from VG_(tdict).malloc_malloc et al to do the actual 41 extern void* VG_(cli_malloc) ( SizeT align, SizeT nbytes ); 42 extern void VG_(cli_free) ( void* p ); 48 extern Long VG_(free_queue_volume); 49 extern Long VG_(free_queue_length); 52 extern Bool VG_(addr_is_in_block)( Addr a, Addr start, 61 extern Bool VG_(clo_trace_malloc); 64 extern UInt VG_(clo_alignment); 66 extern Bool VG_(replacement_malloc_process_cmd_line_option) ( Char* arg );
|
H A D | pub_tool_hashtable.h | 52 /* Make a new table. Allocates the memory with VG_(calloc)(), so can 53 be freed with VG_(free)(). The table starts small but will 56 extern VgHashTable VG_(HT_construct) ( HChar* name ); 59 extern Int VG_(HT_count_nodes) ( VgHashTable table ); 62 extern void VG_(HT_add_node) ( VgHashTable t, void* node ); 67 extern void* VG_(HT_lookup) ( VgHashTable table, UWord key ); 70 extern void* VG_(HT_remove) ( VgHashTable table, UWord key ); 74 array must be freed with VG_(free). */ 75 extern VgHashNode** VG_(HT_to_array) ( VgHashTable t, /*OUT*/ UInt* n_elems ); 78 extern void VG_(HT_ResetIte [all...] |
H A D | pub_tool_libcproc.h | 39 extern Char** VG_(client_envp); 41 /* Looks up VG_(client_envp) */ 42 extern Char* VG_(getenv) ( Char* name ); 45 extern const Char *VG_(libdir); 49 extern const Char* VG_(LD_PRELOAD_var_name); 55 extern Int VG_(waitpid)( Int pid, Int *status, Int options ); 56 extern Int VG_(system) ( Char* cmd ); 57 extern Int VG_(fork) ( void); 58 extern void VG_(execv) ( Char* filename, Char** argv ); 64 extern Int VG_(getrlimi [all...] |
H A D | pub_tool_execontext.h | 50 // short-lived stack trace, use VG_(get_StackTrace)(). 52 // If called from generated code, use VG_(get_running_tid)() to get the 61 ExeContext* VG_(record_ExeContext) ( ThreadId tid, Word first_ip_delta ); 63 // Trivial version of VG_(record_ExeContext), which just records the 70 ExeContext* VG_(record_depth_1_ExeContext)( ThreadId tid ); 75 extern void VG_(apply_ExeContext)( void(*action)(UInt n, Addr ip), 82 extern Bool VG_(eq_ExeContext) ( VgRes res, ExeContext* e1, ExeContext* e2 ); 85 extern void VG_(pp_ExeContext) ( ExeContext* ec ); 91 extern UInt VG_(get_ECU_from_ExeContext)( ExeContext* e ); 94 extern Int VG_(get_ExeContext_n_ip [all...] |
/external/valgrind/main/coregrind/m_replacemalloc/ |
H A D | replacemalloc_core.c | 47 Bool VG_(clo_trace_malloc) = False; 51 UInt VG_(clo_alignment) = VG_MIN_MALLOC_SZB; 54 Bool VG_(replacement_malloc_process_cmd_line_option)(Char* arg) 56 if VG_INT_CLO(arg, "--alignment", VG_(clo_alignment)) { 57 if (VG_(clo_alignment) < VG_MIN_MALLOC_SZB || 58 VG_(clo_alignment) > 4096 || 59 VG_(log2)( VG_(clo_alignment) ) == -1 /* not a power of 2 */) 61 VG_(fmsg_bad_option)(arg, 67 else if VG_BOOL_CLO(arg, "--trace-malloc", VG_(clo_trace_mallo [all...] |
/external/valgrind/main/exp-sgcheck/ |
H A D | pc_main.c | 60 VG_(printf)("SGCheck doesn't work on Darwin yet, sorry.\n"); 61 VG_(exit)(1); 65 VG_(printf)("SGCheck doesn't work s390x yet, sorry.\n"); 66 VG_(exit)(1); 71 VG_(details_name) ("exp-sgcheck"); 72 VG_(details_version) (NULL); 73 VG_(details_description) ("a stack and global array " 75 VG_(details_copyright_author)( 77 VG_(details_bug_reports_to) (VG_BUGS_TO); 78 VG_(details_avg_translation_size [all...] |
/external/valgrind/main/none/ |
H A D | nl_main.c | 54 VG_(details_name) ("Nulgrind"); 55 VG_(details_version) (NULL); 56 VG_(details_description) ("the minimal Valgrind tool"); 57 VG_(details_copyright_author)( 59 VG_(details_bug_reports_to) (VG_BUGS_TO); 61 VG_(details_avg_translation_sizeB) ( 275 ); 63 VG_(basic_tool_funcs) (nl_post_clo_init,
|