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

1 2 3 4 5 6 7 8 91011>>

  /external/valgrind/coregrind/
pub_core_clientstate.h 46 extern Addr VG_(clstk_start_base); // *Initial* lowest byte address
47 extern Addr VG_(clstk_end); // Highest byte address
48 extern UWord VG_(clstk_id); // client stack id
52 extern UWord* VG_(client_auxv);
54 extern Addr VG_(brk_base); // start of brk
55 extern Addr VG_(brk_limit); // current brk
58 extern Int VG_(cl_exec_fd);
69 extern Int VG_(cl_cmdline_fd);
72 extern Int VG_(cl_auxv_fd);
75 extern struct vki_rlimit VG_(client_rlimit_data)
    [all...]
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);
m_clientstate.c 48 The main stack will grow if needed but VG_(clstk_start_base) will
50 Addr VG_(clstk_start_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_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_options.h 37 // other module imports this one, if only for VG_(clo_verbosity).
43 extern Bool VG_(clo_error_limit);
47 extern Int VG_(clo_error_exitcode);
53 extern HChar *VG_(clo_error_markers)[2];
65 extern VgVgdb VG_(clo_vgdb);
66 /* if > 0, checks every VG_(clo_vgdb_poll) BBS if vgdb wants to be served. */
67 extern Int VG_(clo_vgdb_poll);
82 extern UInt VG_(clo_vgdb_stop_at); // A set of VgdbStopAt reasons.
85 extern const HChar *VG_(clo_vgdb_prefix);
89 extern Bool VG_(clo_vgdb_shadow_registers)
    [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_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);
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 Bool VG_(is_in_syscall) ( Int tid );
57 extern void VG_(fixup_guest_state_after_syscall_interrupted)(
65 extern void VG_(reap_threads)(ThreadId self);
68 extern void VG_(cleanup_thread) ( ThreadArchState* );
71 extern void VG_(init_preopened_fds) ( void )
    [all...]
m_options.c 40 #include "pub_core_seqmatch.h" // VG_(string_match)
48 VexControl VG_(clo_vex_control);
49 VexRegisterUpdates VG_(clo_px_file_backed) = VexRegUpd_INVALID;
51 Bool VG_(clo_error_limit) = True;
52 Int VG_(clo_error_exitcode) = 0;
53 HChar *VG_(clo_error_markers)[2] = {NULL, NULL};
59 VgVgdb VG_(clo_vgdb) = Vg_VgdbNo; // currently disabled on Android
61 VgVgdb VG_(clo_vgdb) = Vg_VgdbYes;
63 Int VG_(clo_vgdb_poll) = 5000;
64 Int VG_(clo_vgdb_error) = 999999999
    [all...]
pub_core_redir.h 49 // is aborted. See comment by VG_(clo_n_req_tsyms) in
66 extern void VG_(redir_notify_new_DebugInfo)( const DebugInfo* );
70 extern void VG_(redir_notify_delete_DebugInfo)( const 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_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)
85 which must be supplied when they are VG_(printf)'d. */
309 VG_(log_output_sink).fd = 1;
310 VG_(log_output_sink).is_socket = False;
312 if (VG_(needs).malloc_replacement) {
313 VG_(sprintf)(default_alignment, "%d", VG_MIN_MALLOC_SZB);
314 VG_(sprintf)(default_redzone_size, "%lu", VG_(tdict).tool_client_redzone_szB)
    [all...]
m_threadstate.c 34 #include "pub_core_mallocfree.h" // VG_(malloc)
45 ThreadId VG_(running_tid) = VG_INVALID_THREADID;
47 ThreadState *VG_(threads);
54 void VG_(init_Threads)(void)
59 addr = VG_(malloc)("init_Threads",
60 VG_N_THREADS * sizeof VG_(threads)[0] + LibVEX_GUEST_STATE_ALIGN - 1);
64 VG_(threads) = (ThreadState *)aligned_addr;
68 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].status,
69 sizeof(VG_(threads)[tid].status), ""));
71 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].os_state.exitcode
    [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);
57 void VG_(elapsed_wallclock_time) ( /*OUT*/HChar* buf, SizeT bufsize );
62 extern void VG_(err_missing_prog) ( void );
67 extern void VG_(err_config_error) ( const HChar* format, ... );
72 extern void VG_(fmsg_unknown_option) ( const HChar *opt );
pub_core_execontext.h 48 extern void VG_(print_ExeContext_stats) ( Bool with_stacktraces );
55 /*StackTrace*/Addr* VG_(get_ExeContext_StackTrace) ( ExeContext* e );
  /external/valgrind/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 );
47 extern SizeT VG_(cli_malloc_usable_size)( void* p );
54 extern Long VG_(free_queue_volume);
55 extern Long VG_(free_queue_length);
58 extern Bool VG_(addr_is_in_block)( Addr a, Addr start,
67 extern Bool VG_(clo_trace_malloc);
70 extern UInt VG_(clo_alignment);
72 extern Bool VG_(replacement_malloc_process_cmd_line_option) ( const HChar* arg )
    [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_hashtable.h 34 #include "pub_tool_basics.h" // VG_ macro
54 /* Make a new table. Allocates the memory with VG_(calloc)(), so can
55 be freed with VG_(free)(). The table starts small but will
58 extern VgHashTable *VG_(HT_construct) ( const HChar* name );
61 extern Int VG_(HT_count_nodes) ( const VgHashTable *table );
64 extern void VG_(HT_add_node) ( VgHashTable *t, void* node );
70 extern void* VG_(HT_lookup) ( const VgHashTable *table, UWord key );
73 extern void* VG_(HT_remove) ( VgHashTable *table, UWord key );
77 /* Same as VG_(HT_lookup) and VG_(HT_remove), but allowing a part of o
    [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 void VG_(realloc_shrink)( void* ptr, SizeT size );
47 extern HChar* VG_(strdup) ( const HChar* cc, const HChar* s );
52 extern void VG_(out_of_memory_NORETURN) ( const HChar* who, SizeT szB );
54 // VG_(perm_malloc) is for allocating small blocks which are
56 // VG_(perm_malloc) returns memory which is (at least) aligned
60 // In particular, do *not* call VG_(free) or VG_(realloc)
    [all...]
pub_tool_vkiscnums.h 44 extern const HChar *VG_(sysnum_string) (Word sysnum);
47 #define VG_SYSNUM_STRING(sysnum) VG_(sysnum_string)(sysnum)
  /external/valgrind/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/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...]

Completed in 773 milliseconds

1 2 3 4 5 6 7 8 91011>>