Searched refs:NOFAIL (Results 1 – 4 of 4) sorted by relevance
128 buf = NOFAIL(malloc(st.st_size + 1)); in read_text_file()186 mod = NOFAIL(malloc(sizeof(*mod) + namelen + 1)); in new_module()250 struct symbol *s = NOFAIL(malloc(sizeof(*s) + strlen(name) + 1)); in alloc_symbol()327 ns_entry = NOFAIL(malloc(sizeof(*ns_entry) + in add_namespace()383 s->namespace = NOFAIL(strdup(namespace)); in sym_add_exported()647 char *munged = NOFAIL(strdup(symname)); in handle_symbol()1764 buf->p = NOFAIL(realloc(buf->p, buf->size)); in buf_write()2049 tmp = NOFAIL(malloc(b->pos)); in write_if_changed()2235 dl = NOFAIL(malloc(sizeof(*dl))); in main()
76 #define NOFAIL(ptr) do_nofail((ptr), #ptr) macro
128 elf->symsearch = NOFAIL(malloc(sizeof(struct symsearch) + in symsearch_init()
308 cmd = NOFAIL(malloc(strlen(objfile) + sizeof("..cmd"))); in parse_source_files()319 dir = NOFAIL(malloc(dirlen + 1)); in parse_source_files()