summaryrefslogtreecommitdiff
path: root/other/burneye2/elf/elf_verify.h
blob: edd01d9309fc846fa47ca9336f2d77c1fccbb1d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* libxelf - elf_verify ELF verification routines include file
 *
 * by scut / teso
 */

#ifndef	ELF_VERIFY_H
#define	ELF_VERIFY_H


/* elf_verify_header
 *
 * a basic verification of the ELF header contained in the `elf' structure. no
 * active checks, just sanity of the values.
 *
 * return 0 in case verification is ok
 * return != 0 in case it is invalid
 */

int
elf_verify_header (elf_file *elf);

#endif