michael@0: /* -*- Mode: C++ -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef elf_utils_h__ michael@0: #define elf_utils_h__ michael@0: michael@0: /* michael@0: michael@0: Random utilities for twiddling ELF files. michael@0: michael@0: */ michael@0: michael@0: #include "elf.h" michael@0: michael@0: /** michael@0: * Verify that an ELF header is sane. Currently hard-coded to x86. michael@0: */ michael@0: int michael@0: elf_verify_header(const Elf32_Ehdr *hdr); michael@0: michael@0: #endif