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

12 3 4 5 6 7 8 91011>>

  /external/valgrind/include/
pub_tool_xarray.h 57 extern XArray* VG_(newXA) ( void*(*alloc_fn)(const HChar*,SizeT),
63 extern void VG_(deleteXA) ( XArray* );
68 extern void VG_(setCmpFnXA) ( XArray*, XACmpFn_t);
73 extern Word VG_(addToXA) ( XArray*, const void* elem );
78 extern Word VG_(addBytesToXA) ( XArray* xao, const void* bytesV, Word nbytes );
82 extern void VG_(sortXA) ( XArray* );
89 extern Bool VG_(lookupXA) ( const XArray*, const void* key,
92 /* A version of VG_(lookupXA) in which you can specify your own
97 VG_(lookupXA), which refuses to do anything (asserts) unless the
100 extern Bool VG_(lookupXA_UNSAFE) ( const XArray* xao, const void* key
    [all...]
pub_tool_oset.h 99 // called by VG_(OSetWord_Destroy)().
106 extern OSet* VG_(OSetWord_Create) ( OSetAlloc_t alloc_fn, const HChar* cc,
108 extern void VG_(OSetWord_Destroy) ( OSet* os );
139 // VG_(OSetWord_ResetIter)(oset);
140 // while ( VG_(OSetWord_Next)(oset, &val) ) {
147 // they will return False if VG_(OSetWord_Next)() is called without an
148 // intervening call to VG_(OSetWord_ResetIter)().
150 extern Word VG_(OSetWord_Size) ( const OSet* os );
151 extern void VG_(OSetWord_Insert) ( OSet* os, UWord val );
152 extern Bool VG_(OSetWord_Contains) ( const OSet* os, UWord val )
    [all...]
pub_tool_deduppoolalloc.h 47 // Elements can be inserted in the pool using VG_(allocEltDedupPA)
48 // or using VG_(allocFixedEltDedupPA).
50 // Use VG_(allocFixedEltDedupPA) to allocate elements that are all of
52 // VG_(allocFixedEltDedupPA) will assign a sequence number to each
62 // Use VG_(allocEltDedupPA) for variable size elements or when the
65 // The address of an element allocated with VG_(allocEltDedupPA) does
90 extern DedupPoolAlloc* VG_(newDedupPA) ( SizeT poolSzB,
103 extern const void* VG_(allocEltDedupPA) (DedupPoolAlloc *ddpa,
108 Similarly to VG_(allocEltDedupPA), this will return the unique number
110 extern UInt VG_(allocFixedEltDedupPA) (DedupPoolAlloc *ddpa
    [all...]
pub_tool_poolalloc.h 57 extern PoolAlloc* VG_(newPA) ( UWord elemSzB,
65 extern void VG_(deletePA) ( PoolAlloc* pa);
68 extern void* VG_(allocEltPA) ( PoolAlloc* pa);
71 extern void VG_(freeEltPA) ( PoolAlloc* pa, void* p);
78 It is the caller responsibility to call VG_(addRefPA) for
79 each new reference to a pool and VG_(releasePA) when such a reference
81 VG_(releasePA) will automatically call VG_(deletePA)
84 // VG_(addRefPA) indicates there is a new reference to pa.
85 extern void VG_(addRefPA) ( PoolAlloc* pa)
    [all...]
pub_tool_wordfm.h 66 the introduction of VG_(initIterAtFM), which allows iteration over
76 which becomes obvious if you use VG_(initIterFM),
77 VG_(initIterAtFM), VG_(nextIterFM), VG_(doneIterFM) to iterate over
82 WordFM* VG_(newFM) ( void* (*alloc_nofail)( const HChar* cc, SizeT ),
89 void VG_(deleteFM) ( WordFM*, void(*kFin)(UWord), void(*vFin)(UWord) );
95 Bool VG_(addToFM) ( WordFM* fm, UWord k, UWord v );
98 Bool VG_(delFromFM) ( WordFM* fm,
102 Bool VG_(lookupFM) ( const WordFM* fm,
    [all...]
pub_tool_gdbserver.h 33 #include "pub_tool_basics.h" // VG_ macro
50 // Calling VG_(gdbserver) with tid > 0 means to let a debugger attach
53 // Calling VG_(gdbserver) with tid == 0 indicates to close
56 extern void VG_(gdbserver) ( ThreadId tid );
58 /* VG_(dyn_vgdb_error) gets its initial value from
59 VG_(clo_vgdb_error). It can be changed after initial command
60 processing in order to enable/disable the call to VG_(gdbserver) in
66 extern Int VG_(dyn_vgdb_error);
96 extern const HChar* VG_(ppPointKind) (PointKind kind);
102 In addition, VG_(is_watched) will invoke gdbserver i
    [all...]
pub_tool_options.h 34 #include "pub_tool_basics.h" // for VG_ macro
53 (VG_STREQN(VG_(strlen)(qq_option)+1, qq_arg, qq_option"=") && \
55 const HChar* val = &(qq_arg)[ VG_(strlen)(qq_option)+1 ]; \
58 else VG_(fmsg_bad_option)(qq_arg, "Invalid boolean value '%s'" \
66 (VG_STREQN(VG_(strlen)(qq_option)+1, qq_arg, qq_option"=") && \
68 const HChar* val = &(qq_arg)[ VG_(strlen)(qq_option)+1 ]; \
77 (VG_STREQN(VG_(strlen)(qq_option)+1, qq_arg, qq_option"=") && \
79 const HChar* val = &(qq_arg)[ VG_(strlen)(qq_option)+1 ]; \
80 if (!VG_(parse_enum_set)(qq_vals, \
84 VG_(fmsg_bad_option)(qq_arg, "%s is an invalid %s set\n",
    [all...]
pub_tool_errormgr.h 57 /* Useful in VG_(tdict).tool_error_matches_suppression(),
58 * VG_(tdict).tool_pp_Error(), etc */
59 ExeContext* VG_(get_error_where) ( const Error* err );
60 ErrorKind VG_(get_error_kind) ( const Error* err );
61 Addr VG_(get_error_address) ( const Error* err );
62 const HChar* VG_(get_error_string) ( const Error* err );
63 void* VG_(get_error_extra) ( const Error* err );
69 'tid' can be found as for VG_(record_ExeContext)(). The `s' string
81 extern void VG_(maybe_record_error) ( ThreadId tid, ErrorKind ekind,
84 /* Similar to VG_(maybe_record_error)(), except this one doesn't record th
    [all...]
pub_tool_debuginfo.h 34 #include "pub_tool_basics.h" // VG_ macro
43 returns False. VG_(get_fnname) always
44 demangles C++ function names. VG_(get_fnname_w_offset) is the
46 extern Bool VG_(get_filename) ( Addr a, const HChar** filename );
47 extern Bool VG_(get_fnname) ( Addr a, const HChar** fnname );
48 extern Bool VG_(get_linenum) ( Addr a, UInt* linenum );
49 extern Bool VG_(get_fnname_w_offset)
66 extern Bool VG_(get_filename_linenum)
73 first instruction in a function -- as opposed to VG_(get_fnname) which
79 extern Bool VG_(get_fnname_if_entry) ( Addr a, const HChar** fnname )
    [all...]
  /external/valgrind/coregrind/
pub_core_libcproc.h 72 extern HChar **VG_(env_setenv) ( HChar ***envp, const HChar* varname,
74 extern void VG_(env_unsetenv) ( HChar **env, const HChar *varname );
75 extern void VG_(env_remove_valgrind_env_stuff) ( HChar** env );
76 extern HChar **VG_(env_clone) ( HChar **env_clone );
79 extern Int VG_(getgroups)( Int size, UInt* list );
80 extern Int VG_(ptrace)( Int request, Int pid, void *addr, void *data );
83 extern void VG_(do_atfork_pre) ( ThreadId tid );
84 extern void VG_(do_atfork_parent) ( ThreadId tid );
85 extern void VG_(do_atfork_child) ( ThreadId tid );
88 extern void VG_(invalidate_icache) ( void *ptr, SizeT nbytes )
    [all...]
pub_core_libcsignal.h 46 extern Int VG_(sigfillset) ( vki_sigset_t* set );
47 extern Int VG_(sigemptyset) ( vki_sigset_t* set );
49 extern Bool VG_(isfullsigset) ( const vki_sigset_t* set );
50 extern Bool VG_(isemptysigset) ( const vki_sigset_t* set );
51 extern Bool VG_(iseqsigset) ( const vki_sigset_t* set1,
54 extern Int VG_(sigaddset) ( vki_sigset_t* set, Int signum );
55 extern Int VG_(sigdelset) ( vki_sigset_t* set, Int signum );
56 extern Int VG_(sigismember) ( const vki_sigset_t* set, Int signum );
58 extern void VG_(sigaddset_from_set) ( vki_sigset_t* dst, const vki_sigset_t* src );
59 extern void VG_(sigdelset_from_set) ( vki_sigset_t* dst, const vki_sigset_t* src )
    [all...]
m_commandline.c 48 (void) VG_(addToXA)( xa, (void*)(&str) );
66 HChar filename[VG_(strlen)(dir) + 1 + VG_(strlen)(dot_valgrindrc) + 1];
67 VG_(sprintf)(filename, "%s/%s", dir, dot_valgrindrc);
69 fd = VG_(open)(filename, 0, VKI_S_IRUSR);
71 Int res = VG_(fstat)( sr_Res(fd), &stat_buf );
73 if (!res && stat_buf.uid == VG_(geteuid)()
76 f_clo = VG_(malloc)("commandline.rdv.1", stat_buf.size+1);
77 n = VG_(read)(sr_Res(fd), f_clo, stat_buf.size);
84 VG_(message)(Vg_UserMsg
    [all...]
m_sbprofile.c 57 VG_(sprintf)(ecs_txt, "%'llu ecs done", ecs_done);
59 VG_(strcpy)(ecs_txt, "for the entire run");
62 vg_assert(VG_(clo_profyle_sbs));
64 VG_(printf)("\n");
65 VG_(printf)("<<<---<<<---<<<---<<<---<<<---<<<---<<<---"
67 VG_(printf)("<<<---<<<---<<<---<<<---<<<---<<<---<<<---"
69 VG_(printf)("\n");
70 VG_(printf)("<<< BEGIN SB Profile #%u (%s)\n",
72 VG_(printf)("<<<\n");
73 VG_(printf)("\n")
    [all...]
pub_core_commandline.h 34 #include "pub_core_basics.h" // VG_ macro
37 park them in VG_(args_for_client), VG_(args_for_valgrind) and
38 VG_(args_for_valgrind_extras). The latter are acquired from
41 extern void VG_(split_up_argv)( Int argc, HChar** argv );
pub_core_debugger.h 41 extern void VG_(start_debugger) ( ThreadId tid );
pub_core_sbprofile.h 35 #include "pub_core_basics.h" // VG_ macro
41 void VG_(get_and_show_SB_profile) ( ULong ecs_done );
pub_core_debuglog.h 41 // Because VG_(debugLog) does printf-style formatting, and because
50 #include "pub_core_basics.h" /* For definition of VG_ macro */
59 void VG_(debugLog_startup) ( Int level, const HChar* who );
63 extern void VG_(debugLog_setXml)(Bool xml);
67 VG_(debugLog_startup), or zero if there have been no such calls so
70 Int VG_(debugLog_getLevel) ( void );
76 void VG_(debugLog) ( Int level, const HChar* modulename,
84 UInt VG_(debugLog_vprintf) (
pub_core_gdbserver.h 39 HChar* VG_(vgdb_prefix_default)(void);
45 // If VG_(clo_vgdb) == No, the below has no effect.
46 void VG_(gdbserver_prerun_action) (ThreadId tid);
49 // i.e. VG_(gdbserver_prerun_action) was called.
50 Bool VG_(gdbserver_init_done) (void);
53 Bool VG_(gdbserver_stop_at) (VgdbStopAt stopat);
56 // If it returns True, then extern void VG_(gdbserver) can be called
58 extern Bool VG_(gdbserver_activity) (ThreadId tid);
60 // If connected to GDB, VG_(gdbserver_exit) reports to GDB that the process
62 // gdbserver is then stopped (using VG_(gdbserver) (0)
    [all...]
pub_core_libcassert.h 45 VG_(assert_fail) (/*isCore*//*BOGUS*/True, \
52 (VG_(assert_fail) (/*isCore*/True, #expr, \
59 (VG_(assert_fail) (/*isCore*/True, #expr, \
65 extern void VG_(core_panic) ( const HChar* str );
67 extern void VG_(core_panic_at) ( const HChar* str, const UnwindStartRegs* );
70 extern void VG_(client_exit)( Int status );
74 extern void VG_(exit_now)( Int status );
78 extern void VG_(unimplemented) ( const HChar* msg )
91 extern void VG_(show_sched_status) ( Bool host_stacktrace,
pub_core_stacks.h 34 #include "pub_core_basics.h" // VG_ macro
47 Note: for compatibility reasons, VG_(register_stack) accepts
50 extern UWord VG_(register_stack) ( Addr start, Addr end );
51 extern void VG_(deregister_stack) ( UWord id );
52 extern void VG_(change_stack) ( UWord id, Addr start, Addr end );
53 extern void VG_(stack_limits) ( Addr SP, Addr *start, Addr *end );
56 void VG_(unknown_SP_update_w_ECU)
59 void VG_(unknown_SP_update) ( Addr old_SP, Addr new_SP );
m_errormgr.c 44 #include "pub_core_libcproc.h" // For VG_(getpid)()
50 #include "pub_core_translate.h" // for VG_(translate)()
51 #include "pub_core_xarray.h" // VG_(xaprintf) et al
125 When errors are found and recorded with VG_(maybe_record_error)(), all
149 ExeContext* VG_(get_error_where) ( const Error* err )
154 ErrorKind VG_(get_error_kind) ( const Error* err )
159 Addr VG_(get_error_address) ( const Error* err )
164 const HChar* VG_(get_error_string) ( const Error* err )
169 void* VG_(get_error_extra) ( const Error* err )
174 UInt VG_(get_n_errs_found)( void
    [all...]
  /external/valgrind/none/
nl_main.c 55 VG_(details_name) ("Nulgrind");
56 VG_(details_version) (NULL);
57 VG_(details_description) ("the minimal Valgrind tool");
58 VG_(details_copyright_author)(
60 VG_(details_bug_reports_to) (VG_BUGS_TO);
62 VG_(details_avg_translation_sizeB) ( 275 );
64 VG_(basic_tool_funcs) (nl_post_clo_init,
  /external/valgrind/coregrind/m_dispatch/
dispatch-ppc64le-linux.S 67 /*--- The dispatch loop. VG_(disp_run_translations) is ---*/
78 void VG_(disp_run_translations)( UWord* two_words,
85 .globl VG_(disp_run_translations)
87 .type VG_(disp_run_translations),@function
88 VG_(disp_run_translations):
89 .type .VG_(disp_run_translations),@function
93 VG_(disp_run_translations):
94 .quad .VG_(disp_run_translations),.TOC.@tocbase,0
96 .type .VG_(disp_run_translations),@function
98 .globl .VG_(disp_run_translations
    [all...]
  /external/valgrind/coregrind/m_scheduler/
scheduler.c 50 VG_(scheduler) therefore runs in each thread. It returns only when
70 #include "pub_core_errormgr.h" // For VG_(get_n_errs_found)()
71 #include "pub_core_gdbserver.h" // for VG_(gdbserver)/VG_(gdbserver_activity)
87 #include "pub_core_stacktrace.h" // For VG_(get_and_pp_StackTrace)()
91 #include "pub_core_translate.h" // For VG_(translate)()
93 #include "pub_core_debuginfo.h" // VG_(di_notify_pdb_debuginfo)
112 Bool VG_(in_generated_code) = False;
119 poll for gdbserver activity. VG_(force_vgdb_poll) and
120 VG_(disable_vgdb_poll) allows the valgrind core (e.g. m_gdbserver
    [all...]
  /external/valgrind/coregrind/m_ume/
main.c 37 #include "pub_core_libcassert.h" // VG_(exit), vg_assert
38 #include "pub_core_libcfile.h" // VG_(close) et al
39 #include "pub_core_libcprint.h" // VG_(message)
40 #include "pub_core_mallocfree.h" // VG_(strdup)
41 #include "pub_core_syscall.h" // VG_(mk_SysRes_Error)
42 #include "pub_core_options.h" // VG_(clo_xml)
55 { VG_(match_ELF), VG_(load_ELF) },
57 { VG_(match_macho), VG_(load_macho) }
    [all...]

Completed in 150 milliseconds

12 3 4 5 6 7 8 91011>>