Home
last modified time | relevance | path

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

1234

/external/valgrind/main/coregrind/
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_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
132 SysRes VG_(mk_SysRes_mips32_linux) ( UWord v0, UWord v1, UWord a3 ) { in VG_() function
141 SysRes VG_(mk_SysRes_Error) ( UWord err ) { in VG_() function
149 SysRes VG_(mk_SysRes_Success) ( UWord res ) { in VG_() function
161 SysRes VG_(mk_SysRes_x86_darwin) ( UChar scclass, Bool isErr, 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 ThreadState *VG_(get_ThreadState)(ThreadId tid) in VG_() function
88 Bool VG_(is_valid_tid) ( ThreadId tid ) in VG_() function
98 ThreadId VG_(get_running_tid)(void) in VG_() function
103 Bool VG_(is_running_thread)(ThreadId tid) in VG_() function
114 inline Bool VG_(is_exiting)(ThreadId tid) in VG_() function
121 Int VG_(count_living_threads)(void) in VG_() function
135 Int VG_(count_runnable_threads)(void) in VG_() function
149 ThreadId VG_(lwpid_to_vgtid)(Int lwp) in VG_() function
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 Char* pathname, Int mode, UWord dev ) in VG_() function
118 SysRes VG_(open) ( const Char* pathname, Int flags, Int mode ) in VG_() function
132 Int VG_(fd_open) (const Char* pathname, Int flags, Int mode) in VG_() function
142 void VG_(close) ( Int fd ) in VG_() function
154 Int VG_(read) ( Int fd, void* buf, Int count) in VG_() function
174 Int VG_(write) ( Int fd, const void* buf, Int count) in VG_() function
195 Int VG_(pipe) ( Int fd[2] ) in VG_() function
223 Off64T VG_(lseek) ( Int fd, Off64T offset, Int whence ) in VG_() function
[all …]
Dm_libcproc.c79 Char *VG_(getenv)(Char *varname) in VG_() function
93 void VG_(env_unsetenv) ( Char **env, const Char *varname ) in VG_() function
111 Char **VG_(env_setenv) ( Char ***envp, const Char* varname, const Char *val ) in VG_() function
222 void VG_(env_remove_valgrind_env_stuff)(Char** envp) in VG_() function
283 Int VG_(waitpid)(Int pid, Int *status, Int options) in VG_() function
299 Char **VG_(env_clone) ( Char **oldenv ) in VG_() function
326 void VG_(execv) ( Char* filename, Char** argv ) in VG_() function
345 Int VG_(system) ( Char* cmd ) in VG_() function
398 Int VG_(getrlimit) (Int resource, struct vki_rlimit *rlim) in VG_() function
412 Int VG_(setrlimit) (Int resource, const struct vki_rlimit *rlim) in VG_() function
[all …]
Dm_tooliface.c41 void VG_(basic_tool_funcs)( in VG_() function
101 Bool VG_(sanity_check_needs)(Char** failmsg) in VG_() function
226 void VG_(needs_tool_errors)( in VG_() function
252 void VG_(needs_command_line_options)( in VG_() function
264 void VG_(needs_client_requests)( in VG_() function
272 void VG_(needs_syscall_wrapper)( in VG_() function
282 void VG_(needs_sanity_checks)( in VG_() function
292 void VG_(needs_malloc_replacement)( in VG_() function
320 void VG_(needs_xml_output)( void ) in VG_() function
325 void VG_(needs_final_IR_tidy_pass)( in VG_() function
Dm_libcbase.c38 Bool VG_(isspace) ( Char c ) in VG_() function
44 Bool VG_(isdigit) ( Char c ) in VG_() function
67 Long VG_(strtoll10) ( Char* str, Char** endptr ) in VG_() function
92 ULong VG_(strtoull10) ( Char* str, Char** endptr ) in VG_() function
117 Long VG_(strtoll16) ( Char* str, Char** endptr ) in VG_() function
150 ULong VG_(strtoull16) ( Char* str, Char** endptr ) in VG_() function
183 double VG_(strtod) ( Char* str, Char** endptr ) in VG_() function
216 Char VG_(tolower) ( Char c ) in VG_() function
229 SizeT VG_(strlen) ( const Char* str ) in VG_() function
236 Char* VG_(strcat) ( Char* dest, const Char* src ) in VG_() function
[all …]
Dm_xarray.c53 XArray* VG_(newXA) ( void*(*alloc_fn)(HChar*,SizeT), in VG_() function
82 XArray* VG_(cloneXA)( HChar* cc, XArray* xao ) in VG_() function
118 void VG_(deleteXA) ( XArray* xao ) in VG_() function
128 void VG_(setCmpFnXA) ( XArray* xao, Int (*compar)(void*,void*) ) in VG_() function
137 inline void* VG_(indexXA) ( XArray* xao, Word n ) in VG_() function
181 Word VG_(addToXA) ( XArray* xao, void* elem ) in VG_() function
198 Word VG_(addBytesToXA) ( XArray* xao, void* bytesV, Word nbytes ) in VG_() function
219 void VG_(sortXA) ( XArray* xao ) in VG_() function
228 Bool VG_(lookupXA_UNSAFE) ( XArray* xao, void* key, in VG_() function
267 Bool VG_(lookupXA) ( XArray* xao, void* key, in VG_() function
[all …]
Dm_vkiscnums.c49 Char* VG_(sysnum_string)(Word sysnum, SizeT n_buf, Char* buf) in VG_() function
55 Char* VG_(sysnum_string_extra)(Word sysnum, SizeT n_buf, Char* buf) in VG_() function
64 Char* VG_(sysnum_string)(Word sysnum, SizeT n_buf, Char* buf) in VG_() function
79 Char* VG_(sysnum_string_extra)(Word sysnum, SizeT n_buf, Char* buf) in VG_() function
Dm_machine.c48 Addr VG_(get_IP) ( ThreadId tid ) { in VG_() function
51 Addr VG_(get_SP) ( ThreadId tid ) { in VG_() function
54 Addr VG_(get_FP) ( ThreadId tid ) { in VG_() function
58 void VG_(set_IP) ( ThreadId tid, Addr ip ) { in VG_() function
61 void VG_(set_SP) ( ThreadId tid, Addr sp ) { in VG_() function
65 void VG_(get_UnwindStartRegs) ( /*OUT*/UnwindStartRegs* regs, in VG_() function
121 void VG_(set_syscall_return_shadows) ( ThreadId tid, in VG_() function
153 VG_(get_shadow_regs_area) ( ThreadId tid, in VG_() function
177 VG_(set_shadow_regs_area) ( ThreadId tid, in VG_() function
336 void VG_(apply_to_GP_regs)(void (*f)(ThreadId, HChar*, UWord)) in VG_() function
[all …]
Dm_libcprint.c139 UInt VG_(vprintf) ( const HChar *format, va_list vargs ) in VG_() function
144 UInt VG_(printf) ( const HChar *format, ... ) in VG_() function
154 UInt VG_(vprintf_xml) ( const HChar *format, va_list vargs ) in VG_() function
159 UInt VG_(printf_xml) ( const HChar *format, ... ) in VG_() function
182 UInt VG_(vsprintf) ( Char* buf, const HChar *format, va_list vargs ) in VG_() function
196 UInt VG_(sprintf) ( Char* buf, const HChar *format, ... ) in VG_() function
229 UInt VG_(vsnprintf) ( Char* buf, Int size, const HChar *format, va_list vargs ) in VG_() function
242 UInt VG_(snprintf) ( Char* buf, Int size, const HChar *format, ... ) in VG_() function
255 void VG_(vcbprintf)( void(*char_sink)(HChar, void* opaque), in VG_() function
270 void VG_(percentify)(ULong n, ULong m, UInt d, Int n_buf, char buf[]) in VG_() function
[all …]
Dm_wordfm.c579 WordFM* VG_(newFM) ( void* (*alloc_nofail)( 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, 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_hashtable.c67 VgHashTable VG_(HT_construct) ( 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_execontext.c149 void VG_(print_ExeContext_stats) ( void ) in VG_() function
171 void VG_(pp_ExeContext) ( ExeContext* ec ) in VG_() function
178 Bool VG_(eq_ExeContext) ( VgRes res, ExeContext* e1, ExeContext* e2 ) in VG_() function
426 ExeContext* VG_(record_ExeContext)( ThreadId tid, Word first_ip_delta ) { in VG_() function
431 ExeContext* VG_(record_depth_1_ExeContext)( ThreadId tid, Word first_ip_delta ) in VG_() function
437 ExeContext* VG_(make_depth_1_ExeContext_from_Addr)( Addr a ) { in VG_() function
442 StackTrace VG_(get_ExeContext_StackTrace) ( ExeContext* e ) { in VG_() function
446 UInt VG_(get_ECU_from_ExeContext)( ExeContext* e ) { in VG_() function
451 Int VG_(get_ExeContext_n_ips)( ExeContext* e ) { in VG_() function
456 ExeContext* VG_(get_ExeContext_from_ECU)( UInt ecu ) 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.c187 void VG_(exit)( Int status ) in VG_() function
204 void VG_(show_sched_status) ( void ) in VG_() function
270 void VG_(assert_fail) ( Bool isCore, const Char* expr, const Char* file, in VG_() function
322 void VG_(core_panic_at) ( Char* str, UnwindStartRegs* startRegs ) in VG_() function
327 void VG_(core_panic) ( Char* str ) in VG_() function
332 void VG_(tool_panic) ( Char* str ) in VG_() function
338 void VG_(unimplemented) ( Char* msg ) in VG_() function
Dm_stacks.c178 UWord VG_(register_stack)(Addr start, Addr end) in VG_() function
209 void VG_(deregister_stack)(UWord id) in VG_() function
240 void VG_(change_stack)(UWord id, Addr start, Addr end) in VG_() function
261 void VG_(stack_limits)(Addr SP, Addr *start, Addr *end ) in VG_() function
276 void VG_(unknown_SP_update)( Addr old_SP, Addr new_SP, UInt ecu ) in VG_() function
Dm_errormgr.c147 ExeContext* VG_(get_error_where) ( Error* err ) in VG_() function
152 ErrorKind VG_(get_error_kind) ( Error* err ) in VG_() function
157 Addr VG_(get_error_address) ( Error* err ) in VG_() function
162 Char* VG_(get_error_string) ( Error* err ) in VG_() function
167 void* VG_(get_error_extra) ( Error* err ) in VG_() function
172 UInt VG_(get_n_errs_found)( void ) in VG_() function
177 UInt VG_(get_n_errs_shown)( void ) in VG_() function
241 SuppKind VG_(get_supp_kind) ( Supp* su ) in VG_() function
246 Char* VG_(get_supp_string) ( Supp* su ) in VG_() function
251 void* VG_(get_supp_extra) ( Supp* su ) in VG_() function
[all …]
/external/valgrind/main/drd/tests/
Dunit_vc.c13 void* VG_(malloc)(HChar* cc, SizeT nbytes) in VG_() function
15 void* VG_(realloc)(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 Char* assertion, const Char* 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)(Char* buf, Int size, const HChar *format, ...) in VG_() function
45 SizeT VG_(strlen)(const Char* str) { return strlen(str); } in VG_() function
[all …]
Dunit_bitmap.c27 void* VG_(malloc)(HChar* cc, SizeT nbytes) in VG_() function
29 void VG_(free)(void* p) in VG_() function
31 void VG_(assert_fail)(Bool isCore, const Char* assertion, const Char* 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.c54 Bool VG_(replacement_malloc_process_cmd_line_option)(Char* arg) in VG_() function
78 void* VG_(cli_malloc) ( SizeT align, SizeT nbytes ) in VG_() function
90 void VG_(cli_free) ( void* p ) in VG_() function
95 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.c230 char* VG_(ppPointKind) (PointKind kind) in VG_() function
325 void VG_(needs_watchpoint) (Bool (*watchpoint) (PointKind kind, in VG_() function
333 Bool VG_(gdbserver_point) (PointKind kind, Bool insert, in VG_() function
393 Bool VG_(is_watched)(PointKind kind, Addr addr, Int szB) in VG_() function
472 static VgVgdb VG_(gdbserver_instrumentation_needed) (VexGuestExtents* vge) in VG_() function
574 void VG_(gdbserver_prerun_action) (ThreadId tid) in VG_() function
744 void VG_(gdbserver) ( ThreadId tid ) in VG_() function
814 void VG_(invoke_gdbserver) ( int check ) in VG_() function
881 Bool VG_(gdbserver_activity) (ThreadId tid) in VG_() function
897 Bool VG_(gdbserver_report_signal) (Int vki_sigNo, ThreadId tid) in VG_() function
[all …]
/external/valgrind/main/coregrind/m_aspacemgr/
Daspacemgr-linux.c573 void VG_(am_show_nsegments) ( Int logLevel, HChar* who ) in VG_() function
596 HChar* VG_(am_get_filename)( NSegment const * seg ) in VG_() function
621 Int VG_(am_get_segment_starts)( Addr* starts, Int nStarts ) in VG_() function
1070 Bool VG_(am_do_sync_check) ( const HChar* fn, in VG_() function
1197 NSegment const * VG_(am_find_nsegment) ( Addr a ) in VG_() function
1228 NSegment const * VG_(am_next_nsegment) ( NSegment* here, Bool fwds ) in VG_() function
1256 ULong VG_(am_get_anonsize_total)( void ) in VG_() function
1323 Bool VG_(am_is_valid_for_client)( Addr start, SizeT len, in VG_() function
1333 Bool VG_(am_is_valid_for_client_or_free_or_resvn) in VG_() function
1596 Addr VG_(am_startup) ( Addr sp_at_startup ) in VG_() function
[all …]
/external/valgrind/main/coregrind/m_debuginfo/
Ddebuginfo.c570 void VG_(di_initialise) ( void ) in VG_() function
692 ULong VG_(di_notify_mmap)( Addr a, Bool allow_SkFileV, Int use_fd ) in VG_() function
926 void VG_(di_notify_munmap)( Addr a, SizeT len ) in VG_() function
940 void VG_(di_notify_mprotect)( Addr a, SizeT len, UInt prot ) in VG_() function
956 void VG_(di_notify_vm_protect)( Addr a, SizeT len, UInt prot ) in VG_() function
1033 void VG_(di_notify_pdb_debuginfo)( Int fd_obj, Addr avma_obj, in VG_() function
1269 void VG_(di_discard_ALL_debuginfo)( void ) in VG_() function
1466 Addr VG_(get_tocptr) ( Addr guest_code_addr ) in VG_() function
1482 Bool VG_(get_fnname) ( Addr a, Char* buf, Int nbuf ) in VG_() function
1495 Bool VG_(get_fnname_w_offset) ( Addr a, Char* buf, Int nbuf ) in VG_() function
[all …]

1234