#include "InferiorCallPOSIX.h"
#include "lldb/Core/Address.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/ValueObject.h"
#include "lldb/Expression/DiagnosticManager.h"
#include "lldb/Host/Config.h"
#include "lldb/Symbol/SymbolContext.h"
#include "lldb/Symbol/TypeSystem.h"
#include "lldb/Target/ExecutionContext.h"
#include "lldb/Target/Platform.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/ThreadPlanCallFunction.h"
#if LLDB_ENABLE_POSIX
#include <sys/mman.h>
#else
#define PROT_NONE …
#define PROT_READ …
#define PROT_WRITE …
#define PROT_EXEC …
#endif
usingnamespacelldb;
usingnamespacelldb_private;
bool lldb_private::InferiorCallMmap(Process *process, addr_t &allocated_addr,
addr_t addr, addr_t length, unsigned prot,
unsigned flags, addr_t fd, addr_t offset) { … }
bool lldb_private::InferiorCallMunmap(Process *process, addr_t addr,
addr_t length) { … }