/external/valgrind/main/coregrind/ |
pub_core_dispatch.h | 64 void VG_(disp_run_translations)( HWord* two_words, 72 void VG_(disp_cp_chain_me_to_slowEP)(void); 73 void VG_(disp_cp_chain_me_to_fastEP)(void); 74 void VG_(disp_cp_xindir)(void); 75 void VG_(disp_cp_xassisted)(void); 76 void VG_(disp_cp_evcheck_fail)(void);
|
pub_core_trampoline.h | 34 #include "pub_core_basics.h" // VG_ macro 58 extern Addr VG_(trampoline_stuff_start); 59 extern Addr VG_(trampoline_stuff_end); 62 extern Addr VG_(x86_linux_SUBST_FOR_sigreturn); 63 extern Addr VG_(x86_linux_SUBST_FOR_rt_sigreturn); 64 extern Char* VG_(x86_linux_REDIR_FOR_index) ( const Char*, Int ); 65 extern UInt VG_(x86_linux_REDIR_FOR_strlen)( void* ); 69 extern Addr VG_(amd64_linux_SUBST_FOR_rt_sigreturn); 70 extern Addr VG_(amd64_linux_REDIR_FOR_vgettimeofday); 71 extern Addr VG_(amd64_linux_REDIR_FOR_vtime) [all...] |
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 Int VG_(cl_auxv_fd); 74 extern struct vki_rlimit VG_(client_rlimit_data) [all...] |
m_clientstate.c | 48 The main stack will grow if needed but VG_(clstk_base) will 50 Addr VG_(clstk_base) = 0; 52 Addr VG_(clstk_end) = 0; 53 UWord VG_(clstk_id) = 0; 57 UWord* VG_(client_auxv) = NULL; 59 Addr VG_(brk_base) = 0; /* start of brk */ 60 Addr VG_(brk_limit) = 0; /* current brk */ 63 Int VG_(cl_exec_fd) = -1; 66 Int VG_(cl_cmdline_fd) = -1; 69 Int VG_(cl_auxv_fd) = -1 [all...] |
pub_core_scheduler.h | 34 #include "pub_core_basics.h" // VG_ macro 44 extern ThreadId VG_(alloc_ThreadState)(void); 47 extern void VG_(exit_thread)(ThreadId tid); 52 extern void VG_(get_thread_out_of_syscall)(ThreadId tid); 55 extern void VG_(nuke_all_threads_except) ( ThreadId me, 63 extern void VG_(acquire_BigLock) ( ThreadId tid, const HChar* who ); 68 extern void VG_(acquire_BigLock_LL) ( const HChar* who ); 78 extern void VG_(release_BigLock) ( ThreadId tid, 82 extern void VG_(release_BigLock_LL) ( const HChar* who ); 85 extern Bool VG_(owns_BigLock_LL) ( ThreadId tid ) [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); 90 extern UInt VG_(clo_vgdb_stop_at); // A set of VgdbStopAt reasons. 93 extern const HChar *VG_(clo_vgdb_prefix); 97 extern Bool VG_(clo_vgdb_shadow_registers); 100 extern Bool VG_(clo_db_attach) [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) ( const HChar* 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 | 45 #include "pub_core_basics.h" // VG_ macro 51 void VG_(vki_do_initial_consistency_checks)(void);
|
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; 52 VgVgdb VG_(clo_vgdb) = Vg_VgdbNo; // currently disabled on Android 54 VgVgdb VG_(clo_vgdb) = Vg_VgdbYes; 56 Int VG_(clo_vgdb_poll) = 5000; 57 Int VG_(clo_vgdb_error) = 999999999; 58 UInt VG_(clo_vgdb_stop_at) = 0; 59 const HChar *VG_(clo_vgdb_prefix) = NULL [all...] |
pub_core_syswrap.h | 34 #include "pub_core_basics.h" // VG_ macro 44 extern void VG_(main_thread_wrapper_NORETURN)(ThreadId tid); 46 extern void VG_(client_syscall) ( ThreadId tid, UInt trc ); 48 extern void VG_(post_syscall) ( ThreadId tid ); 51 extern void VG_(clear_syscallInfo) ( Int tid ); 54 extern void VG_(fixup_guest_state_after_syscall_interrupted)( 62 extern void VG_(reap_threads)(ThreadId self); 65 extern void VG_(cleanup_thread) ( ThreadArchState* ); 68 extern void VG_(init_preopened_fds) ( void ); 69 extern void VG_(show_open_fds) ( const HChar* when ) [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) ( const HChar* format, ... );
|
pub_core_redir.h | 49 // is aborted. See comment by VG_(clo_n_req_tsyms) in 66 extern void VG_(redir_notify_new_DebugInfo)( DebugInfo* ); 70 extern void VG_(redir_notify_delete_DebugInfo)( DebugInfo* ); 73 extern void VG_(redir_initialise)( void ); 76 extern void VG_(redir_add_ifunc_target)( Addr old_from, Addr new_from ); 87 extern Addr VG_(redir_do_lookup) ( Addr orig, Bool* isWrap ); 127 //extern void VG_(wrap_function)(Addr eip, const FuncWrapper *wrapper); 128 //extern const FuncWrapper *VG_(is_wrapped)(Addr eip); 129 //extern Bool VG_(is_wrapper_return)(Addr eip); 132 //extern CodeRedirect *VG_(add_wrapper)(const HChar *from_lib, const HChar *from_sym [all...] |
pub_core_signals.h | 42 extern Int VG_(max_signal); 45 extern const HChar *VG_(signame)(Int sigNo); 48 #define VG_SIGVGKILL (VG_(max_signal)-0) 49 #define VG_SIGVGRTUSERMAX (VG_(max_signal)-1) 51 extern void VG_(sigstartup_actions) ( void ); 55 extern void VG_(poll_signals) ( ThreadId ); 58 extern SysRes VG_(do_sys_sigaltstack) ( ThreadId tid, vki_stack_t* ss, 60 extern SysRes VG_(do_sys_sigaction) ( Int signo, 63 extern SysRes VG_(do_sys_sigprocmask) ( ThreadId tid, Int how, 67 extern void VG_(clear_out_queued_signals) [all...] |
m_sbprofile.c | 59 VG_(sprintf)(ecs_txt, "%'llu ecs done", ecs_done); 61 VG_(strcpy)(ecs_txt, "for the entire run"); 64 vg_assert(VG_(clo_profyle_sbs)); 66 VG_(printf)("\n"); 67 VG_(printf)("<<<---<<<---<<<---<<<---<<<---<<<---<<<---" 69 VG_(printf)("<<<---<<<---<<<---<<<---<<<---<<<---<<<---" 71 VG_(printf)("\n"); 72 VG_(printf)("<<< BEGIN SB Profile #%u (%s)\n", 74 VG_(printf)("<<<\n"); 75 VG_(printf)("\n") [all...] |
pub_core_execontext.h | 48 extern void VG_(print_ExeContext_stats) ( Bool with_stacktraces ); 55 /*StackTrace*/Addr* VG_(get_ExeContext_StackTrace) ( ExeContext* e );
|
m_main.c | 53 #include "pub_core_syscall.h" // VG_(strerror) 61 #include "pub_core_seqmatch.h" // For VG_(string_match) 63 #include "pub_core_stacks.h" // For VG_(register_stack) 66 #include "pub_core_translate.h" // For VG_(translate) 86 which must be supplied when they are VG_(printf)'d. */ 277 VG_(log_output_sink).fd = 1; 278 VG_(log_output_sink).is_socket = False; 280 if (VG_(needs).malloc_replacement) { 281 VG_(sprintf)(default_alignment, "%d", VG_MIN_MALLOC_SZB); 282 VG_(sprintf)(default_redzone_size, "%lu", VG_(tdict).tool_client_redzone_szB) [all...] |
/external/valgrind/main/include/ |
pub_tool_clientstate.h | 34 #include "pub_tool_basics.h" // VG_ macro 44 extern XArray* /* of HChar* */ VG_(args_for_client); 57 VG_(args_for_valgrind_noexecpass) is. */ 58 extern XArray* /* of HChar* */ VG_(args_for_valgrind); 60 /* Number of leading args in VG_(args_for_valgrind) not to pass on at 62 extern Int VG_(args_for_valgrind_noexecpass); 66 extern const HChar* VG_(args_the_exename);
|
pub_tool_replacemalloc.h | 41 /* Can be called from VG_(tdict).malloc_malloc et al to do the actual 43 extern void* VG_(cli_malloc) ( SizeT align, SizeT nbytes ); 44 extern void VG_(cli_free) ( void* p ); 50 extern Long VG_(free_queue_volume); 51 extern Long VG_(free_queue_length); 54 extern Bool VG_(addr_is_in_block)( Addr a, Addr start, 63 extern Bool VG_(clo_trace_malloc); 66 extern UInt VG_(clo_alignment); 68 extern Bool VG_(replacement_malloc_process_cmd_line_option) ( const HChar* arg ); 72 // provided by the tool, VG_(clo_redzone_size) and the minimu [all...] |
pub_tool_libcproc.h | 34 #include "pub_tool_basics.h" // VG_ macro 42 extern HChar** VG_(client_envp); 44 /* Looks up VG_(client_envp) */ 45 extern HChar* VG_(getenv) ( const HChar* name ); 48 extern const HChar *VG_(libdir); 52 extern const HChar* VG_(LD_PRELOAD_var_name); 58 extern Int VG_(waitpid)( Int pid, Int *status, Int options ); 59 extern Int VG_(system) ( const HChar* cmd ); 60 extern Int VG_(fork) ( void); 61 extern void VG_(execv) ( const HChar* filename, HChar** argv ) [all...] |
pub_tool_poolalloc.h | 56 PoolAlloc* VG_(newPA) ( UWord elemSzB, 64 extern void VG_(deletePA) ( PoolAlloc* pa); 67 extern void* VG_(allocEltPA) ( PoolAlloc* pa); 70 extern void VG_(freeEltPA) ( PoolAlloc* pa, void* p); 77 It is the caller responsibility to call VG_(addRefPA) for 78 each new reference to a pool and VG_(releasePA) when such a reference 80 VG_(releasePA) will automatically call VG_(deletePA) 83 // VG_(addRefPA) indicates there is a new reference to pa. 84 extern void VG_(addRefPA) ( PoolAlloc* pa) [all...] |
pub_tool_mallocfree.h | 42 extern void* VG_(malloc) ( const HChar* cc, SizeT nbytes ); 43 extern void VG_(free) ( void* p ); 44 extern void* VG_(calloc) ( const HChar* cc, SizeT n, SizeT bytes_per_elem ); 45 extern void* VG_(realloc) ( const HChar* cc, void* p, SizeT size ); 46 extern HChar* VG_(strdup) ( const HChar* cc, const HChar* s ); 50 extern SizeT VG_(malloc_usable_size)( void* p ); 55 extern void VG_(out_of_memory_NORETURN) ( const HChar* who, SizeT szB ); 57 // VG_(perm_malloc) is for allocating small blocks which are 59 // VG_(perm_malloc) returns memory which is (at least) aligned 63 // In particular, do *not* call VG_(free) or VG_(malloc_usable_size [all...] |
pub_tool_oset.h | 97 // called by VG_(OSetWord_Destroy)(). 107 extern OSet* VG_(OSetWord_Create) ( OSetAlloc_t alloc, const HChar* cc, 109 extern void VG_(OSetWord_Destroy) ( OSet* os ); 140 // VG_(OSetWord_ResetIter)(oset); 141 // while ( VG_(OSetWord_Next)(oset, &val) ) { 148 // they will return False if VG_(OSetWord_Next)() is called without an 149 // intervening call to VG_(OSetWord_ResetIter)(). 151 extern Word VG_(OSetWord_Size) ( OSet* os ); 152 extern void VG_(OSetWord_Insert) ( OSet* os, UWord val ); 153 extern Bool VG_(OSetWord_Contains) ( OSet* os, UWord val ) [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 on s390x yet, sorry.\n"); 66 VG_(exit)(1); 69 VG_(printf)("SGCheck doesn't work on PPC yet, sorry.\n"); 70 VG_(exit)(1); 73 VG_(printf)("SGCheck doesn't work on ARM yet, sorry.\n"); 74 VG_(exit)(1); 77 VG_(printf)("SGCheck doesn't work on MIPS yet, sorry.\n"); 78 VG_(exit)(1) [all...] |
/external/valgrind/main/coregrind/m_replacemalloc/ |
replacemalloc_core.c | 35 #include "pub_core_tooliface.h" // VG_(needs) 49 Bool VG_(clo_trace_malloc) = False; 53 UInt VG_(clo_alignment) = VG_MIN_MALLOC_SZB; 56 Bool VG_(replacement_malloc_process_cmd_line_option)(const HChar* arg) 58 if VG_INT_CLO(arg, "--alignment", VG_(clo_alignment)) { 59 if (VG_(clo_alignment) < VG_MIN_MALLOC_SZB || 60 VG_(clo_alignment) > 4096 || 61 VG_(log2)( VG_(clo_alignment) ) == -1 /* not a power of 2 */) 63 VG_(fmsg_bad_option)(arg [all...] |