/external/valgrind/main/include/ |
pub_tool_basics_asm.h | 44 // VG_/ML_ in both asm and C files. 53 # define ML_(str) VGAPPEND( vgModuleLocal_, str) 56 # define ML_(str) VGAPPEND(_vgModuleLocal_, str)
|
/external/valgrind/main/coregrind/m_debuginfo/ |
priv_storage.h | 276 extern Int ML_(CfiExpr_Undef) ( XArray* dst ); 277 extern Int ML_(CfiExpr_Deref) ( XArray* dst, Int ixAddr ); 278 extern Int ML_(CfiExpr_Const) ( XArray* dst, UWord con ); 279 extern Int ML_(CfiExpr_Binop) ( XArray* dst, CfiOp op, Int ixL, Int ixR ); 280 extern Int ML_(CfiExpr_CfiReg)( XArray* dst, CfiReg reg ); 281 extern Int ML_(CfiExpr_DwReg) ( XArray* dst, Int reg ); 283 extern void ML_(ppCfiExpr)( XArray* src, Int ix ); 331 ML_(cmp_for_DiAddrRange_range) ( const void* keyV, const void* elemV ); 447 (3) is ensured by ML_(addDiCfSI). 671 off it -- by calling ML_(TyEnt__make_EMPTY) on each entry. * [all...] |
priv_readdwarf3.h | 43 ML_(new_dwarf3_reader) (
|
readstabs.c | 100 void ML_(read_debuginfo_stabs) ( DebugInfo* di, 141 file.name = ML_(addStr)(di,"???", -1); 199 n = ML_(dinfo_zalloc)("di.readstabs.rds.1", qbuflen); 203 ML_(dinfo_free)(qbuf); 229 string = ML_(addStr)(di, qbuf, qidx); 230 ML_(dinfo_free)(qbuf); 276 ML_(addLineInfo)(di, file.name, NULL, line.addr, 287 file.name = ML_(addStr)(di, nm, -1); 291 file.name = ML_(addStr)(di, "?1\0", -1); 301 ML_(addLineInfo)(di, file.name, NULL, line.addr [all...] |
tytypes.c | 44 #include "priv_d3basics.h" /* ML_(evaluate_Dwarf3_Expr) et al */ 51 Bool ML_(TyEnt__is_type)( TyEnt* te ) 82 void ML_(pp_TyEnt)( TyEnt* te ) 190 void ML_(pp_TyEnts)( XArray* tyents, HChar* who ) 198 ML_(pp_TyEnt)( tyent ); 208 TyEnt* ent = ML_(TyEnts__index_by_cuOff)( tyents, NULL, cuOff ); 224 ML_(pp_TyEnt)( ent ); 227 void ML_(pp_TyEnt_C_ishly)( XArray* /* of TyEnt */ tyents, 230 TyEnt* ent = ML_(TyEnts__index_by_cuOff)( tyents, NULL, cuOff ); 241 ML_(pp_TyEnt_C_ishly)(tyents, ent->Te.TyPorR.typeR) [all...] |
storage.c | 50 #include "priv_d3basics.h" /* ML_(pp_GX) */ 62 void ML_(symerr) ( struct _DebugInfo* di, Bool serious, HChar* msg ) 91 void ML_(ppSym) ( Int idx, DiSym* sym ) 101 void ML_(ppDiCfSI) ( XArray* /* of CfiExpr */ exprs, DiCfSI* si ) 119 ML_(ppCfiExpr)(exprs, _off); \ 149 ML_(ppCfiExpr)(exprs, si->cfa_off); 196 UChar* ML_(addStr) ( struct _DebugInfo* di, UChar* str, Int len ) 214 chunk = ML_(dinfo_zalloc)("di.storage.addStr.1", sizeof(*chunk)); 232 void ML_(addSym) ( struct _DebugInfo* di, DiSym* sym ) 243 new_tab = ML_(dinfo_zalloc)( "di.storage.addSym.1", [all...] |
readmacho.c | 106 Bool ML_(is_macho_object_file)( const void* buf, SizeT szB ) 170 ML_(symerr)(di, True, "Can't stat image (to determine its size)?!"); 177 ML_(symerr)(di, True, "Can't open image to read symbols?!"); 184 ML_(symerr)(di, True, "Can't mmap image to read symbols?!"); 207 ML_(symerr)(di, True, "Invalid Mach-O file (0 too small)."); 222 ML_(symerr)(di, True, "Invalid Mach-O file (1 too small)."); 246 ML_(symerr)(di, True, "Invalid Mach-O file (2 too small)."); 255 ML_(symerr)(di, True, 267 ML_(symerr)(di, True, "Invalid Mach-O file (3 too small)."); 272 ML_(symerr)(di, True, "Invalid Mach-O file (thin bigger than fat).") [all...] |
readdwarf3.c | 71 ML_(sizeOfType): differentiate between zero sized types and types 82 Don't hand to ML_(addVars), vars whose locations are entirely in 84 optimisation, as ML_(evaluate_Dwarf3_Expr) should handle these 95 (ML_(evaluate_Dwarf3_Expr)) should really be changed to a 126 ML_(addVar) and add_var_to_arange: quite a lot of DiAddrRanges have 134 thousands of small blocks, and ML_(arena_malloc) and its various 307 the string with ML_(addStr), since (w.r.t. image overruns) the 466 /* 2008-sept-12: moved ML_(pp_GX) from here to d3basics.c, where 516 gx = ML_(dinfo_zalloc)( "di.readdwarf3.msGX.1", 562 xa = VG_(newXA)( ML_(dinfo_zalloc), "di.readdwarf3.mgGX.1", [all...] |
readpdb.c | 1008 buffer = ML_(dinfo_zalloc)("di.readpe.pdr.1", nBlocks * blocksize); 1029 buffer = ML_(dinfo_zalloc)("di.readpe.pjr.1", nBlocks * blocksize); [all...] |
readelf.c | 114 Bool ML_(is_elf_object_file)( void* image, SizeT n_image ) 598 ML_(symerr)(di, False, buf); 626 risym.name = ML_(addStr) ( di, sym_name_really, -1 ); 632 ML_(addSym) ( di, &risym ); 705 ML_(symerr)(di, False, buf); 714 ML_(dinfo_zalloc), "di.respl.1", 715 ML_(dinfo_free) ); 833 risym.name = ML_(addStr) ( di, elem->key.name, -1 ); 839 ML_(addSym) ( di, &risym ); 872 ML_(is_elf_object_file)(ehdr, n_image)) [all...] |
debuginfo.c | 53 #include "priv_d3basics.h" /* ML_(pp_GX) */ 183 di = ML_(dinfo_zalloc)("di.debuginfo.aDI.1", sizeof(DebugInfo)); 185 di->filename = ML_(dinfo_strdup)("di.debuginfo.aDI.2", filename); 186 di->memname = memname ? ML_(dinfo_strdup)("di.debuginfo.aDI.3", memname) 216 if (di->filename) ML_(dinfo_free)(di->filename); 217 if (di->symtab) ML_(dinfo_free)(di->symtab); 218 if (di->loctab) ML_(dinfo_free)(di->loctab); 219 if (di->cfsi) ML_(dinfo_free)(di->cfsi); 221 if (di->fpo) ML_(dinfo_free)(di->fpo); 225 ML_(dinfo_free)(chunk) [all...] |
/external/valgrind/main/coregrind/m_aspacemgr/ |
aspacemgr-common.c | 55 void ML_(am_exit)( Int status ) 67 void ML_(am_barf) ( HChar* what ) 71 ML_(am_exit)(1); 74 void ML_(am_barf_toolow) ( HChar* what ) 80 ML_(am_exit)(1); 83 void ML_(am_assert_fail)( const HChar* expr, 93 ML_(am_exit)(1); 96 Int ML_(am_getpid)( void ) 128 UInt ML_(am_sprintf) ( HChar* buf, const HChar *format, ... ) 149 /* Note: this is VG_, not ML_. * [all...] |
/external/valgrind/main/coregrind/m_syswrap/ |
syswrap-ppc32-linux.c | 67 void ML_(call_on_new_stack_0_1) ( Addr stack, 254 stack = (UWord*)ML_(allocstack)(ctid); 352 ML_(start_thread_NORETURN), stack, flags, &VG_(threads)[ctid], 442 ML_(generic_PRE_sys_socketpair)( tid, ARG2_0, ARG2_1, ARG2_2, ARG2_3 ); 454 ML_(generic_PRE_sys_bind)( tid, ARG2_0, ARG2_1, ARG2_2 ); 465 ML_(generic_PRE_sys_accept)( tid, ARG2_0, ARG2_1, ARG2_2 ); 472 ML_(generic_PRE_sys_accept)( tid, ARG2_0, ARG2_1, ARG2_2 ); 481 ML_(generic_PRE_sys_sendto)( tid, ARG2_0, ARG2_1, ARG2_2, 488 ML_(generic_PRE_sys_send)( tid, ARG2_0, ARG2_1, ARG2_2 ); 495 ML_(generic_PRE_sys_recvfrom)( tid, ARG2_0, ARG2_1, ARG2_2 [all...] |
syswrap-main.c | 264 UWord ML_(do_syscall_for_client_WRK)( Word syscallno, 271 UWord ML_(do_syscall_for_client_WRK)( Word syscallno, 279 UWord ML_(do_syscall_for_client_unix_WRK)( Word syscallno, 285 UWord ML_(do_syscall_for_client_mach_WRK)( Word syscallno, 291 UWord ML_(do_syscall_for_client_mdep_WRK)( Word syscallno, 309 err = ML_(do_syscall_for_client_WRK)( 314 err = ML_(do_syscall_for_client_WRK)( 322 err = ML_(do_syscall_for_client_unix_WRK)( 328 err = ML_(do_syscall_for_client_mach_WRK)( 334 err = ML_(do_syscall_for_client_mdep_WRK) [all...] |
syswrap-ppc64-linux.c | 67 void ML_(call_on_new_stack_0_1) ( Addr stack, 282 stack = (UWord*)ML_(allocstack)(ctid); 380 ML_(start_thread_NORETURN), 471 ML_(generic_PRE_sys_socketpair)( tid, ARG2_0, ARG2_1, ARG2_2, ARG2_3 ); 483 ML_(generic_PRE_sys_bind)( tid, ARG2_0, ARG2_1, ARG2_2 ); 494 ML_(generic_PRE_sys_accept)( tid, ARG2_0, ARG2_1, ARG2_2 ); 501 ML_(generic_PRE_sys_accept)( tid, ARG2_0, ARG2_1, ARG2_2 ); 510 ML_(generic_PRE_sys_sendto)( tid, ARG2_0, ARG2_1, ARG2_2, 517 ML_(generic_PRE_sys_send)( tid, ARG2_0, ARG2_1, ARG2_2 ); 524 ML_(generic_PRE_sys_recvfrom)( tid, ARG2_0, ARG2_1, ARG2_2 [all...] |
syswrap-arm-linux.c | 70 void ML_(call_on_new_stack_0_1) ( Addr stack, 186 stack = (UWord*)ML_(allocstack)(ctid); 243 ML_(start_thread_NORETURN), stack, flags, &VG_(threads)[ctid], 364 ML_(generic_PRE_sys_socketpair)( tid, ARG2_0, ARG2_1, ARG2_2, ARG2_3 ); 376 ML_(generic_PRE_sys_bind)( tid, ARG2_0, ARG2_1, ARG2_2 ); 387 ML_(generic_PRE_sys_accept)( tid, ARG2_0, ARG2_1, ARG2_2 ); 396 ML_(generic_PRE_sys_sendto)( tid, ARG2_0, ARG2_1, ARG2_2, 403 ML_(generic_PRE_sys_send)( tid, ARG2_0, ARG2_1, ARG2_2 ); 410 ML_(generic_PRE_sys_recvfrom)( tid, ARG2_0, ARG2_1, ARG2_2, 422 ML_(generic_PRE_sys_recv)( tid, ARG2_0, ARG2_1, ARG2_2 ) [all...] |
syswrap-amd64-linux.c | 68 void ML_(call_on_new_stack_0_1) ( Addr stack, 221 stack = (UWord*)ML_(allocstack)(ctid); 306 ML_(start_thread_NORETURN), stack, flags, &VG_(threads)[ctid], 423 if (!ML_(client_signal_OK)(ARG1 & VKI_CSIGNAL)) { 448 ML_(do_fork_clone)(tid, 509 ML_(fixup_guest_state_to_restart_syscall)(&tst->arch); 645 r = ML_(generic_POST_sys_socket)(tid, VG_(mk_SysRes_Success)(RES)); 655 ML_(generic_PRE_sys_setsockopt)(tid, ARG1,ARG2,ARG3,ARG4,ARG5); 664 ML_(linux_PRE_sys_getsockopt)(tid, ARG1,ARG2,ARG3,ARG4,ARG5); 669 ML_(linux_POST_sys_getsockopt)(tid, VG_(mk_SysRes_Success)(RES) [all...] |
priv_syswrap-linux.h | 37 extern Word ML_(start_thread_NORETURN) ( void* arg ); 38 extern Addr ML_(allocstack) ( ThreadId tid ); 39 extern void ML_(call_on_new_stack_0_1) ( Addr stack, Addr retaddr, 41 extern SysRes ML_(do_fork_clone) ( ThreadId tid, UInt flags, 275 extern void ML_(linux_PRE_sys_msgsnd) ( TId, UW, UW, UW, UW ); 276 extern void ML_(linux_PRE_sys_msgrcv) ( TId, UW, UW, UW, UW, UW ); 277 extern void ML_(linux_POST_sys_msgrcv) ( TId, UW, UW, UW, UW, UW, UW ); 278 extern void ML_(linux_PRE_sys_msgctl) ( TId, UW, UW, UW ); 279 extern void ML_(linux_POST_sys_msgctl) ( TId, UW, UW, UW, UW ); 280 extern void ML_(linux_PRE_sys_getsockopt) ( TId, UW, UW, UW, UW, UW ) [all...] |
syswrap-x86-linux.c | 74 void ML_(call_on_new_stack_0_1) ( Addr stack, 228 stack = (UWord*)ML_(allocstack)(ctid); 327 ML_(start_thread_NORETURN), stack, flags, &VG_(threads)[ctid], 892 if (!ML_(client_signal_OK)(ARG1 & VKI_CSIGNAL)) { 943 ML_(do_fork_clone)(tid, [all...] |
priv_syswrap-aix5.h | 45 extern Addr ML_(allocstack)(ThreadId tid); 48 extern void ML_(aix5_rescan_procmap_after_load_or_unload) ( void ); 54 extern Bool ML_(aix5_force_thread_into_pthread_exit)( ThreadId ); 61 void ML_(aix5_set_threadstate_for_emergency_exit)(ThreadId tid, HChar* why); 64 extern void ML_(aix5debugstuff_show_tstate) ( Addr, HChar* who ); 65 extern void ML_(aix5debugstuff_show_tstate_flags) ( UWord w ); 66 extern HChar* ML_(aix5debugstuff_pc_to_fnname) ( Addr pc );
|
syswrap-amd64-darwin.c | 331 ML_(notify_core_and_tool_of_mmap)( 335 ML_(notify_core_and_tool_of_mmap)( 339 ML_(notify_core_and_tool_of_mmap)( 346 ML_(sync_mappings)("after", "pthread_hijack", 0); 449 ML_(wqthread_continue_NORETURN). The latter will immediately 456 ML_(wqthread_continue_NORETURN)(tst->tid); 471 ML_(notify_core_and_tool_of_mmap)( 476 ML_(notify_core_and_tool_of_mmap)( 481 ML_(notify_core_and_tool_of_mmap)( 485 ML_(sync_mappings)("after", "wqthread_hijack", 0) [all...] |
syswrap-x86-darwin.c | 320 ML_(notify_core_and_tool_of_mmap)( 324 ML_(notify_core_and_tool_of_mmap)( 328 ML_(notify_core_and_tool_of_mmap)( 335 ML_(sync_mappings)("after", "pthread_hijack", 0); 455 ML_(wqthread_continue_NORETURN). The latter will immediately 462 ML_(wqthread_continue_NORETURN)(tst->tid); 481 ML_(notify_core_and_tool_of_mmap)( 486 ML_(notify_core_and_tool_of_mmap)( 491 ML_(notify_core_and_tool_of_mmap)( 495 ML_(sync_mappings)("after", "wqthread_hijack", 0) [all...] |
syswrap-generic.c | 72 Bool ML_(valid_client_addr)(Addr start, SizeT size, ThreadId tid, 100 Bool ML_(client_signal_OK)(Int sigNo) 115 Bool ML_(safe_to_deref) ( void* start, SizeT size ) 191 ML_(generic_PRE_sys_mmap), in m_syswrap, is the "normal case" handler for 199 ML_(generic_PRE_sys_mmap) cannot be used for Darwin.] 202 ML_(notify_core_and_tool_of_mmap) ( Addr a, SizeT len, UInt prot, 213 ML_(notify_core_and_tool_of_munmap) ( Addr a, SizeT len ) 223 "ML_(notify_core_and_tool_of_munmap)" ); 227 ML_(notify_core_and_tool_of_mprotect) ( Addr a, SizeT len, Int prot ) 240 "ML_(notify_core_and_tool_of_mprotect)" ) [all...] |
syswrap-linux.c | 220 Word ML_(start_thread_NORETURN) ( void* arg ) 233 Addr ML_(allocstack)(ThreadId tid) 279 sp = ML_(allocstack)(tid); 300 ML_(call_on_new_stack_0_1)( 313 SysRes ML_(do_fork_clone) ( ThreadId tid, UInt flags, 621 if (!ML_(fd_allowed)(ARG1, "llseek", tid, False)) 981 if (!ML_(fd_allowed)(RES, "futex", tid, True)) { 986 ML_(record_fd_open_nameless)(tid, RES); [all...] |
/external/valgrind/main/coregrind/m_scheduler/ |
sema.c | 51 void ML_(sema_init)(vg_sema_t *sema) 79 void ML_(sema_deinit)(vg_sema_t *sema) 90 void ML_(sema_down)( vg_sema_t *sema, Bool as_LL ) 121 void ML_(sema_up)( vg_sema_t *sema, Bool as_LL )
|