1*f3e7f55eSRobert Mustacchi #ifndef _DWARF_ELF_PORT_H 2*f3e7f55eSRobert Mustacchi #define _DWARF_ELF_PORT_H 3*f3e7f55eSRobert Mustacchi /* 4*f3e7f55eSRobert Mustacchi 5*f3e7f55eSRobert Mustacchi Copyright (C) 2008-2010 David Anderson. All rights reserved. 6*f3e7f55eSRobert Mustacchi Portions Copyright 2008-2010 Arxan Technologies, Inc. All rights reserved. 7*f3e7f55eSRobert Mustacchi 8*f3e7f55eSRobert Mustacchi This program is free software; you can redistribute it and/or modify it 9*f3e7f55eSRobert Mustacchi under the terms of version 2.1 of the GNU Lesser General Public License 10*f3e7f55eSRobert Mustacchi as published by the Free Software Foundation. 11*f3e7f55eSRobert Mustacchi 12*f3e7f55eSRobert Mustacchi This program is distributed in the hope that it would be useful, but 13*f3e7f55eSRobert Mustacchi WITHOUT ANY WARRANTY; without even the implied warranty of 14*f3e7f55eSRobert Mustacchi MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15*f3e7f55eSRobert Mustacchi 16*f3e7f55eSRobert Mustacchi Further, this software is distributed without any warranty that it is 17*f3e7f55eSRobert Mustacchi free of the rightful claim of any third person regarding infringement 18*f3e7f55eSRobert Mustacchi or the like. Any license provided herein, whether implied or 19*f3e7f55eSRobert Mustacchi otherwise, applies only to this software file. Patent licenses, if 20*f3e7f55eSRobert Mustacchi any, provided herein do not apply to combinations of this program with 21*f3e7f55eSRobert Mustacchi other software, or any other product whatsoever. 22*f3e7f55eSRobert Mustacchi 23*f3e7f55eSRobert Mustacchi You should have received a copy of the GNU Lesser General Public 24*f3e7f55eSRobert Mustacchi License along with this program; if not, write the Free Software 25*f3e7f55eSRobert Mustacchi Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston MA 02110-1301, 26*f3e7f55eSRobert Mustacchi USA. 27*f3e7f55eSRobert Mustacchi 28*f3e7f55eSRobert Mustacchi Contact information: Silicon Graphics, Inc., 1500 Crittenden Lane, 29*f3e7f55eSRobert Mustacchi Mountain View, CA 94043, or: 30*f3e7f55eSRobert Mustacchi 31*f3e7f55eSRobert Mustacchi http://www.sgi.com 32*f3e7f55eSRobert Mustacchi 33*f3e7f55eSRobert Mustacchi For further information regarding this notice, see: 34*f3e7f55eSRobert Mustacchi 35*f3e7f55eSRobert Mustacchi http://oss.sgi.com/projects/GenInfo/NoticeExplan 36*f3e7f55eSRobert Mustacchi 37*f3e7f55eSRobert Mustacchi */ 38*f3e7f55eSRobert Mustacchi 39*f3e7f55eSRobert Mustacchi 40*f3e7f55eSRobert Mustacchi 41*f3e7f55eSRobert Mustacchi /* ELF (usually libelf) object access for the generic object file interface */ 42*f3e7f55eSRobert Mustacchi 43*f3e7f55eSRobert Mustacchi int 44*f3e7f55eSRobert Mustacchi dwarf_elf_object_access_init(dwarf_elf_handle elf , 45*f3e7f55eSRobert Mustacchi int libdwarf_owns_elf, 46*f3e7f55eSRobert Mustacchi Dwarf_Obj_Access_Interface** ret_obj, 47*f3e7f55eSRobert Mustacchi int *err ); 48*f3e7f55eSRobert Mustacchi 49*f3e7f55eSRobert Mustacchi void 50*f3e7f55eSRobert Mustacchi dwarf_elf_object_access_finish(Dwarf_Obj_Access_Interface* obj ); 51*f3e7f55eSRobert Mustacchi 52*f3e7f55eSRobert Mustacchi /* End ELF object access for the generic object file interface */ 53*f3e7f55eSRobert Mustacchi 54*f3e7f55eSRobert Mustacchi 55*f3e7f55eSRobert Mustacchi #endif 56