HomeSort by relevance Sort by last modified time
    Searched refs:VG_ (Results 1 - 25 of 253) sorted by null

1 2 3 4 5 6 7 8 91011

  /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_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_ResetIter) ( VgHashTable table )
    [all...]
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_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_ips)( ExeContext* e )
    [all...]
  /external/valgrind/main/include/vki/
vki-scnums-aix5.h 57 extern Int VG_(aix5_NR_utrchook_sc);
58 #define __NR_AIX5_utrchook_sc VG_(aix5_NR_utrchook_sc)
60 extern Int VG_(aix5_NR_thread_create);
61 #define __NR_AIX5_thread_create VG_(aix5_NR_thread_create)
63 extern Int VG_(aix5_NR_kfork);
64 #define __NR_AIX5_kfork VG_(aix5_NR_kfork)
66 extern Int VG_(aix5_NR_kra_fork);
67 #define __NR_AIX5_kra_fork VG_(aix5_NR_kra_fork)
69 extern Int VG_(aix5_NR_execve);
70 #define __NR_AIX5_execve VG_(aix5_NR_execve
    [all...]
  /external/valgrind/main/coregrind/
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
49 extern Addr VG_(brk_base); // start of brk
50 extern Addr VG_(brk_limit); // current brk
53 extern Int VG_(cl_exec_fd);
64 extern Int VG_(cl_cmdline_fd);
67 extern struct vki_rlimit VG_(client_rlimit_data);
68 extern struct vki_rlimit VG_(client_rlimit_stack);
72 extern HChar* VG_(name_of_launcher)
    [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;
54 Addr VG_(brk_base) = 0; /* start of brk */
55 Addr VG_(brk_limit) = 0; /* current brk */
58 Int VG_(cl_exec_fd) = -1;
61 Int VG_(cl_cmdline_fd) = -1;
68 XArray* /* of HChar* */ VG_(args_for_client) = NULL
    [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);
58 extern Bool VG_(clo_db_attach);
60 extern Char* VG_(clo_db_command);
63 extern Int VG_(clo_gen_suppressions);
65 extern Int VG_(clo_sanity_level);
67 extern Bool VG_(clo_demangle);
69 extern Bool VG_(clo_trace_children);
72 extern HChar* VG_(clo_trace_children_skip)
    [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 );
66 extern Addr VG_(amd64_linux_SUBST_FOR_rt_sigreturn);
67 extern Addr VG_(amd64_linux_REDIR_FOR_vgettimeofday);
68 extern Addr VG_(amd64_linux_REDIR_FOR_vtime);
69 extern UInt VG_(amd64_linux_REDIR_FOR_strlen)( void* );
73 extern Addr VG_(ppc32_linux_SUBST_FOR_sigreturn)
    [all...]
pub_core_errormgr.h 52 extern void VG_(load_suppressions) ( void );
54 extern void VG_(show_all_errors) ( void );
56 extern void VG_(show_error_counts_as_XML) ( void );
58 extern Bool VG_(is_action_requested) ( Char* action, Bool* clo );
60 extern Bool VG_(showing_core_errors) ( void );
62 extern UInt VG_(get_n_errs_found) ( void );
64 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_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_(scheduler) ( ThreadId tid )
    [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;
49 Bool VG_(clo_db_attach) = False;
50 Char* VG_(clo_db_command) = GDB_PATH " -nw %f %p";
51 Int VG_(clo_gen_suppressions) = 0;
52 Int VG_(clo_sanity_level) = 1;
53 Int VG_(clo_verbosity) = 1;
54 Bool VG_(clo_stats) = False
    [all...]
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...]
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_unprofiled);
72 extern Addr VG_(run_innerloop__dispatch_profiled);
84 extern void VG_(run_a_noredir_translation) ( volatile UWord* argblock );
86 /* We need to a label inside VG_(run_a_noredir_translation), so that
89 extern Addr VG_(run_a_noredir_translation__return_point)
    [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* msg );
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...]
m_threadstate.c 40 ThreadId VG_(running_tid) = VG_INVALID_THREADID;
42 ThreadState VG_(threads)[VG_N_THREADS];
48 const HChar* VG_(name_of_ThreadStatus) ( ThreadStatus status )
61 ThreadState *VG_(get_ThreadState)(ThreadId tid)
64 vg_assert(VG_(threads)[tid].tid == tid);
65 return &VG_(threads)[tid];
68 Bool VG_(is_valid_tid) ( ThreadId tid )
73 if (VG_(threads)[tid].status == VgTs_Empty) return False;
78 ThreadId VG_(get_running_tid)(void)
80 return VG_(running_tid)
    [all...]
m_vkiscnums.c 54 It also provides VG_(aix5_register_syscall) to assign numbers to
62 Char* VG_(sysnum_string)(Word sysnum, SizeT n_buf, Char* buf)
64 VG_(snprintf)(buf, n_buf, "%3ld", sysnum);
68 Char* VG_(sysnum_string_extra)(Word sysnum, SizeT n_buf, Char* buf)
70 return VG_(sysnum_string)(sysnum, n_buf, buf);
78 Int VG_(aix5_NR_utrchook_sc) = __NR_AIX5_UNKNOWN;
79 Int VG_(aix5_NR_thread_create) = __NR_AIX5_UNKNOWN;
80 Int VG_(aix5_NR_kfork) = __NR_AIX5_UNKNOWN;
81 Int VG_(aix5_NR_kra_fork) = __NR_AIX5_UNKNOWN;
82 Int VG_(aix5_NR_execve) = __NR_AIX5_UNKNOWN
    [all...]
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_self)(Int sigNo)
    [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/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_(basic_tool_funcs) (nl_post_clo_init,

Completed in 98 milliseconds

1 2 3 4 5 6 7 8 91011