/external/valgrind/main/coregrind/ |
pub_core_dispatch.h | 63 void VG_(disp_run_translations)( HWord* two_words, 71 void VG_(disp_cp_chain_me_to_slowEP)(void); 72 void VG_(disp_cp_chain_me_to_fastEP)(void); 73 void VG_(disp_cp_xindir)(void); 74 void VG_(disp_cp_xassisted)(void); 75 void VG_(disp_cp_evcheck_fail)(void);
|
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_stack) [all...] |
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_command) [all...] |
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_fd) = -1 [all...] |
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 Addr VG_(amd64_linux_REDIR_FOR_vgetcpu) [all...] |
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 ); 82 extern Bool VG_(owns_BigLock_LL) ( ThreadId tid ); 86 extern void VG_(vg_yield)(void) [all...] |
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 ); 70 extern UInt VG_(get_n_errs_shown) ( void ); 72 extern void VG_(print_errormgr_stats) ( void );
|
pub_core_mach.h | 42 extern void VG_(mach_init)(void);
|
pub_core_vki.h | 50 void VG_(vki_do_initial_consistency_checks)(void);
|
pub_core_execontext.h | 47 extern void VG_(print_ExeContext_stats) ( void ); 54 /*StackTrace*/Addr* VG_(get_ExeContext_StackTrace) ( ExeContext* e );
|
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_NORETURN) [all...] |
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; 51 VgVgdb VG_(clo_vgdb) = Vg_VgdbNo; // currently disabled on Android 53 VgVgdb VG_(clo_vgdb) = Vg_VgdbYes; 55 Int VG_(clo_vgdb_poll) = 5000; 56 Int VG_(clo_vgdb_error) = 999999999; 57 HChar* VG_(clo_vgdb_prefix) = NULL; 58 Bool VG_(clo_vgdb_shadow_registers) = False [all...] |
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, ... );
|
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_wrapper)(const Char *from_lib, const Char *from_sym [all...] |
pub_core_signals.h | 41 extern Int VG_(max_signal); 44 extern const Char *VG_(signame)(Int sigNo); 47 #define VG_SIGVGKILL (VG_(max_signal)-0) 48 #define VG_SIGVGRTUSERMAX (VG_(max_signal)-1) 50 extern void VG_(sigstartup_actions) ( void ); 54 extern void VG_(poll_signals) ( ThreadId ); 57 extern SysRes VG_(do_sys_sigaltstack) ( ThreadId tid, vki_stack_t* ss, 59 extern SysRes VG_(do_sys_sigaction) ( Int signo, 62 extern SysRes VG_(do_sys_sigprocmask) ( ThreadId tid, Int how, 66 extern void VG_(clear_out_queued_signals) [all...] |
m_main.c | 52 #include "pub_core_syscall.h" // VG_(strerror) 60 #include "pub_core_seqmatch.h" // For VG_(string_match) 62 #include "pub_core_stacks.h" // For VG_(register_stack) 65 #include "pub_core_translate.h" // For VG_(translate) 80 VG_(print_translation_stats)(); 81 VG_(print_tt_tc_stats)(); 82 VG_(print_scheduler_stats)(); 83 VG_(print_ExeContext_stats)(); 84 VG_(print_errormgr_stats)(); 87 if (VG_(clo_verbosity) > 2) [all...] |
/external/valgrind/main/include/ |
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);
|
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 );
|
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_(getrlimit) ( Int resource, struct vki_rlimit *rlim ) [all...] |
pub_tool_poolalloc.h | 54 PoolAlloc* VG_(newPA) ( UWord elemSzB, 62 extern void VG_(deletePA) ( PoolAlloc* pa); 65 extern void* VG_(allocEltPA) ( PoolAlloc* pa); 68 extern void VG_(freeEltPA) ( PoolAlloc* pa, void* p); 80 // VG_(addRefPA) indicates there is a new reference to pa. 81 extern void VG_(addRefPA) ( PoolAlloc* pa); 83 // VG_(releasePA) decrements the pa reference count and deletes the pa if that 86 extern UWord VG_(releasePA) ( PoolAlloc* pa);
|
pub_tool_mallocfree.h | 40 extern void* VG_(malloc) ( HChar* cc, SizeT nbytes ); 41 extern void VG_(free) ( void* p ); 42 extern void* VG_(calloc) ( HChar* cc, SizeT n, SizeT bytes_per_elem ); 43 extern void* VG_(realloc) ( HChar* cc, void* p, SizeT size ); 44 extern Char* VG_(strdup) ( HChar* cc, const Char* s ); 48 extern SizeT VG_(malloc_usable_size)( void* p ); 52 // provided by the tool, VG_(clo_redzone_size) and the minimum 54 // It is an error to call this before VG_(needs_malloc_replacement) has 56 extern SizeT VG_(malloc_effective_client_redzone_size)(void); 61 extern void VG_(out_of_memory_NORETURN) ( HChar* who, SizeT szB ) [all...] |
pub_tool_oset.h | 92 // called by VG_(OSetWord_Destroy)(). 102 extern OSet* VG_(OSetWord_Create) ( OSetAlloc_t alloc, HChar* cc, 104 extern void VG_(OSetWord_Destroy) ( OSet* os ); 135 // VG_(OSetWord_ResetIter)(oset); 136 // while ( VG_(OSetWord_Next)(oset, &val) ) { 143 // they will return False if VG_(OSetWord_Next)() is called without an 144 // intervening call to VG_(OSetWord_ResetIter)(). 146 extern Word VG_(OSetWord_Size) ( OSet* os ); 147 extern void VG_(OSetWord_Insert) ( OSet* os, UWord val ); 148 extern Bool VG_(OSetWord_Contains) ( OSet* os, UWord val ) [all...] |
/external/valgrind/main/coregrind/m_replacemalloc/ |
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_malloc)) { [all...] |
/external/valgrind/main/exp-sgcheck/ |
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_sizeB) ( 496 ) [all...] |
/external/valgrind/main/none/ |
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,
|