LLDB mainline
Namespaces | Functions
Address.cpp File Reference
#include "lldb/Core/Address.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Core/Declaration.h"
#include "lldb/Core/DumpDataExtractor.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/ModuleList.h"
#include "lldb/Core/Section.h"
#include "lldb/Symbol/Block.h"
#include "lldb/Symbol/LineEntry.h"
#include "lldb/Symbol/ObjectFile.h"
#include "lldb/Symbol/Symbol.h"
#include "lldb/Symbol/SymbolContext.h"
#include "lldb/Symbol/SymbolVendor.h"
#include "lldb/Symbol/Symtab.h"
#include "lldb/Symbol/Type.h"
#include "lldb/Symbol/Variable.h"
#include "lldb/Symbol/VariableList.h"
#include "lldb/Target/ABI.h"
#include "lldb/Target/ExecutionContext.h"
#include "lldb/Target/ExecutionContextScope.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/SectionLoadList.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/AnsiTerminal.h"
#include "lldb/Utility/ConstString.h"
#include "lldb/Utility/DataExtractor.h"
#include "lldb/Utility/Endian.h"
#include "lldb/Utility/FileSpec.h"
#include "lldb/Utility/Status.h"
#include "lldb/Utility/Stream.h"
#include "lldb/Utility/StreamString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Compiler.h"
#include "llvm/TargetParser/Triple.h"
#include <cstdint>
#include <memory>
#include <vector>
#include <cassert>
#include <cinttypes>
#include <cstring>

Go to the source code of this file.

Namespaces

namespace  lldb_private
 A class that represents a running process on the host machine.
 

Functions

static size_t ReadBytes (ExecutionContextScope *exe_scope, const Address &address, void *dst, size_t dst_len)
 
static bool GetByteOrderAndAddressSize (ExecutionContextScope *exe_scope, const Address &address, ByteOrder &byte_order, uint32_t &addr_size)
 
static uint64_t ReadUIntMax64 (ExecutionContextScope *exe_scope, const Address &address, uint32_t byte_size, bool &success)
 
static bool ReadAddress (ExecutionContextScope *exe_scope, const Address &address, uint32_t pointer_size, Address &deref_so_addr)
 
static bool DumpUInt (ExecutionContextScope *exe_scope, const Address &address, uint32_t byte_size, Stream *strm)
 
static size_t ReadCStringFromMemory (ExecutionContextScope *exe_scope, const Address &address, Stream *strm)
 

Function Documentation

◆ DumpUInt()

static bool DumpUInt ( ExecutionContextScope exe_scope,
const Address address,
uint32_t  byte_size,
Stream strm 
)
static

◆ GetByteOrderAndAddressSize()

static bool GetByteOrderAndAddressSize ( ExecutionContextScope exe_scope,
const Address address,
ByteOrder byte_order,
uint32_t &  addr_size 
)
static

◆ ReadAddress()

static bool ReadAddress ( ExecutionContextScope exe_scope,
const Address address,
uint32_t  pointer_size,
Address deref_so_addr 
)
static

◆ ReadBytes()

static size_t ReadBytes ( ExecutionContextScope exe_scope,
const Address address,
void *  dst,
size_t  dst_len 
)
static

◆ ReadCStringFromMemory()

static size_t ReadCStringFromMemory ( ExecutionContextScope exe_scope,
const Address address,
Stream strm 
)
static

◆ ReadUIntMax64()

static uint64_t ReadUIntMax64 ( ExecutionContextScope exe_scope,
const Address address,
uint32_t  byte_size,
bool &  success 
)
static