/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright (c) 2011, Joyent, Inc. All rights reserved.
* Copyright (c) 2011, Robert Mustacchi, Inc. All rights reserved.
* Copyright 2013, Richard Lowe.
*/
#include <err.h>
#include <fcntl.h>
#include <gelf.h>
#include <libctf.h>
#include <saveargs.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <unistd.h>
extern const char *__progname;
typedef struct symtab_sym {
char *ss_name;
} symtab_sym_t;
static void
{
fname);
foundstab = 1;
break;
}
}
foundtext = 1;
break;
}
}
return;
for (unsigned symdx = 0;
symdx++) {
continue;
continue;
}
}
}
void
{
int start_index = 0;
return;
start_index = 1;
}
int
{
if (argc != 2)
ctf_errmsg(errp));
argv[1]);
return (0);
}