Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:13:30

0001 
0002 /*--------------------------------------------------------------------*/
0003 /*--- Services layered on top of m_aspacemgr.  pub_tool_aspacehl.h ---*/
0004 /*--------------------------------------------------------------------*/
0005 
0006 /*
0007    This file is part of Valgrind, a dynamic binary instrumentation
0008    framework.
0009 
0010    Copyright (C) 2009-2017 Julian Seward
0011       jseward@acm.org
0012 
0013    This program is free software; you can redistribute it and/or
0014    modify it under the terms of the GNU General Public License as
0015    published by the Free Software Foundation; either version 2 of the
0016    License, or (at your option) any later version.
0017 
0018    This program is distributed in the hope that it will be useful, but
0019    WITHOUT ANY WARRANTY; without even the implied warranty of
0020    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0021    General Public License for more details.
0022 
0023    You should have received a copy of the GNU General Public License
0024    along with this program; if not, see <http://www.gnu.org/licenses/>.
0025 
0026    The GNU General Public License is contained in the file COPYING.
0027 */
0028 
0029 #ifndef __PUB_TOOL_ASPACEHL_H
0030 #define __PUB_TOOL_ASPACEHL_H
0031 
0032 #include "pub_tool_basics.h"   // VG_ macro
0033 
0034 // Extract from aspacem a vector of the current segment start
0035 // addresses.  The vector is dynamically allocated and should be freed
0036 // by the caller when done.  REQUIRES m_mallocfree to be running.
0037 // Writes the number of addresses required into *n_acquired.
0038 // Only those segments are considered whose kind matches any of the kinds
0039 // given in KIND_MASK.
0040 extern Addr* VG_(get_segment_starts)( UInt kind_mask, /*OUT*/Int* n_acquired );
0041 
0042 #endif   // __PUB_TOOL_ASPACEHL_H
0043 
0044 /*--------------------------------------------------------------------*/
0045 /*--- end                                                          ---*/
0046 /*--------------------------------------------------------------------*/