1 //===-- SWIG Interface for SBMemoryRegionInfo -------------------*- C++ -*-===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 9 namespace lldb { 10 11 %feature("docstring", 12 "API clients can get information about memory regions in processes." 13 ) SBMemoryRegionInfo; 14 15 class SBMemoryRegionInfo 16 { 17 public: 18 19 SBMemoryRegionInfo (); 20 21 SBMemoryRegionInfo (const lldb::SBMemoryRegionInfo &rhs); 22 23 ~SBMemoryRegionInfo (); 24 25 void 26 Clear(); 27 28 lldb::addr_t 29 GetRegionBase (); 30 31 lldb::addr_t 32 GetRegionEnd (); 33 34 bool 35 IsReadable (); 36 37 bool 38 IsWritable (); 39 40 bool 41 IsExecutable (); 42 43 bool 44 IsMapped (); 45 46 const char * 47 GetName (); 48 49 bool 50 operator == (const lldb::SBMemoryRegionInfo &rhs) const; 51 52 bool 53 operator != (const lldb::SBMemoryRegionInfo &rhs) const; 54 55 bool 56 GetDescription (lldb::SBStream &description); 57 58 STRING_EXTENSION(SBMemoryRegionInfo) 59 }; 60 61 } // namespace lldb 62