/*--------------------------------------------------------------------*/ /*--- Reading of syms & debug info from PDB-format files. ---*/ /*--- priv_readpdb.h ---*/ /*--------------------------------------------------------------------*/ /* This file is part of Valgrind, a dynamic binary instrumentation framework. Spring 2008: derived from readelf.c and valgrind-20031012-wine/vg_symtab2.c derived from wine-1.0/tools/winedump/pdb.c and msc.c Copyright (C) 2000-2017 Julian Seward jseward@acm.org This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, see . The GNU General Public License is contained in the file COPYING. */ #if defined(VGO_linux) || defined(VGO_darwin) || defined(VGO_solaris) #ifndef __PRIV_READPDB_H #define __PRIV_READPDB_H #include "pub_core_basics.h" // Addr #include "pub_core_debuginfo.h" // DebugInfo /* Returns True if OK, False for any kind of failure. */ extern Bool ML_(read_pdb_debug_info)( DebugInfo* di, Addr obj_avma, PtrdiffT obj_bias, void* pdbimage, SizeT n_pdbimage, const HChar* pdbname, ULong pdbmtime ); /* Finds the name of the PDB file that's embedded with the specified PE file, or NULL on failure. Caller deallocates with ML_(dinfo_free). */ HChar* ML_(find_name_of_pdb_file)( const HChar* pename ); #endif /* ndef __PRIV_READPDB_H */ #endif // defined(VGO_linux) || defined(VGO_darwin) || defined(VGO_solaris) /*--------------------------------------------------------------------*/ /*--- end ---*/ /*--------------------------------------------------------------------*/