Go to the documentation of this file.
30 switch (func_ptr_address_type) {
53 if (ABISP abi_sp = process->GetABI()) {
54 addr_t fixed_addr = abi_sp->FixCodeAddress(func_ptr_address);
55 if (fixed_addr != func_ptr_address) {
60 sstr.
Printf(
"actual=0x%*.*" PRIx64
" ", addrsize * 2,
61 addrsize * 2, fixed_addr);
62 so_addr = test_address;
71 Address::DumpStyleResolvedDescription,
72 Address::DumpStyleSectionNameOffset);
bool SetLoadAddress(lldb::addr_t load_addr, Target *target, bool allow_section_end=false)
Set the address to represent load_addr.
bool IsValid() const
Check if the object state is valid.
Process * GetProcessPtr() const
Returns a pointer to the process object.
@ eAddressTypeHost
Address is an address in the process that is running this code.
lldb::addr_t GetPointerValue(AddressType *address_type=nullptr)
const char * GetData() const
const ExecutionContextRef & GetExecutionContextRef() const
string(SUBSTRING ${p} 10 -1 pStripped) if($
@ eAddressTypeLoad
Address is an address as in the current target inferior process.
lldb::SectionSP GetSection() const
Get const accessor for the section.
bool ResolveLoadAddress(lldb::addr_t load_addr, Address &so_addr, bool allow_section_end=false) const
uint32_t GetAddressByteSize() const
Returns the size in bytes of an address of the current architecture.
const ArchSpec & GetArchitecture() const
bool Dump(Stream *s, ExecutionContextScope *exe_scope, DumpStyle style, DumpStyle fallback_style=DumpStyleInvalid, uint32_t addr_byte_size=UINT32_MAX, bool all_ranges=false) const
Dump a description of this object to a Stream.
ExecutionContextScope * GetBestExecutionContextScope() const
@ eAddressTypeFile
Address is an address as found in an object or symbol file.
SectionLoadList & GetSectionLoadList()
#define LLDB_INVALID_ADDRESS
size_t Printf(const char *format,...) __attribute__((format(printf
Output printf formatted output to the stream.
A class that represents a running process on the host machine.
Target * GetTargetPtr() const
Returns a pointer to the target object.