view blobstat/main.c @ 405:f7df0f4d7d4f

tfo/find-is-hdr.c: print found offset in hex
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 18 Mar 2023 05:57:23 +0000
parents ff2a6433687f
children
line wrap: on
line source

#include <stdio.h>
#include <stdlib.h>

main(argc, argv)
	char **argv;
{
	if (argc != 3) {
		fprintf(stderr, "usage: %s class-file map-file\n", argv[0]);
		exit(1);
	}
	read_class_file(argv[1]);
	process_map_file(argv[2]);
	print_output();
	exit(0);
}