crunchide.c (d397408818fbfa179246fb327659e3fb29ffff31) crunchide.c (64b06e789711238551c56a7ef517dfa43ae3043c)
1/* $NetBSD: crunchide.c,v 1.8 1997/11/01 06:51:45 lukem Exp $ */
2/* $FreeBSD$ */
3/*
4 * Copyright (c) 1997 Christopher G. Demetriou. All rights reserved.
5 * Copyright (c) 1994 University of Maryland
6 * All Rights Reserved.
7 *
8 * Permission to use, copy, modify, distribute, and sell this software and its

--- 194 unchanged lines hidden (view full) ---

203
204/* ---------------------------- */
205
206struct {
207 const char *name;
208 int (*check)(int, const char *); /* 1 if match, zero if not */
209 int (*hide)(int, const char *); /* non-zero if error */
210} exec_formats[] = {
1/* $NetBSD: crunchide.c,v 1.8 1997/11/01 06:51:45 lukem Exp $ */
2/* $FreeBSD$ */
3/*
4 * Copyright (c) 1997 Christopher G. Demetriou. All rights reserved.
5 * Copyright (c) 1994 University of Maryland
6 * All Rights Reserved.
7 *
8 * Permission to use, copy, modify, distribute, and sell this software and its

--- 194 unchanged lines hidden (view full) ---

203
204/* ---------------------------- */
205
206struct {
207 const char *name;
208 int (*check)(int, const char *); /* 1 if match, zero if not */
209 int (*hide)(int, const char *); /* non-zero if error */
210} exec_formats[] = {
211#ifdef __i386__
211#if defined(__i386__) && defined(arch_i386)
212#ifdef NLIST_AOUT
213 { "a.out", check_aout, hide_aout, },
214#endif
215#endif
216#ifdef NLIST_ECOFF
217 { "ECOFF", check_elf64, hide_elf64, },
218#endif
219#ifdef NLIST_ELF32

--- 51 unchanged lines hidden ---
212#ifdef NLIST_AOUT
213 { "a.out", check_aout, hide_aout, },
214#endif
215#endif
216#ifdef NLIST_ECOFF
217 { "ECOFF", check_elf64, hide_elf64, },
218#endif
219#ifdef NLIST_ELF32

--- 51 unchanged lines hidden ---