|
LLDB mainline
|
#include "InferiorCallPOSIX.h"#include "lldb/Core/Address.h"#include "lldb/Core/Module.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"#include "lldb/ValueObject/ValueObject.h"Go to the source code of this file.
Macros | |
| #define | PROT_NONE 0 |
| #define | PROT_READ 1 |
| #define | PROT_WRITE 2 |
| #define | PROT_EXEC 4 |
Functions | |
| static Address | GetCallableAddress (Target &target, const SymbolContextList &sc_list) |
Pick a call target from sc_list. | |
| #define PROT_EXEC 4 |
Definition at line 30 of file InferiorCallPOSIX.cpp.
Referenced by lldb_private::process_linux::NativeProcessLinux::AllocateMemory(), and lldb_private::InferiorCallMmap().
| #define PROT_NONE 0 |
Definition at line 27 of file InferiorCallPOSIX.cpp.
Referenced by lldb_private::process_linux::NativeProcessLinux::AllocateMemory(), and lldb_private::InferiorCallMmap().
| #define PROT_READ 1 |
| #define PROT_WRITE 2 |
Definition at line 29 of file InferiorCallPOSIX.cpp.
Referenced by lldb_private::process_linux::NativeProcessLinux::AllocateMemory(), lldb_private::InferiorCallMmap(), and lldb_private::process_linux::PerfEvent::MmapMetadataAndDataBuffer().
|
static |
Pick a call target from sc_list.
A symbol from an ELF filter/auxiliary library is resolved through its filtee(s) first, falling back to its own definition only if none of them provide it, mirroring what the dynamic linker does.
Definition at line 40 of file InferiorCallPOSIX.cpp.
References lldb::eSymbolTypeReExported, lldb_private::SymbolContextList::GetContextAtIndex(), lldb_private::SymbolContext::GetFunctionOrSymbolAddress(), lldb_private::SymbolContextList::GetSize(), lldb_private::Symbol::GetType(), lldb_private::SymbolContext::module_sp, lldb_private::Symbol::ResolveReExportedSymbol(), and lldb_private::SymbolContext::symbol.
Referenced by lldb_private::InferiorCallMmap(), and lldb_private::InferiorCallMunmap().