Lines Matching refs:syms
37 struct ld_plugin_symbol* syms; member
260 struct ld_plugin_symbol* syms; in claim_file_hook() local
315 syms = (struct ld_plugin_symbol*)malloc(sizeof(struct ld_plugin_symbol) * 8); in claim_file_hook()
316 if (syms == NULL) in claim_file_hook()
359 syms = (struct ld_plugin_symbol*) in claim_file_hook()
360 realloc(syms, sizeof(struct ld_plugin_symbol) * maxsyms * 2); in claim_file_hook()
361 if (syms == NULL) in claim_file_hook()
367 syms[nsyms].name = NULL; in claim_file_hook()
371 syms[nsyms].name = malloc(len + 1); in claim_file_hook()
372 strncpy(syms[nsyms].name, info.name, len + 1); in claim_file_hook()
374 syms[nsyms].version = NULL; in claim_file_hook()
375 syms[nsyms].def = def; in claim_file_hook()
376 syms[nsyms].visibility = vis; in claim_file_hook()
377 syms[nsyms].size = info.size; in claim_file_hook()
378 syms[nsyms].comdat_key = is_comdat ? syms[nsyms].name : NULL; in claim_file_hook()
379 syms[nsyms].resolution = LDPR_UNKNOWN; in claim_file_hook()
390 claimed_file->syms = syms; in claim_file_hook()
402 (*add_symbols)(file->handle, nsyms, syms); in claim_file_hook()
438 claimed_file->handle, claimed_file->nsyms, claimed_file->syms); in all_symbols_read_hook()
447 switch (claimed_file->syms[i].resolution) in all_symbols_read_hook()
484 claimed_file->syms[i].name, res); in all_symbols_read_hook()