LLDB  mainline
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_InferiorCallPOSIX_h_
10 #define lldb_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 {
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 bool InferiorCall(Process *proc, const Address *address,
34  lldb::addr_t &returned_func, bool trap_exceptions = false);
35 
36 } // namespace lldb_private
37 
38 #endif // lldb_InferiorCallPOSIX_h_
Enumerations for broadcasting.
Definition: SBLaunchInfo.h:14
bool InferiorCall(Process *proc, const Address *address, lldb::addr_t &returned_func, bool trap_exceptions=false)
bool InferiorCallMunmap(Process *proc, lldb::addr_t addr, lldb::addr_t length)
A plug-in interface definition class for debugging a process.
Definition: Process.h:353
A section + offset based address class.
Definition: Address.h:80
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)
uint64_t addr_t
Definition: lldb-types.h:83