1 /* -*- mode: C; c-basic-offset: 3; -*- */
2 
3 /*--------------------------------------------------------------------*/
4 /*--- Reading of ARM(32) EXIDX unwind information                  ---*/
5 /*--                                              priv_readexidx.h ---*/
6 /*--------------------------------------------------------------------*/
7 
8 /*
9    This file is part of Valgrind, a dynamic binary instrumentation
10    framework.
11 
12    Copyright (C) 2014-2014 Mozilla Foundation
13 
14    This program is free software; you can redistribute it and/or
15    modify it under the terms of the GNU General Public License as
16    published by the Free Software Foundation; either version 2 of the
17    License, or (at your option) any later version.
18 
19    This program is distributed in the hope that it will be useful, but
20    WITHOUT ANY WARRANTY; without even the implied warranty of
21    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
22    General Public License for more details.
23 
24    You should have received a copy of the GNU General Public License
25    along with this program; if not, write to the Free Software
26    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
27    02111-1307, USA.
28 
29    The GNU General Public License is contained in the file COPYING.
30 */
31 
32 /* Contributed by Julian Seward <jseward@acm.org> */
33 
34 #ifndef __PRIV_READEXIDX_H
35 #define __PRIV_READEXIDX_H
36 
37 #include "pub_core_debuginfo.h"   // DebugInfo
38 
39 extern
40 void ML_(read_exidx) ( /*MOD*/DebugInfo* di,
41                        UChar*   exidx_img, SizeT exidx_size,
42                        UChar*   extab_img, SizeT extab_size,
43                        Addr     text_last_svma,
44                        PtrdiffT text_bias );
45 
46 #endif /* ndef __PRIV_READEXIDX_H */
47 
48 /*--------------------------------------------------------------------*/
49 /*--- end                                         priv_readexidx.h ---*/
50 /*--------------------------------------------------------------------*/
51