Add prereqs for tests using python 3.9+
[valgrind.git] / coregrind / m_debuginfo / priv_readpdb.h
blobb9b8fb3a2c1e30ad02a4506dff1c80af265d077d
2 /*--------------------------------------------------------------------*/
3 /*--- Reading of syms & debug info from PDB-format files. ---*/
4 /*--- priv_readpdb.h ---*/
5 /*--------------------------------------------------------------------*/
7 /*
8 This file is part of Valgrind, a dynamic binary instrumentation
9 framework.
10 Spring 2008:
11 derived from readelf.c and valgrind-20031012-wine/vg_symtab2.c
12 derived from wine-1.0/tools/winedump/pdb.c and msc.c
14 Copyright (C) 2000-2017 Julian Seward
15 jseward@acm.org
17 This program is free software; you can redistribute it and/or
18 modify it under the terms of the GNU General Public License as
19 published by the Free Software Foundation; either version 2 of the
20 License, or (at your option) any later version.
22 This program is distributed in the hope that it will be useful, but
23 WITHOUT ANY WARRANTY; without even the implied warranty of
24 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25 General Public License for more details.
27 You should have received a copy of the GNU General Public License
28 along with this program; if not, see <http://www.gnu.org/licenses/>.
30 The GNU General Public License is contained in the file COPYING.
33 #if defined(VGO_linux) || defined(VGO_darwin) || defined(VGO_solaris) || defined(VGO_freebsd)
35 #ifndef __PRIV_READPDB_H
36 #define __PRIV_READPDB_H
38 #include "pub_core_basics.h" // Addr
39 #include "pub_core_debuginfo.h" // DebugInfo
41 /* Returns True if OK, False for any kind of failure. */
42 extern Bool ML_(read_pdb_debug_info)(
43 DebugInfo* di,
44 Addr obj_avma,
45 PtrdiffT obj_bias,
46 void* pdbimage,
47 SizeT n_pdbimage,
48 const HChar* pdbname,
49 ULong pdbmtime
52 /* Finds the name of the PDB file that's embedded with the specified
53 PE file, or NULL on failure. Caller deallocates with
54 ML_(dinfo_free). */
55 HChar* ML_(find_name_of_pdb_file)( const HChar* pename );
58 #endif /* ndef __PRIV_READPDB_H */
60 #endif // defined(VGO_linux) || defined(VGO_darwin) || defined(VGO_solaris) || defined(VGO_freebsd)
62 /*--------------------------------------------------------------------*/
63 /*--- end ---*/
64 /*--------------------------------------------------------------------*/