Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 /* -*- Mode: C++ -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef elf_utils_h__
7 #define elf_utils_h__
9 /*
11 Random utilities for twiddling ELF files.
13 */
15 #include "elf.h"
17 /**
18 * Verify that an ELF header is sane. Currently hard-coded to x86.
19 */
20 int
21 elf_verify_header(const Elf32_Ehdr *hdr);
23 #endif