ref: 3aa27c3da9cf49c6f8082f09a295b7cf241c9a65
dir: /src/libmach/coff32/coff32strip.c/
#include <stdio.h> #include <stdlib.h> #include <scc/mach.h> #include "../libmach.h" #include "coff32.h" void coff32strip(Obj *obj) { struct coff32 *coff = obj->data; FILHDR *hdr; hdr = &coff->hdr; free(coff->ents); coff->ents = NULL; hdr->f_nsyms = 0; hdr->f_symptr = 0; }