lldb-sys 0.0.31

Raw bindings to the LLDB C++ API. LLDB is the debugger that is part of the LLVM project and is the default system debugger on Mac OS X. Building and using this is currently slightly tricky, so be sure to see the README.md in the repository.
Documentation
//===-- SBMemoryRegionInfoBinding.h -----------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef LLDB_SBMemoryRegionInfoBinding_h_
#define LLDB_SBMemoryRegionInfoBinding_h_

#include "lldb/Bindings/SBBindingDefines.h"

#ifdef __cplusplus
extern "C" {
#endif

LLDB_API SBMemoryRegionInfoRef CreateSBMemoryRegionInfo(void);

LLDB_API SBMemoryRegionInfoRef
CreateSBMemoryRegionInfo2(const char *name, lldb_addr_t begin, lldb_addr_t end,
                          uint32_t permissions, bool mapped, bool stack_memory);

LLDB_API SBMemoryRegionInfoRef
CloneSBMemoryRegionInfo(SBMemoryRegionInfoRef instance);

LLDB_API void DisposeSBMemoryRegionInfo(SBMemoryRegionInfoRef instance);

LLDB_API void SBMemoryRegionInfoClear(SBMemoryRegionInfoRef instance);

LLDB_API lldb_addr_t
SBMemoryRegionInfoGetRegionBase(SBMemoryRegionInfoRef instance);

LLDB_API lldb_addr_t
SBMemoryRegionInfoGetRegionEnd(SBMemoryRegionInfoRef instance);

LLDB_API bool SBMemoryRegionInfoIsReadable(SBMemoryRegionInfoRef instance);

LLDB_API bool SBMemoryRegionInfoIsWritable(SBMemoryRegionInfoRef instance);

LLDB_API bool SBMemoryRegionInfoIsExecutable(SBMemoryRegionInfoRef instance);

LLDB_API bool SBMemoryRegionInfoIsMapped(SBMemoryRegionInfoRef instance);

LLDB_API const char *SBMemoryRegionInfoGetName(SBMemoryRegionInfoRef instance);

LLDB_API bool
SBMemoryRegionInfoHasDirtyMemoryPageList(SBMemoryRegionInfoRef instance);

LLDB_API uint32_t
SBMemoryRegionInfoGetNumDirtyPages(SBMemoryRegionInfoRef instance);

LLDB_API lldb_addr_t SBMemoryRegionInfoGetDirtyPageAddressAtIndex(
    SBMemoryRegionInfoRef instance, uint32_t idx);

LLDB_API int SBMemoryRegionInfoGetPageSize(SBMemoryRegionInfoRef instance);

LLDB_API bool SBMemoryRegionInfoGetDescription(SBMemoryRegionInfoRef instance,
                                               SBStreamRef description);

#ifdef __cplusplus
}
#endif

#endif // LLDB_SBMemoryRegionInfoBinding_h_