LLDB
mainline
llvm-project
lldb
source
Plugins
Process
Utility
InferiorCallPOSIX.h
Go to the documentation of this file.
1
//===-- InferiorCallPOSIX.h -------------------------------------*- 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
#ifndef LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_INFERIORCALLPOSIX_H
10
#define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_INFERIORCALLPOSIX_H
11
12
// Inferior execution of POSIX functions.
13
14
#include "
lldb/lldb-types.h
"
15
16
namespace
lldb_private
{
17
18
class
Process
;
19
20
enum
MmapProt
{
21
eMmapProtNone
= 0,
22
eMmapProtExec
= 1,
23
eMmapProtRead
= 2,
24
eMmapProtWrite
= 4
25
};
26
27
bool
InferiorCallMmap
(Process *proc,
lldb::addr_t
&allocated_addr,
28
lldb::addr_t
addr,
lldb::addr_t
length,
unsigned
prot,
29
unsigned
flags,
lldb::addr_t
fd,
lldb::addr_t
offset);
30
31
bool
InferiorCallMunmap
(Process *proc,
lldb::addr_t
addr,
lldb::addr_t
length);
32
33
}
// namespace lldb_private
34
35
#endif
// LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_INFERIORCALLPOSIX_H
lldb-types.h
lldb_private
A class that represents a running process on the host machine.
Definition:
SBAddressRange.h:14
lldb_private::InferiorCallMunmap
bool InferiorCallMunmap(Process *proc, lldb::addr_t addr, lldb::addr_t length)
Definition:
InferiorCallPOSIX.cpp:134
lldb_private::LLDBLog::Process
@ Process
lldb_private::MmapProt
MmapProt
Definition:
InferiorCallPOSIX.h:20
lldb_private::eMmapProtExec
@ eMmapProtExec
Definition:
InferiorCallPOSIX.h:22
lldb_private::eMmapProtRead
@ eMmapProtRead
Definition:
InferiorCallPOSIX.h:23
lldb_private::eMmapProtWrite
@ eMmapProtWrite
Definition:
InferiorCallPOSIX.h:24
lldb_private::eMmapProtNone
@ eMmapProtNone
Definition:
InferiorCallPOSIX.h:21
lldb_private::InferiorCallMmap
bool InferiorCallMmap(Process *proc, lldb::addr_t &allocated_addr, lldb::addr_t addr, lldb::addr_t length, unsigned prot, unsigned flags, lldb::addr_t fd, lldb::addr_t offset)
Definition:
InferiorCallPOSIX.cpp:36
lldb::addr_t
uint64_t addr_t
Definition:
lldb-types.h:80
Generated on Tue Dec 3 2024 06:27:15 for LLDB by
1.9.6