Lines Matching refs:malloc
111 addrs = malloc(sizeof (uintptr_t) * phnum * 2);
139 addrs = malloc(sizeof (uintptr_t) * phnum * 2);
342 (fptr->file_lo = malloc(sizeof (rd_loadobj_t))) == NULL) {
395 (fptr->file_lo = malloc(sizeof (rd_loadobj_t))) == NULL) {
748 fptr->file_ctf_buf = malloc(fptr->file_ctf_size);
1234 if ((dynp = malloc(phdr.p_filesz)) == NULL)
1269 if ((dynp = malloc(phdr.p_filesz)) == NULL)
1471 symp = syms = malloc(sizeof (GElf_Sym) * symn);
1473 dprintf("optimize_symtab: failed to malloc symbol array");
1500 "optimize_symtab: failed to malloc symbol index arrays");
1709 if ((cache = malloc(nshdrs * sizeof (*cache))) == NULL) {
1710 dprintf("failed to malloc section cache for %s\n", objectfile);
3088 buf = malloc(buflen);
3136 buf = malloc(buflen);