Home | History | Annotate | Download | only in coregrind

Lines Matching refs:VG_

36 VgToolInterface VG_(tdict);
41 void VG_(basic_tool_funcs)(
48 VG_(tdict).tool_post_clo_init = post_clo_init;
49 VG_(tdict).tool_instrument = instrument;
50 VG_(tdict).tool_fini = fini;
58 VgDetails VG_(details) = {
69 extern void VG_(details_##detail)(type detail) \
71 VG_(details).detail = detail; \
85 VgNeeds VG_(needs) = {
101 Bool VG_(sanity_check_needs)(Char** failmsg)
114 CHECK_NOT(VG_(details).name, NULL);
116 CHECK_NOT(VG_(details).description, NULL);
117 CHECK_NOT(VG_(details).copyright_author, NULL);
118 CHECK_NOT(VG_(details).bug_reports_to, NULL);
123 = VG_(tdict).track_new_mem_stack_4 ||
124 VG_(tdict).track_new_mem_stack_8 ||
125 VG_(tdict).track_new_mem_stack_12 ||
126 VG_(tdict).track_new_mem_stack_16 ||
127 VG_(tdict).track_new_mem_stack_32 ||
128 VG_(tdict).track_new_mem_stack_112 ||
129 VG_(tdict).track_new_mem_stack_128 ||
130 VG_(tdict).track_new_mem_stack_144 ||
131 VG_(tdict).track_new_mem_stack_160;
133 if (any_new_mem_stack_N && ! VG_(tdict).track_new_mem_stack) {
143 = VG_(tdict).track_new_mem_stack_4_w_ECU ||
144 VG_(tdict).track_new_mem_stack_8_w_ECU ||
145 VG_(tdict).track_new_mem_stack_12_w_ECU ||
146 VG_(tdict).track_new_mem_stack_16_w_ECU ||
147 VG_(tdict).track_new_mem_stack_32_w_ECU ||
148 VG_(tdict).track_new_mem_stack_112_w_ECU ||
149 VG_(tdict).track_new_mem_stack_128_w_ECU ||
150 VG_(tdict).track_new_mem_stack_144_w_ECU ||
151 VG_(tdict).track_new_mem_stack_160_w_ECU;
153 if (any_new_mem_stack_N_w_ECU && ! VG_(tdict).track_new_mem_stack_w_ECU) {
163 = (VG_(tdict).track_new_mem_stack_4 && VG_(tdict).track_new_mem_stack_4_w_ECU) ||
164 (VG_(tdict).track_new_mem_stack_8 && VG_(tdict).track_new_mem_stack_8_w_ECU) ||
165 (VG_(tdict).track_new_mem_stack_12 && VG_(tdict).track_new_mem_stack_12_w_ECU) ||
166 (VG_(tdict).track_new_mem_stack_16 && VG_(tdict).track_new_mem_stack_16_w_ECU) ||
167 (VG_(tdict).track_new_mem_stack_32 && VG_(tdict).track_new_mem_stack_32_w_ECU) ||
168 (VG_(tdict).track_new_mem_stack_112 && VG_(tdict).track_new_mem_stack_112_w_ECU) ||
169 (VG_(tdict).track_new_mem_stack_128 && VG_(tdict).track_new_mem_stack_128_w_ECU) ||
170 (VG_(tdict).track_new_mem_stack_144 && VG_(tdict).track_new_mem_stack_144_w_ECU) ||
171 (VG_(tdict).track_new_mem_stack_160 && VG_(tdict).track_new_mem_stack_160_w_ECU) ||
172 (VG_(tdict).track_new_mem_stack && VG_(tdict).track_new_mem_stack_w_ECU);
184 = VG_(tdict).track_die_mem_stack_4 ||
185 VG_(tdict).track_die_mem_stack_8 ||
186 VG_(tdict).track_die_mem_stack_12 ||
187 VG_(tdict).track_die_mem_stack_16 ||
188 VG_(tdict).track_die_mem_stack_32 ||
189 VG_(tdict).track_die_mem_stack_112 ||
190 VG_(tdict).track_die_mem_stack_128 ||
191 VG_(tdict).track_die_mem_stack_144 ||
192 VG_(tdict).track_die_mem_stack_160;
194 if (any_die_mem_stack_N && ! VG_(tdict).track_die_mem_stack) {
208 extern void VG_(needs_##need)(void) \
210 VG_(needs).need = True; \
218 void VG_(needs_superblock_discards)(
222 VG_(needs).superblock_discards = True;
223 VG_(tdict).tool_discard_superblock_info = discard;
226 void VG_(needs_tool_errors)(
239 VG_(needs).tool_errors = True;
240 VG_(tdict).tool_eq_Error = eq;
241 VG_(tdict).tool_before_pp_Error = before_pp;
242 VG_(tdict).tool_pp_Error = pp;
243 VG_(tdict).tool_show_ThreadIDs_for_errors = show_TIDs;
244 VG_(tdict).tool_update_extra = update;
245 VG_(tdict).tool_recognised_suppression = recog;
246 VG_(tdict).tool_read_extra_suppression_info = read_extra;
247 VG_(tdict).tool_error_matches_suppression = matches;
248 VG_(tdict).tool_get_error_name = name;
249 VG_(tdict).tool_get_extra_suppression_info = get_xtra_si;
252 void VG_(needs_command_line_options)(
258 VG_(needs).command_line_options = True;
259 VG_(tdict).tool_process_cmd_line_option = process;
260 VG_(tdict).tool_print_usage = usage;
261 VG_(tdict).tool_print_debug_usage = debug_usage;
264 void VG_(needs_client_requests)(
268 VG_(needs).client_requests = True;
269 VG_(tdict).tool_handle_client_request = handle;
272 void VG_(needs_syscall_wrapper)(
277 VG_(needs).syscall_wrapper = True;
278 VG_(tdict).tool_pre_syscall = pre;
279 VG_(tdict).tool_post_syscall = post;
282 void VG_(needs_sanity_checks)(
287 VG_(needs).sanity_checks = True;
288 VG_(tdict).tool_cheap_sanity_check = cheap;
289 VG_(tdict).tool_expensive_sanity_check = expen;
292 void VG_(needs_malloc_replacement)(
306 VG_(needs).malloc_replacement = True;
307 VG_(tdict).tool_malloc = malloc;
308 VG_(tdict).tool___builtin_new = __builtin_new;
309 VG_(tdict).tool___builtin_vec_new = __builtin_vec_new;
310 VG_(tdict).tool_memalign = memalign;
311 VG_(tdict).tool_calloc = calloc;
312 VG_(tdict).tool_free = free;
313 VG_(tdict).tool___builtin_delete = __builtin_delete;
314 VG_(tdict).tool___builtin_vec_delete = __builtin_vec_delete;
315 VG_(tdict).tool_realloc = realloc;
316 VG_(tdict).tool_malloc_usable_size = malloc_usable_size;
317 VG_(tdict).tool_client_redzone_szB = client_malloc_redzone_szB;
320 void VG_(needs_xml_output)( void )
322 VG_(needs).xml_output = True;
325 void VG_(needs_final_IR_tidy_pass)(
329 VG_(needs).final_IR_tidy_pass = True;
330 VG_(tdict).tool_final_IR_tidy_pass = final_tidy;
337 void VG_(fn)(void(*f)(args)) { \
338 VG_(tdict).fn = f; \
342 void VG_(fn)(VG_REGPARM(1) void(*f)(args)) { \
343 VG_(tdict).fn = f; \
347 void VG_(fn)(VG_REGPARM(2) void(*f)(args)) { \
348 VG_(tdict).fn = f; \