reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Overridden By

tools/lldb/source/Utility/DataBufferHeap.cpp
   34 uint8_t *DataBufferHeap::GetBytes() {
tools/lldb/source/Utility/DataBufferLLVM.cpp
   29 uint8_t *DataBufferLLVM::GetBytes() {

References

tools/lldb/include/lldb/Target/ProcessStructReader.h
   74     process->ReadMemoryFromInferior(base_addr, buffer_sp->GetBytes(),
tools/lldb/include/lldb/Utility/DataBuffer.h
   78     return llvm::MutableArrayRef<uint8_t>(GetBytes(), GetByteSize());
tools/lldb/source/Commands/CommandObjectMemory.cpp
  668       if (data_sp->GetBytes() == nullptr) {
  678       bytes_read = target->ReadMemory(address, false, data_sp->GetBytes(),
  710       if (data_sp->GetBytes() == nullptr) {
  718       uint8_t *data_ptr = data_sp->GetBytes();
  757           std::make_shared<DataBufferHeap>(data_sp->GetBytes(), bytes_read + 1);
  788               outfile_stream_up->Write(data_sp->GetBytes(), bytes_read);
tools/lldb/source/Core/SourceManager.cpp
  468     return (const char *)m_data_sp->GetBytes() + line_offset;
  486           (const char *)m_data_sp->GetBytes() + start_offset;
  569       const uint8_t *cstr = m_data_sp->GetBytes() + start_line_offset;
  627       const char *start = (char *)m_data_sp->GetBytes();
  677   buffer.assign((char *)m_data_sp->GetBytes() + start_offset,
tools/lldb/source/Core/ValueObject.cpp
  949   memcpy(destination->GetBytes(), source.GetString().data(), source.GetSize());
 1012         memcpy(buffer_sp->GetBytes(), cstr, cstr_len);
tools/lldb/source/Core/ValueObjectConstResult.cpp
  111   m_value.GetScalar() = (uintptr_t)data_sp->GetBytes();
tools/lldb/source/DataFormatters/StringPrinter.cpp
  312       utf8_data_ptr = (llvm::UTF8 *)utf8_data_buffer_sp->GetBytes();
  321           (llvm::UTF8 *)utf8_data_buffer_sp->GetBytes();
  444       options.GetLocation(), (char *)buffer_sp->GetBytes(), size, my_error);
  457   uint8_t *data_end = buffer_sp->GetBytes() + buffer_sp->GetByteSize();
  476   for (uint8_t *data = buffer_sp->GetBytes(); *data && (data < data_end);) {
  560   if (!buffer_sp->GetBytes())
  564   char *buffer = reinterpret_cast<char *>(buffer_sp->GetBytes());
  571                                        (char *)buffer_sp->GetBytes(),
tools/lldb/source/DataFormatters/TypeFormat.cpp
   84                       address, (char *)buffer_sp->GetBytes(), max_len, error) &&
tools/lldb/source/Expression/IRExecutionUnit.cpp
  155   process->ReadMemory(func_remote_addr, buffer_sp->GetBytes(),
tools/lldb/source/Expression/Materializer.cpp
  636             !memcmp(m_original_data->GetBytes(), data.GetDataStart(),
 1266     if (!memcmp(register_data.GetDataStart(), m_register_contents->GetBytes(),
tools/lldb/source/Plugins/ABI/SysV-arm/ABISysV_arm.cpp
 1814             reg_info, data_sp->GetBytes() + data_offset, vfp_byte_size,
tools/lldb/source/Plugins/ABI/SysV-mips/ABISysV_mips.cpp
  919                 offset, 4, data_sp->GetBytes(), 4, target_byte_order);
  923                 offset, 4, data_sp->GetBytes() + 4, 4, target_byte_order);
  927                 offset, 4, data_sp->GetBytes() + 4, 4, target_byte_order);
  931                 offset, 4, data_sp->GetBytes(), 4, target_byte_order);
tools/lldb/source/Plugins/ABI/SysV-mips64/ABISysV_mips64.cpp
  873                   0, 8, data_sp->GetBytes(), *byte_size - 8, target_byte_order);
  877                   0, 8, data_sp->GetBytes() + 8, *byte_size - 8,
  882                   0, 8, data_sp->GetBytes() + 8, *byte_size - 8,
  887                   0, 8, data_sp->GetBytes(), *byte_size - 8, target_byte_order);
 1011                 data_sp->GetBytes() + (field_bit_offset / 8), *field_byte_width,
 1093             r2_info, data_sp->GetBytes(), r2_info->byte_size, target_byte_order,
 1102             r3_info, data_sp->GetBytes() + r2_info->byte_size,
tools/lldb/source/Plugins/ABI/SysV-ppc/ABISysV_ppc.cpp
  833             data_sp->GetBytes() + field_byte_offset, field_byte_width,
tools/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp
  971             data_sp->GetBytes() + field_byte_offset, field_byte_width,
tools/lldb/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp
 1679           field_byte_width, data_sp->GetBytes() + field_byte_offset,
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
  804           m_process->ReadMemory(load_cmd_addr, load_cmd_data_sp->GetBytes(),
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
  264         process_sp->ReadMemory(addr, buffer_sp->GetBytes(),
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxVector.cpp
  219   if (bit_set && buffer_sp && buffer_sp->GetBytes()) {
  221     *(buffer_sp->GetBytes()) = 1;
tools/lldb/source/Plugins/Language/ObjC/CF.cpp
  164       process_sp->ReadMemory(data_ptr, buffer_sp->GetBytes(), num_bytes, error);
  167   uint8_t *bytes = buffer_sp->GetBytes();
tools/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp
  625       uint64_t *data_ptr = (uint64_t *)buffer_sp->GetBytes();
  629       uint32_t *data_ptr = (uint32_t *)buffer_sp->GetBytes();
  702     uint64_t *data_ptr = (uint64_t *)buffer_sp->GetBytes();
  706     uint32_t *data_ptr = (uint32_t *)buffer_sp->GetBytes();
  869       uint64_t *data_ptr = (uint64_t *)buffer_sp->GetBytes();
  873       uint32_t *data_ptr = (uint32_t *)buffer_sp->GetBytes();
 1027       uint64_t *data_ptr = (uint64_t *)buffer_sp->GetBytes();
 1031       uint32_t *data_ptr = (uint32_t *)buffer_sp->GetBytes();
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp
  238       name_ptr, (char *)buffer_sp->GetBytes(), 1024, error);
  246     m_name = ConstString((char *)buffer_sp->GetBytes());
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp
  348   uint8_t *dst = (uint8_t *)data_sp->GetBytes();
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
  345   const uint8_t *magic = data_sp->GetBytes() + data_offset;
  355     magic = data_sp->GetBytes();
  374     const uint8_t *magic = data_sp->GetBytes();
  394     const uint8_t *magic = data_sp->GetBytes() + data_offset;
 2594               data_buffer_sp->GetBytes() + rel_section->GetFileOffset() +
 2621               data_buffer_sp->GetBytes() + rel_section->GetFileOffset() +
tools/lldb/source/Plugins/Platform/Android/AdbClient.cpp
  602   m_conn->Write(data_sp->GetBytes(), kSyncPacketLen, status, &error);
tools/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
  378         const uint64_t n_read = ReadFile(fd_src, offset, buffer_sp->GetBytes(),
  385                                                buffer_sp->GetBytes(), n_read,
tools/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.cpp
  691   uint8_t *dst = data_sp->GetBytes();
  770   uint8_t *src = data_sp->GetBytes();
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
 1301     uint8_t *dst = data_sp->GetBytes();
 1317     const uint8_t *src = data_sp->GetBytes();
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm64.cpp
  657     uint8_t *dst = data_sp->GetBytes();
  673     const uint8_t *src = data_sp->GetBytes();
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_i386.cpp
  834     uint8_t *dst = data_sp->GetBytes();
  850     const uint8_t *src = data_sp->GetBytes();
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp
  898     uint8_t *dst = data_sp->GetBytes();
  914     const uint8_t *src = data_sp->GetBytes();
tools/lldb/source/Plugins/Process/Utility/RegisterContextMemory.cpp
  108       if (process_sp->ReadMemory(m_reg_data_addr, data_sp->GetBytes(),
  126       if (process_sp->WriteMemory(m_reg_data_addr, data_sp->GetBytes(),
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
  175         lldb_reg, llvm::ArrayRef<uint8_t>(buffer_sp->GetBytes(),
  201                buffer_sp->GetBytes(),
  519   if (!data_sp || data_sp->GetBytes() == nullptr || data_sp->GetByteSize() == 0)
  541               {data_sp->GetBytes(), size_t(data_sp->GetByteSize())}))
  666                                    {data_sp->GetBytes() + reg_info->byte_offset,
tools/lldb/source/Plugins/Process/minidump/MinidumpParser.cpp
   42   return llvm::ArrayRef<uint8_t>(m_data_sp->GetBytes(),
tools/lldb/source/Plugins/Process/minidump/RegisterContextMinidump_x86_32.cpp
   32   uint8_t *result_base = result_context_buf->GetBytes();
tools/lldb/source/Plugins/Process/minidump/RegisterContextMinidump_x86_64.cpp
   55   uint8_t *result_base = result_context_buf->GetBytes();
tools/lldb/source/Symbol/CompactUnwindInfo.cpp
  270               m_section_contents_if_encrypted->GetBytes(),
tools/lldb/source/Target/Memory.cpp
  145       memcpy(dst, pos->second->GetBytes() + (addr - chunk_range.GetRangeBase()),
  190                pos->second->GetBytes() + cache_offset, curr_read_size);
  208             memcpy(dst_buf + dst_len - bytes_left, pos->second->GetBytes(),
tools/lldb/source/Target/Platform.cpp
 1252     error = source_file.get()->Read(buffer_sp->GetBytes(), bytes_read);
 1257         WriteFile(dest_file, offset, buffer_sp->GetBytes(), bytes_read, error);
tools/lldb/source/Target/Target.cpp
 3860           reinterpret_cast<const char *>(data_sp->GetBytes()),
tools/lldb/source/Utility/DataEncoder.cpp
  120         m_start = data_sp->GetBytes() + data_offset;
tools/lldb/source/Utility/DataExtractor.cpp
  294         m_start = data_sp->GetBytes() + data_offset;
tools/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
  129             memcmp(buffer_sp->GetBytes(), one_register, sizeof one_register));
  137             memcmp(buffer_sp->GetBytes(), all_registers, sizeof all_registers));