ref: d4565f079cfff9680439f8b0c2b82d7a01167498
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; }