shithub: scc

ref: 5214729f407f56f038c8a8fec2eca597f018c93d
dir: /nm/nm.h/

View raw version

struct symbol {
	char *name;
	int type;
	unsigned long long off;
	unsigned long size;
};

struct objfile {
	int (*probe)(FILE *fp);
	void (*nm)(char *fname, FILE *fp);
};

/* main.c */
extern void print(char *file, char *member, struct symbol *sym);