/external/valgrind/main/coregrind/ |
D | m_libcsignal.c | 52 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 …]
|
D | m_syscall.c | 63 SysRes VG_(mk_SysRes_x86_linux) ( Int val ) { in VG_() function 75 SysRes VG_(mk_SysRes_amd64_linux) ( Long val ) { in VG_() function 88 SysRes VG_(mk_SysRes_ppc32_linux) ( UInt val, UInt cr0so ) { in VG_() function 96 SysRes VG_(mk_SysRes_ppc64_linux) ( ULong val, ULong cr0so ) { in VG_() function 103 SysRes VG_(mk_SysRes_s390x_linux) ( Long val ) { in VG_() function 114 SysRes VG_(mk_SysRes_arm_linux) ( Int val ) { in VG_() function 126 SysRes VG_(mk_SysRes_Error) ( UWord err ) { in VG_() function 133 SysRes VG_(mk_SysRes_Success) ( UWord res ) { in VG_() function 144 SysRes VG_(mk_SysRes_x86_darwin) ( UChar scclass, Bool isErr, in VG_() function 177 SysRes VG_(mk_SysRes_amd64_darwin) ( UChar scclass, Bool isErr, in VG_() function [all …]
|
D | m_libcfile.c | 60 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 213 Off64T VG_(lseek) ( Int fd, Off64T offset, Int whence ) in VG_() function [all …]
|
D | m_threadstate.c | 49 const HChar* VG_(name_of_ThreadStatus) ( ThreadStatus status ) in VG_() function 62 ThreadState *VG_(get_ThreadState)(ThreadId tid) in VG_() function 69 Bool VG_(is_valid_tid) ( ThreadId tid ) in VG_() function 79 ThreadId VG_(get_running_tid)(void) in VG_() function 84 Bool VG_(is_running_thread)(ThreadId tid) in VG_() function 95 inline Bool VG_(is_exiting)(ThreadId tid) in VG_() function 102 Int VG_(count_living_threads)(void) in VG_() function 116 Int VG_(count_runnable_threads)(void) in VG_() function 130 ThreadId VG_(lwpid_to_vgtid)(Int lwp) in VG_() function
|
D | m_libcproc.c | 81 Char *VG_(getenv)(Char *varname) in VG_() function 95 void VG_(env_unsetenv) ( Char **env, const Char *varname ) in VG_() function 113 Char **VG_(env_setenv) ( Char ***envp, const Char* varname, const Char *val ) in VG_() function 224 void VG_(env_remove_valgrind_env_stuff)(Char** envp) in VG_() function 279 Int VG_(waitpid)(Int pid, Int *status, Int options) in VG_() function 295 Char **VG_(env_clone) ( Char **oldenv ) in VG_() function 322 void VG_(execv) ( Char* filename, Char** argv ) in VG_() function 341 Int VG_(system) ( Char* cmd ) in VG_() function 394 Int VG_(getrlimit) (Int resource, struct vki_rlimit *rlim) in VG_() function 408 Int VG_(setrlimit) (Int resource, const struct vki_rlimit *rlim) in VG_() function [all …]
|
D | m_libcbase.c | 38 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 …]
|
D | m_tooliface.c | 41 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
|
D | m_xarray.c | 53 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 …]
|
D | m_vkiscnums.c | 49 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
|
D | m_machine.c | 48 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 112 void VG_(set_syscall_return_shadows) ( ThreadId tid, in VG_() function 141 VG_(get_shadow_regs_area) ( ThreadId tid, in VG_() function 165 VG_(set_shadow_regs_area) ( ThreadId tid, in VG_() function 290 void VG_(apply_to_GP_regs)(void (*f)(UWord)) in VG_() function [all …]
|
D | m_libcprint.c | 139 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 …]
|
D | m_wordfm.c | 579 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 …]
|
D | m_oset.c | 285 AvlTree* VG_(OSetGen_Create)(PtrdiffT _keyOff, OSetCmp_t _cmp, in VG_() function 312 AvlTree* VG_(OSetWord_Create)(OSetAlloc_t _alloc, HChar* _cc, in VG_() function 319 void VG_(OSetGen_Destroy)(AvlTree* t) in VG_() function 354 void VG_(OSetWord_Destroy)(AvlTree* t) in VG_() function 360 void* VG_(OSetGen_AllocNode)(AvlTree* t, SizeT elemSize) in VG_() function 370 void VG_(OSetGen_FreeNode)(AvlTree* t, void* e) in VG_() function 463 void VG_(OSetGen_Insert)(AvlTree* t, void* e) in VG_() function 488 void VG_(OSetWord_Insert)(AvlTree* t, UWord val) in VG_() function 532 void* VG_(OSetGen_Lookup)(const AvlTree* t, const void* k) in VG_() function 542 void* VG_(OSetGen_LookupWithCmp)(AvlTree* t, const void* k, OSetCmp_t cmp) in VG_() function [all …]
|
D | m_hashtable.c | 67 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) in VG_() function
|
D | m_execontext.c | 149 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 429 ExeContext* VG_(record_ExeContext)( ThreadId tid, Word first_ip_delta ) { in VG_() function 434 ExeContext* VG_(record_depth_1_ExeContext)( ThreadId tid ) { in VG_() function 439 ExeContext* VG_(make_depth_1_ExeContext_from_Addr)( Addr a ) { in VG_() function 444 StackTrace VG_(get_ExeContext_StackTrace) ( ExeContext* e ) { in VG_() function 448 UInt VG_(get_ECU_from_ExeContext)( ExeContext* e ) { in VG_() function 453 Int VG_(get_ExeContext_n_ips)( ExeContext* e ) { in VG_() function 458 ExeContext* VG_(get_ExeContext_from_ECU)( UInt ecu ) in VG_() function [all …]
|
D | m_libcassert.c | 162 void VG_(exit)( Int status ) in VG_() function 179 void VG_(show_sched_status) ( void ) in VG_() function 245 void VG_(assert_fail) ( Bool isCore, const Char* expr, const Char* file, in VG_() function 297 void VG_(core_panic_at) ( Char* str, UnwindStartRegs* startRegs ) in VG_() function 302 void VG_(core_panic) ( Char* str ) in VG_() function 307 void VG_(tool_panic) ( Char* str ) in VG_() function 313 void VG_(unimplemented) ( Char* msg ) in VG_() function
|
D | m_stacktrace.c | 69 UInt VG_(get_StackTrace_wrk) ( ThreadId tid_if_known, in VG_() function 225 UInt VG_(get_StackTrace_wrk) ( ThreadId tid_if_known, in VG_() function 399 UInt VG_(get_StackTrace_wrk) ( ThreadId tid_if_known, in VG_() function 586 UInt VG_(get_StackTrace_wrk) ( ThreadId tid_if_known, in VG_() function 680 UInt VG_(get_StackTrace_wrk) ( ThreadId tid_if_known, in VG_() function 767 UInt VG_(get_StackTrace) ( ThreadId tid, in VG_() function 844 void VG_(pp_StackTrace) ( StackTrace ips, UInt n_ips ) in VG_() function 858 void VG_(get_and_pp_StackTrace) ( ThreadId tid, UInt max_n_ips ) in VG_() function 869 void VG_(apply_StackTrace)( in VG_() function
|
D | m_stacks.c | 178 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
|
D | m_errormgr.c | 144 ExeContext* VG_(get_error_where) ( Error* err ) in VG_() function 149 ErrorKind VG_(get_error_kind) ( Error* err ) in VG_() function 154 Addr VG_(get_error_address) ( Error* err ) in VG_() function 159 Char* VG_(get_error_string) ( Error* err ) in VG_() function 164 void* VG_(get_error_extra) ( Error* err ) in VG_() function 169 UInt VG_(get_n_errs_found)( void ) in VG_() function 231 SuppKind VG_(get_supp_kind) ( Supp* su ) in VG_() function 236 Char* VG_(get_supp_string) ( Supp* su ) in VG_() function 241 void* VG_(get_supp_extra) ( Supp* su ) in VG_() function 247 void VG_(set_supp_kind) ( Supp* su, SuppKind skind ) in VG_() function [all …]
|
/external/valgrind/main/drd/tests/ |
D | unit_vc.c | 13 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 …]
|
/external/valgrind/main/coregrind/m_replacemalloc/ |
D | replacemalloc_core.c | 54 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/ |
D | m_gdbserver.c | 222 char* VG_(ppPointKind) (PointKind kind) in VG_() function 286 void VG_(needs_watchpoint) (Bool (*watchpoint) (PointKind kind, in VG_() function 294 Bool VG_(gdbserver_point) (PointKind kind, Bool insert, in VG_() function 343 Bool VG_(is_watched)(PointKind kind, Addr addr, Int szB) in VG_() function 417 static VgVgdb VG_(gdbserver_instrumentation_needed) (VexGuestExtents* vge) in VG_() function 516 void VG_(gdbserver_prerun_action) (ThreadId tid) in VG_() function 685 void VG_(gdbserver) ( ThreadId tid ) in VG_() function 755 void VG_(invoke_gdbserver) ( int check ) in VG_() function 822 Bool VG_(gdbserver_activity) (ThreadId tid) in VG_() function 838 Bool VG_(gdbserver_report_signal) (Int sigNo, ThreadId tid) in VG_() function [all …]
|
/external/valgrind/main/coregrind/m_aspacemgr/ |
D | aspacemgr-linux.c | 587 void VG_(am_show_nsegments) ( Int logLevel, HChar* who ) in VG_() function 610 HChar* VG_(am_get_filename)( NSegment const * seg ) in VG_() function 635 Int VG_(am_get_segment_starts)( Addr* starts, Int nStarts ) in VG_() function 1084 Bool VG_(am_do_sync_check) ( const HChar* fn, in VG_() function 1211 NSegment const * VG_(am_find_nsegment) ( Addr a ) in VG_() function 1242 NSegment const * VG_(am_next_nsegment) ( NSegment* here, Bool fwds ) in VG_() function 1270 ULong VG_(am_get_anonsize_total)( void ) in VG_() function 1337 Bool VG_(am_is_valid_for_client)( Addr start, SizeT len, in VG_() function 1347 Bool VG_(am_is_valid_for_client_or_free_or_resvn) in VG_() function 1610 Addr VG_(am_startup) ( Addr sp_at_startup ) in VG_() function [all …]
|
/external/valgrind/main/coregrind/m_debuginfo/ |
D | debuginfo.c | 552 void VG_(di_initialise) ( void ) in VG_() function 674 ULong VG_(di_notify_mmap)( Addr a, Bool allow_SkFileV, Int use_fd ) in VG_() function 932 void VG_(di_notify_munmap)( Addr a, SizeT len ) in VG_() function 946 void VG_(di_notify_mprotect)( Addr a, SizeT len, UInt prot ) in VG_() function 962 void VG_(di_notify_vm_protect)( Addr a, SizeT len, UInt prot ) in VG_() function 1028 void VG_(di_notify_pdb_debuginfo)( Int fd_obj, Addr avma_obj, in VG_() function 1265 void VG_(di_discard_ALL_debuginfo)( void ) in VG_() function 1439 Addr VG_(get_tocptr) ( Addr guest_code_addr ) in VG_() function 1455 Bool VG_(get_fnname) ( Addr a, Char* buf, Int nbuf ) in VG_() function 1468 Bool VG_(get_fnname_w_offset) ( Addr a, Char* buf, Int nbuf ) in VG_() function [all …]
|
/external/valgrind/main/include/ |
D | pub_tool_basics_asm.h | 52 # define VG_(str) VGAPPEND( vgPlain_, str) macro 55 # define VG_(str) VGAPPEND(_vgPlain_, str) macro
|