view blobstat/main.c @ 335:10d62a3bfeec

frbl2test: L command addr and nwords need to be sent in LE byte order
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 07 Mar 2020 05:56:32 +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);
}