Lines Matching refs:syms
37 struct ld_plugin_symbol* syms; member
256 struct ld_plugin_symbol* syms; in claim_file_hook() local
311 syms = (struct ld_plugin_symbol*)malloc(sizeof(struct ld_plugin_symbol) * 8); in claim_file_hook()
312 if (syms == NULL) in claim_file_hook()
355 syms = (struct ld_plugin_symbol*) in claim_file_hook()
356 realloc(syms, sizeof(struct ld_plugin_symbol) * maxsyms * 2); in claim_file_hook()
357 if (syms == NULL) in claim_file_hook()
363 syms[nsyms].name = NULL; in claim_file_hook()
367 syms[nsyms].name = malloc(len + 1); in claim_file_hook()
368 strncpy(syms[nsyms].name, info.name, len + 1); in claim_file_hook()
370 syms[nsyms].version = NULL; in claim_file_hook()
371 syms[nsyms].def = def; in claim_file_hook()
372 syms[nsyms].visibility = vis; in claim_file_hook()
373 syms[nsyms].size = info.size; in claim_file_hook()
374 syms[nsyms].comdat_key = is_comdat ? syms[nsyms].name : NULL; in claim_file_hook()
375 syms[nsyms].resolution = LDPR_UNKNOWN; in claim_file_hook()
386 claimed_file->syms = syms; in claim_file_hook()
398 (*add_symbols)(file->handle, nsyms, syms); in claim_file_hook()
434 claimed_file->syms); in all_symbols_read_hook()
438 switch (claimed_file->syms[i].resolution) in all_symbols_read_hook()
475 claimed_file->syms[i].name, res); in all_symbols_read_hook()