Home
last modified time | relevance | path

Searched defs:VG_ (Results 1 – 25 of 90) sorted by relevance

1234

/external/valgrind/main/coregrind/
Dm_syscall.c63 SysRes VG_(mk_SysRes_x86_linux) ( Int val ) { in VG_() function
76 SysRes VG_(mk_SysRes_amd64_linux) ( Long val ) { in VG_() function
90 SysRes VG_(mk_SysRes_ppc32_linux) ( UInt val, UInt cr0so ) { in VG_() function
99 SysRes VG_(mk_SysRes_ppc64_linux) ( ULong val, ULong cr0so ) { in VG_() function
107 SysRes VG_(mk_SysRes_s390x_linux) ( Long val ) { in VG_() function
119 SysRes VG_(mk_SysRes_arm_linux) ( Int val ) { in VG_() function
131 SysRes VG_(mk_SysRes_arm64_linux) ( Long val ) { in VG_() function
144 SysRes VG_(mk_SysRes_mips32_linux) ( UWord v0, UWord v1, UWord a3 ) { in VG_() function
153 SysRes VG_(mk_SysRes_mips64_linux) ( ULong v0, ULong v1, ULong a3 ) { in VG_() function
162 SysRes VG_(mk_SysRes_Error) ( UWord err ) { in VG_() function
[all …]
Dm_libcsignal.c52 Int VG_(sigfillset)( vki_sigset_t* set ) in VG_() function
62 Int VG_(sigemptyset)( vki_sigset_t* set ) in VG_() function
72 Bool VG_(isemptysigset)( const vki_sigset_t* set ) in VG_() function
81 Bool VG_(isfullsigset)( const vki_sigset_t* set ) in VG_() function
90 Bool VG_(iseqsigset)( const vki_sigset_t* set1, const vki_sigset_t* set2 ) in VG_() function
100 Int VG_(sigaddset)( vki_sigset_t* set, Int signum ) in VG_() function
111 Int VG_(sigdelset)( vki_sigset_t* set, Int signum ) in VG_() function
122 Int VG_(sigismember) ( const vki_sigset_t* set, Int signum ) in VG_() function
136 void VG_(sigaddset_from_set)( vki_sigset_t* dst, vki_sigset_t* src ) in VG_() function
145 void VG_(sigdelset_from_set)( vki_sigset_t* dst, vki_sigset_t* src ) in VG_() function
[all …]
Dm_threadstate.c53 void VG_(init_Threads)(void) in VG_() function
68 const HChar* VG_(name_of_ThreadStatus) ( ThreadStatus status ) in VG_() function
81 const HChar* VG_(name_of_VgSchedReturnCode) ( VgSchedReturnCode retcode ) in VG_() function
92 ThreadState *VG_(get_ThreadState)(ThreadId tid) in VG_() function
99 Bool VG_(is_valid_tid) ( ThreadId tid ) in VG_() function
109 ThreadId VG_(get_running_tid)(void) in VG_() function
114 Bool VG_(is_running_thread)(ThreadId tid) in VG_() function
125 inline Bool VG_(is_exiting)(ThreadId tid) in VG_() function
132 Int VG_(count_living_threads)(void) in VG_() function
146 Int VG_(count_runnable_threads)(void) in VG_() function
[all …]
Dm_libcfile.c60 Int VG_(safe_fd)(Int oldfd) in VG_() function
80 Bool VG_(resolve_filename) ( Int fd, HChar* buf, Int n_buf ) in VG_() function
107 SysRes VG_(mknod) ( const HChar* pathname, Int mode, UWord dev ) in VG_() function
122 SysRes VG_(open) ( const HChar* pathname, Int flags, Int mode ) in VG_() function
140 Int VG_(fd_open) (const HChar* pathname, Int flags, Int mode) in VG_() function
150 void VG_(close) ( Int fd ) in VG_() function
162 Int VG_(read) ( Int fd, void* buf, Int count) in VG_() function
182 Int VG_(write) ( Int fd, const void* buf, Int count) in VG_() function
203 Int VG_(pipe) ( Int fd[2] ) in VG_() function
234 Off64T VG_(lseek) ( Int fd, Off64T offset, Int whence ) in VG_() function
[all …]
Dm_tooliface.c41 void VG_(basic_tool_funcs)( in VG_() function
104 Bool VG_(sanity_check_needs)(const HChar** failmsg) in VG_() function
229 void VG_(needs_tool_errors)( in VG_() function
259 void VG_(needs_command_line_options)( in VG_() function
271 void VG_(needs_client_requests)( in VG_() function
279 void VG_(needs_syscall_wrapper)( in VG_() function
289 void VG_(needs_sanity_checks)( in VG_() function
299 void VG_(needs_print_stats) ( in VG_() function
307 void VG_(needs_info_location) ( in VG_() function
315 void VG_(needs_malloc_replacement)( in VG_() function
[all …]
Dm_xarray.c53 XArray* VG_(newXA) ( void*(*alloc_fn)(const HChar*,SizeT), in VG_() function
82 XArray* VG_(cloneXA)( const HChar* cc, XArray* xao ) in VG_() function
118 void VG_(deleteXA) ( XArray* xao ) in VG_() function
128 void VG_(setCmpFnXA) ( XArray* xao, XACmpFn_t compar ) in VG_() function
137 inline void* VG_(indexXA) ( XArray* xao, Word n ) in VG_() function
181 Word VG_(addToXA) ( XArray* xao, const void* elem ) in VG_() function
198 Word VG_(addBytesToXA) ( XArray* xao, const void* bytesV, Word nbytes ) in VG_() function
219 void VG_(sortXA) ( XArray* xao ) in VG_() function
228 Bool VG_(lookupXA_UNSAFE) ( XArray* xao, const void* key, in VG_() function
267 Bool VG_(lookupXA) ( XArray* xao, const void* key, in VG_() function
[all …]
Dm_libcproc.c79 HChar *VG_(getenv)(const HChar *varname) in VG_() function
93 void VG_(env_unsetenv) ( HChar **env, const HChar *varname ) in VG_() function
111 HChar **VG_(env_setenv) ( HChar ***envp, const HChar* varname, in VG_() function
223 void VG_(env_remove_valgrind_env_stuff)(HChar** envp) in VG_() function
284 Int VG_(waitpid)(Int pid, Int *status, Int options) in VG_() function
300 HChar **VG_(env_clone) ( HChar **oldenv ) in VG_() function
327 void VG_(execv) ( const HChar* filename, HChar** argv ) in VG_() function
346 Int VG_(system) ( const HChar* cmd ) in VG_() function
399 Int VG_(getrlimit) (Int resource, struct vki_rlimit *rlim) in VG_() function
413 Int VG_(setrlimit) (Int resource, const struct vki_rlimit *rlim) in VG_() function
[all …]
Dm_libcbase.c38 Bool VG_(isspace) ( HChar c ) in VG_() function
44 Bool VG_(isdigit) ( HChar c ) in VG_() function
67 Long VG_(strtoll10) ( const HChar* str, HChar** endptr ) in VG_() function
92 ULong VG_(strtoull10) ( const HChar* str, HChar** endptr ) in VG_() function
117 Long VG_(strtoll16) ( const HChar* str, HChar** endptr ) in VG_() function
150 ULong VG_(strtoull16) ( const HChar* str, HChar** endptr ) in VG_() function
183 double VG_(strtod) ( const HChar* str, HChar** endptr ) in VG_() function
216 HChar VG_(tolower) ( HChar c ) in VG_() function
229 SizeT VG_(strlen) ( const HChar* str ) in VG_() function
236 HChar* VG_(strcat) ( HChar* dest, const HChar* src ) in VG_() function
[all …]
Dm_vkiscnums.c49 HChar* VG_(sysnum_string)(Word sysnum, SizeT n_buf, HChar* buf) in VG_() function
55 HChar* VG_(sysnum_string_extra)(Word sysnum, SizeT n_buf, HChar* buf) in VG_() function
64 HChar* VG_(sysnum_string)(Word sysnum, SizeT n_buf, HChar* buf) in VG_() function
79 HChar* VG_(sysnum_string_extra)(Word sysnum, SizeT n_buf, HChar* buf) in VG_() function
Dm_libcprint.c141 UInt VG_(vprintf) ( const HChar *format, va_list vargs ) in VG_() function
146 UInt VG_(printf) ( const HChar *format, ... ) in VG_() function
156 UInt VG_(vprintf_xml) ( const HChar *format, va_list vargs ) in VG_() function
161 UInt VG_(printf_xml) ( const HChar *format, ... ) in VG_() function
181 UInt VG_(emit) ( const HChar* format, ... ) in VG_() function
203 UInt VG_(vsprintf) ( HChar* buf, const HChar *format, va_list vargs ) in VG_() function
217 UInt VG_(sprintf) ( HChar* buf, const HChar *format, ... ) in VG_() function
250 UInt VG_(vsnprintf) ( HChar* buf, Int size, const HChar *format, va_list vargs ) in VG_() function
264 UInt VG_(snprintf) ( HChar* buf, Int size, const HChar *format, ... ) in VG_() function
277 void VG_(vcbprintf)( void(*char_sink)(HChar, void* opaque), in VG_() function
[all …]
Dm_wordfm.c579 WordFM* VG_(newFM) ( void* (*alloc_nofail)( const HChar*, SizeT ), in VG_() function
611 void VG_(deleteFM) ( WordFM* fm, void(*kFin)(UWord), void(*vFin)(UWord) ) in VG_() function
620 Bool VG_(addToFM) ( WordFM* fm, UWord k, UWord v ) in VG_() function
638 Bool VG_(delFromFM) ( WordFM* fm, in VG_() function
656 Bool VG_(lookupFM) ( WordFM* fm, in VG_() function
672 Bool VG_(findBoundsFM)( WordFM* fm, in VG_() function
689 UWord VG_(sizeFM) ( WordFM* fm ) in VG_() function
702 void VG_(initIterFM) ( WordFM* fm ) in VG_() function
714 void VG_(initIterAtFM) ( WordFM* fm, UWord start_at ) in VG_() function
764 Bool VG_(nextIterFM) ( WordFM* fm, /*OUT*/UWord* pKey, /*OUT*/UWord* pVal ) in VG_() function
[all …]
Dm_oset.c288 AvlTree* VG_(OSetGen_Create)(PtrdiffT _keyOff, OSetCmp_t _cmp, in VG_() function
317 AvlTree* VG_(OSetGen_Create_With_Pool)(PtrdiffT _keyOff, OSetCmp_t _cmp, in VG_() function
343 AvlTree* VG_(OSetGen_EmptyClone) (AvlTree* os) in VG_() function
366 AvlTree* VG_(OSetWord_Create)(OSetAlloc_t _alloc, const HChar* _cc, in VG_() function
373 void VG_(OSetGen_Destroy)(AvlTree* t) in VG_() function
422 void VG_(OSetWord_Destroy)(AvlTree* t) in VG_() function
428 void* VG_(OSetGen_AllocNode)(AvlTree* t, SizeT elemSize) in VG_() function
444 void VG_(OSetGen_FreeNode)(AvlTree* t, void* e) in VG_() function
540 void VG_(OSetGen_Insert)(AvlTree* t, void* e) in VG_() function
565 void VG_(OSetWord_Insert)(AvlTree* t, UWord val) in VG_() function
[all …]
Dm_execontext.c160 void VG_(print_ExeContext_stats) ( Bool with_stacktraces ) in VG_() function
199 void VG_(pp_ExeContext) ( ExeContext* ec ) in VG_() function
206 Bool VG_(eq_ExeContext) ( VgRes res, ExeContext* e1, ExeContext* e2 ) in VG_() function
453 ExeContext* VG_(record_ExeContext)( ThreadId tid, Word first_ip_delta ) { in VG_() function
458 ExeContext* VG_(record_depth_1_ExeContext)( ThreadId tid, Word first_ip_delta ) in VG_() function
464 ExeContext* VG_(make_depth_1_ExeContext_from_Addr)( Addr a ) { in VG_() function
469 StackTrace VG_(get_ExeContext_StackTrace) ( ExeContext* e ) { in VG_() function
473 UInt VG_(get_ECU_from_ExeContext)( ExeContext* e ) { in VG_() function
478 Int VG_(get_ExeContext_n_ips)( ExeContext* e ) { in VG_() function
483 ExeContext* VG_(get_ExeContext_from_ECU)( UInt ecu ) in VG_() function
[all …]
Dm_hashtable.c67 VgHashTable VG_(HT_construct) ( const HChar* name ) in VG_() function
83 Int VG_(HT_count_nodes) ( VgHashTable table ) in VG_() function
142 void VG_(HT_add_node) ( VgHashTable table, void* vnode ) in VG_() function
158 void* VG_(HT_lookup) ( VgHashTable table, UWord key ) in VG_() function
172 void* VG_(HT_remove) ( VgHashTable table, UWord key ) in VG_() function
197 VgHashNode** VG_(HT_to_array) ( VgHashTable table, /*OUT*/ UInt* n_elems ) in VG_() function
220 void VG_(HT_ResetIter)(VgHashTable table) in VG_() function
228 void* VG_(HT_Next)(VgHashTable table) in VG_() function
252 void VG_(HT_destruct)(VgHashTable table, void(*freenode_fn)(void*)) in VG_() function
Dm_machine.c49 Addr VG_(get_IP) ( ThreadId tid ) { in VG_() function
52 Addr VG_(get_SP) ( ThreadId tid ) { in VG_() function
55 Addr VG_(get_FP) ( ThreadId tid ) { in VG_() function
59 void VG_(set_IP) ( ThreadId tid, Addr ip ) { in VG_() function
62 void VG_(set_SP) ( ThreadId tid, Addr sp ) { in VG_() function
66 void VG_(get_UnwindStartRegs) ( /*OUT*/UnwindStartRegs* regs, in VG_() function
136 VG_(get_shadow_regs_area) ( ThreadId tid, in VG_() function
160 VG_(set_shadow_regs_area) ( ThreadId tid, in VG_() function
353 void VG_(apply_to_GP_regs)(void (*f)(ThreadId, const HChar*, UWord)) in VG_() function
367 void VG_(thread_stack_reset_iter)(/*OUT*/ThreadId* tid) in VG_() function
[all …]
Dm_poolalloc.c51 PoolAlloc* VG_(newPA) ( UWord elemSzB, in VG_() function
80 void VG_(deletePA) ( PoolAlloc* pa) in VG_() function
115 void* VG_(allocEltPA) ( PoolAlloc* pa) in VG_() function
127 void VG_(freeEltPA) ( PoolAlloc* pa, void* p) in VG_() function
135 void VG_(addRefPA) ( PoolAlloc* pa) in VG_() function
140 UWord VG_(releasePA)(PoolAlloc* pa) in VG_() function
Dm_libcassert.c274 void VG_(exit)( Int status ) in VG_() function
280 void VG_(client_exit)( Int status ) in VG_() function
353 void VG_(show_sched_status) ( Bool host_stacktrace, in VG_() function
387 void VG_(assert_fail) ( Bool isCore, const HChar* expr, const HChar* file, in VG_() function
445 void VG_(core_panic_at) ( const HChar* str, UnwindStartRegs* startRegs ) in VG_() function
450 void VG_(core_panic) ( const HChar* str ) in VG_() function
455 void VG_(tool_panic) ( const HChar* str ) in VG_() function
461 void VG_(unimplemented) ( const HChar* msg ) in VG_() function
Dm_addrinfo.c44 void VG_(describe_addr) ( Addr a, /*OUT*/AddrInfo* ai ) in VG_() function
147 void VG_(clear_addrinfo) ( AddrInfo* ai) in VG_() function
341 void VG_(pp_addrinfo) ( Addr a, AddrInfo* ai ) in VG_() function
346 void VG_(pp_addrinfo_mc) ( Addr a, AddrInfo* ai, Bool maybe_gcc ) in VG_() function
Dm_stacks.c181 UWord VG_(register_stack)(Addr start, Addr end) in VG_() function
212 void VG_(deregister_stack)(UWord id) in VG_() function
243 void VG_(change_stack)(UWord id, Addr start, Addr end) in VG_() function
264 void VG_(stack_limits)(Addr SP, Addr *start, Addr *end ) in VG_() function
355 void VG_(unknown_SP_update_w_ECU)( Addr old_SP, Addr new_SP, UInt ecu ) { in VG_() function
367 void VG_(unknown_SP_update)( Addr old_SP, Addr new_SP ) { in VG_() function
/external/valgrind/main/drd/tests/
Dunit_vc.c13 void* VG_(malloc)(const HChar* cc, SizeT nbytes) in VG_() function
15 void* VG_(realloc)(const HChar* cc, void* p, SizeT size) in VG_() function
17 void VG_(free)(void* p) in VG_() function
19 void VG_(assert_fail)(Bool isCore, const HChar* assertion, const HChar* file, in VG_() function
35 void* VG_(memset)(void *s, Int c, SizeT sz) in VG_() function
37 void* VG_(memcpy)(void *d, const void *s, SizeT sz) in VG_() function
39 Int VG_(memcmp)(const void* s1, const void* s2, SizeT n) in VG_() function
41 UInt VG_(printf)(const HChar *format, ...) in VG_() function
43 UInt VG_(snprintf)(HChar* buf, Int size, const HChar *format, ...) in VG_() function
45 SizeT VG_(strlen)(const HChar* str) { return strlen(str); } in VG_() function
[all …]
Dunit_bitmap.c27 void* VG_(malloc)(const HChar* cc, SizeT nbytes) in VG_() function
29 void VG_(free)(void* p) in VG_() function
31 void VG_(assert_fail)(Bool isCore, const HChar* assertion, const HChar* file, in VG_() function
47 void* VG_(memset)(void *s, Int c, SizeT sz) in VG_() function
49 void* VG_(memcpy)(void *d, const void *s, SizeT sz) in VG_() function
51 void* VG_(memmove)(void *d, const void *s, SizeT sz) in VG_() function
53 Int VG_(memcmp)(const void* s1, const void* s2, SizeT n) in VG_() function
55 UInt VG_(printf)(const HChar *format, ...) in VG_() function
57 UInt VG_(message)(VgMsgKind kind, const HChar* format, ...) in VG_() function
61 void VG_(vcbprintf)(void(*char_sink)(HChar, void* opaque), in VG_() function
[all …]
/external/valgrind/main/coregrind/m_replacemalloc/
Dreplacemalloc_core.c56 Bool VG_(replacement_malloc_process_cmd_line_option)(const HChar* arg) in VG_() function
76 SizeT VG_(malloc_effective_client_redzone_size)(void) in VG_() function
87 void* VG_(cli_malloc) ( SizeT align, SizeT nbytes ) in VG_() function
99 void VG_(cli_free) ( void* p ) in VG_() function
104 Bool VG_(addr_is_in_block)( Addr a, Addr start, SizeT size, SizeT rz_szB ) in VG_() function
/external/valgrind/main/coregrind/m_gdbserver/
Dm_gdbserver.c238 const HChar* VG_(ppPointKind) (PointKind kind) in VG_() function
333 void VG_(needs_watchpoint) (Bool (*watchpoint) (PointKind kind, in VG_() function
341 Bool VG_(gdbserver_point) (PointKind kind, Bool insert, in VG_() function
401 Bool VG_(has_gdbserver_breakpoint) (Addr addr) in VG_() function
410 Bool VG_(is_watched)(PointKind kind, Addr addr, Int szB) in VG_() function
489 static VgVgdb VG_(gdbserver_instrumentation_needed) (VexGuestExtents* vge) in VG_() function
591 Bool VG_(gdbserver_init_done) (void) in VG_() function
596 Bool VG_(gdbserver_stop_at) (VgdbStopAt stopat) in VG_() function
601 void VG_(gdbserver_prerun_action) (ThreadId tid) in VG_() function
780 void VG_(gdbserver) ( ThreadId tid ) in VG_() function
[all …]
/external/valgrind/main/coregrind/m_debuginfo/
Ddebuginfo.c572 void VG_(di_initialise) ( void ) in VG_() function
694 ULong VG_(di_notify_mmap)( Addr a, Bool allow_SkFileV, Int use_fd ) in VG_() function
939 void VG_(di_notify_munmap)( Addr a, SizeT len ) in VG_() function
953 void VG_(di_notify_mprotect)( Addr a, SizeT len, UInt prot ) in VG_() function
969 void VG_(di_notify_vm_protect)( Addr a, SizeT len, UInt prot ) in VG_() function
1046 void VG_(di_notify_pdb_debuginfo)( Int fd_obj, Addr avma_obj, in VG_() function
1282 void VG_(di_discard_ALL_debuginfo)( void ) in VG_() function
1479 Addr VG_(get_tocptr) ( Addr guest_code_addr ) in VG_() function
1495 Bool VG_(get_fnname) ( Addr a, HChar* buf, Int nbuf ) in VG_() function
1508 Bool VG_(get_fnname_w_offset) ( Addr a, HChar* buf, Int nbuf ) in VG_() function
[all …]
/external/valgrind/main/coregrind/m_aspacemgr/
Daspacemgr-linux.c600 void VG_(am_show_nsegments) ( Int logLevel, const HChar* who ) in VG_() function
623 HChar* VG_(am_get_filename)( NSegment const * seg ) in VG_() function
648 Int VG_(am_get_segment_starts)( Addr* starts, Int nStarts ) in VG_() function
1097 Bool VG_(am_do_sync_check) ( const HChar* fn, in VG_() function
1224 NSegment const * VG_(am_find_nsegment) ( Addr a ) in VG_() function
1255 NSegment const * VG_(am_next_nsegment) ( const NSegment* here, Bool fwds ) in VG_() function
1283 ULong VG_(am_get_anonsize_total)( void ) in VG_() function
1364 Bool VG_(am_is_valid_for_client)( Addr start, SizeT len, in VG_() function
1375 Bool VG_(am_is_valid_for_client_or_free_or_resvn) in VG_() function
1383 Bool VG_(am_is_valid_for_valgrind) ( Addr start, SizeT len, UInt prot ) in VG_() function
[all …]

1234