Home
last modified time | relevance | path

Searched refs:MC_ (Results 1 – 9 of 9) sorted by relevance

/external/valgrind/memcheck/
Dmc_include.h35 #define MC_(str) VGAPPEND(vgMemCheck_,str) macro
50 extern SizeT MC_(Malloc_Redzone_SzB);
79 ExeContext* MC_(allocated_at) (MC_Chunk*);
80 ExeContext* MC_(freed_at) (MC_Chunk*);
83 void MC_(set_allocated_at) (ThreadId, MC_Chunk*);
84 void MC_(set_freed_at) (ThreadId, MC_Chunk*);
87 UInt MC_(n_where_pointers) (void);
101 void* MC_(new_block) ( ThreadId tid,
105 void MC_(handle_free) ( ThreadId tid,
108 void MC_(create_mempool) ( Addr pool, UInt rzB, Bool is_zeroed );
[all …]
Dmc_malloc_wrappers.c66 SizeT MC_(Malloc_Redzone_SzB) = -10000000; // If used before set, should BOMB
69 VgHashTable *MC_(malloc_list) = NULL;
73 VgHashTable *MC_(mempool_list) = NULL;
76 PoolAlloc *MC_(chunk_poolalloc) = NULL;
102 const int l = (mc->szB >= MC_(clo_freelist_big_blocks) ? 0 : 1); in add_to_freed_queue()
113 if (mc->szB >= MC_(clo_freelist_vol)) { in add_to_freed_queue()
138 tl_assert (VG_(free_queue_volume) > MC_(clo_freelist_vol)); in release_oldest_block()
142 while (VG_(free_queue_volume) > MC_(clo_freelist_vol) in release_oldest_block()
171 MC_Chunk* MC_(get_freed_block_bracketting) (Addr a) in MC_() function
179 MC_(Malloc_Redzone_SzB) )) in MC_()
[all …]
Dmc_leakcheck.c345 mallocs = (MC_Chunk**) VG_(HT_to_array)( MC_(malloc_list), &n_mallocs ); in find_active_chunks()
362 VG_(HT_ResetIter)(MC_(mempool_list)); in find_active_chunks()
363 while ( (mp = VG_(HT_Next)(MC_(mempool_list))) ) { in find_active_chunks()
397 VG_(HT_ResetIter)(MC_(mempool_list)); in find_active_chunks()
398 while ( (mp = VG_(HT_Next)(MC_(mempool_list))) ) { in find_active_chunks()
475 LeakCheckDeltaMode MC_(detect_memory_leaks_last_delta_mode);
480 UInt MC_(leak_search_gen);
500 SizeT MC_(bytes_leaked) = 0;
501 SizeT MC_(bytes_indirect) = 0;
502 SizeT MC_(bytes_dubious) = 0;
[all …]
Dmc_main.c1096 Bool MC_(in_ignored_range) ( Addr a ) in MC_() function
1259 if (!MC_(clo_partial_loads_ok)) { in mc_LOADV_128_or_256_slow()
1260 MC_(record_address_error)( VG_(get_running_tid)(), a, szB, False ); in mc_LOADV_128_or_256_slow()
1309 MC_(record_address_error)( VG_(get_running_tid)(), a, szB, False ); in mc_LOADV_128_or_256_slow()
1391 if (!MC_(clo_partial_loads_ok)) { in mc_LOADVn_slow()
1392 MC_(record_address_error)( VG_(get_running_tid)(), a, szB, False ); in mc_LOADVn_slow()
1456 MC_(record_address_error)( VG_(get_running_tid)(), a, szB, False ); in mc_LOADVn_slow()
1544 MC_(record_address_error)( VG_(get_running_tid)(), a, szB, True ); in mc_STOREVn_slow()
1786 void MC_(make_mem_noaccess) ( Addr a, SizeT len ) in MC_() function
1791 if (UNLIKELY( MC_(clo_mc_level) == 3 )) in MC_()
[all …]
Dmc_errors.c58 Bool MC_(any_value_errors) = False;
204 void MC_(before_pp_Error) ( const Error* err ) { in MC_() function
252 const HChar* MC_(parse_leak_kinds_tokens) =
255 UInt MC_(all_Reachedness)(void) in MC_() function
261 Bool parseok = VG_(parse_enum_set)(MC_(parse_leak_kinds_tokens), in MC_()
305 HChar * MC_(snprintf_delta) (HChar * buf, Int size, in MC_() function
335 MC_(snprintf_delta) (d_bytes, sizeof(d_bytes), in pp_LossRecord()
338 MC_(detect_memory_leaks_last_delta_mode)); in pp_LossRecord()
339 MC_(snprintf_delta) (d_direct_bytes, sizeof(d_direct_bytes), in pp_LossRecord()
342 MC_(detect_memory_leaks_last_delta_mode)); in pp_LossRecord()
[all …]
Dmc_translate.c1225 if (MC_(clo_mc_level) == 1) in complainIfUndefined()
1251 if (MC_(clo_mc_level) == 3) { in complainIfUndefined()
1268 fn = &MC_(helperc_value_check0_fail_w_o); in complainIfUndefined()
1273 fn = &MC_(helperc_value_check0_fail_no_o); in complainIfUndefined()
1281 fn = &MC_(helperc_value_check1_fail_w_o); in complainIfUndefined()
1286 fn = &MC_(helperc_value_check1_fail_no_o); in complainIfUndefined()
1294 fn = &MC_(helperc_value_check4_fail_w_o); in complainIfUndefined()
1299 fn = &MC_(helperc_value_check4_fail_no_o); in complainIfUndefined()
1307 fn = &MC_(helperc_value_check8_fail_w_o); in complainIfUndefined()
1312 fn = &MC_(helperc_value_check8_fail_no_o); in complainIfUndefined()
[all …]
Dmc_machine.c102 Int MC_(get_otrack_shadow_offset) ( Int offset, Int szB ) in MC_() function
1286 IRType MC_(get_otrack_reg_array_equiv_int_type) ( IRRegArray* arr ) in MC_() function
/external/valgrind/VEX/useful/
Dtest_main.c479 #define MC_(zzzz) MC_##zzzz macro
1089 &MC_(helperc_value_check0_fail), in complainIfUndefined()
1096 &MC_(helperc_value_check1_fail), in complainIfUndefined()
1103 &MC_(helperc_value_check4_fail), in complainIfUndefined()
1110 &MC_(helperc_complain_undef), in complainIfUndefined()
2068 case Ity_I64: helper = &MC_(helperc_LOADV8); in expr2vbits_LDle_WRK()
2071 case Ity_I32: helper = &MC_(helperc_LOADV4); in expr2vbits_LDle_WRK()
2074 case Ity_I16: helper = &MC_(helperc_LOADV2); in expr2vbits_LDle_WRK()
2077 case Ity_I8: helper = &MC_(helperc_LOADV1); in expr2vbits_LDle_WRK()
2290 case Ity_I64: helper = &MC_(helperc_STOREV8); in do_shadow_STle()
[all …]
/external/valgrind/coregrind/m_gdbserver/
DREADME_DEVELOPERS377 created with VG_ or MC_ or ...