003 File Manager
Current Path:
/usr/src/contrib/llvm-project/lldb/include/lldb/API
usr
/
src
/
contrib
/
llvm-project
/
lldb
/
include
/
lldb
/
API
/
📁
..
📄
LLDB.h
(2.82 KB)
📄
SBAddress.h
(3.72 KB)
📄
SBAttachInfo.h
(5.32 KB)
📄
SBBlock.h
(2.53 KB)
📄
SBBreakpoint.h
(4.36 KB)
📄
SBBreakpointLocation.h
(2.42 KB)
📄
SBBreakpointName.h
(3.07 KB)
📄
SBBroadcaster.h
(2.34 KB)
📄
SBCommandInterpreter.h
(14.14 KB)
📄
SBCommandInterpreterRunOptions.h
(2.45 KB)
📄
SBCommandReturnObject.h
(2.9 KB)
📄
SBCommunication.h
(2.45 KB)
📄
SBCompileUnit.h
(2.73 KB)
📄
SBData.h
(5.21 KB)
📄
SBDebugger.h
(10.31 KB)
📄
SBDeclaration.h
(1.62 KB)
📄
SBDefines.h
(3.12 KB)
📄
SBEnvironment.h
(4.26 KB)
📄
SBError.h
(2 KB)
📄
SBEvent.h
(1.92 KB)
📄
SBExecutionContext.h
(1.58 KB)
📄
SBExpressionOptions.h
(3.04 KB)
📄
SBFile.h
(1.23 KB)
📄
SBFileSpec.h
(2.33 KB)
📄
SBFileSpecList.h
(1.37 KB)
📄
SBFrame.h
(6.64 KB)
📄
SBFunction.h
(1.84 KB)
📄
SBHostOS.h
(1.31 KB)
📄
SBInstruction.h
(2.11 KB)
📄
SBInstructionList.h
(1.81 KB)
📄
SBLanguageRuntime.h
(744 B)
📄
SBLaunchInfo.h
(5.34 KB)
📄
SBLineEntry.h
(1.78 KB)
📄
SBListener.h
(3.26 KB)
📄
SBMemoryRegionInfo.h
(2.61 KB)
📄
SBMemoryRegionInfoList.h
(1.37 KB)
📄
SBModule.h
(10.9 KB)
📄
SBModuleSpec.h
(3.19 KB)
📄
SBPlatform.h
(3.83 KB)
📄
SBProcess.h
(14.29 KB)
📄
SBProcessInfo.h
(1.35 KB)
📄
SBQueue.h
(1.35 KB)
📄
SBQueueItem.h
(1.08 KB)
📄
SBReproducer.h
(1.47 KB)
📄
SBSection.h
(2.52 KB)
📄
SBSourceManager.h
(1.4 KB)
📄
SBStream.h
(3 KB)
📄
SBStringList.h
(1.51 KB)
📄
SBStructuredData.h
(3.34 KB)
📄
SBSymbol.h
(2.04 KB)
📄
SBSymbolContext.h
(2.27 KB)
📄
SBSymbolContextList.h
(1.38 KB)
📄
SBTarget.h
(30.06 KB)
📄
SBThread.h
(6.83 KB)
📄
SBThreadCollection.h
(1.34 KB)
📄
SBThreadPlan.h
(4.27 KB)
📄
SBTrace.h
(4.02 KB)
📄
SBTraceOptions.h
(1.56 KB)
📄
SBType.h
(5.38 KB)
📄
SBTypeCategory.h
(2.72 KB)
📄
SBTypeEnumMember.h
(1.81 KB)
📄
SBTypeFilter.h
(1.67 KB)
📄
SBTypeFormat.h
(1.78 KB)
📄
SBTypeNameSpecifier.h
(1.56 KB)
📄
SBTypeSummary.h
(3.35 KB)
📄
SBTypeSynthetic.h
(1.9 KB)
📄
SBUnixSignals.h
(1.58 KB)
📄
SBValue.h
(14.47 KB)
📄
SBValueList.h
(1.65 KB)
📄
SBVariablesOptions.h
(1.8 KB)
📄
SBWatchpoint.h
(1.85 KB)
Editing: SBData.h
//===-- SBData.h -----------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef LLDB_API_SBDATA_H #define LLDB_API_SBDATA_H #include "lldb/API/SBDefines.h" namespace lldb { class LLDB_API SBData { public: SBData(); SBData(const SBData &rhs); const SBData &operator=(const SBData &rhs); ~SBData(); uint8_t GetAddressByteSize(); void SetAddressByteSize(uint8_t addr_byte_size); void Clear(); explicit operator bool() const; bool IsValid(); size_t GetByteSize(); lldb::ByteOrder GetByteOrder(); void SetByteOrder(lldb::ByteOrder endian); float GetFloat(lldb::SBError &error, lldb::offset_t offset); double GetDouble(lldb::SBError &error, lldb::offset_t offset); long double GetLongDouble(lldb::SBError &error, lldb::offset_t offset); lldb::addr_t GetAddress(lldb::SBError &error, lldb::offset_t offset); uint8_t GetUnsignedInt8(lldb::SBError &error, lldb::offset_t offset); uint16_t GetUnsignedInt16(lldb::SBError &error, lldb::offset_t offset); uint32_t GetUnsignedInt32(lldb::SBError &error, lldb::offset_t offset); uint64_t GetUnsignedInt64(lldb::SBError &error, lldb::offset_t offset); int8_t GetSignedInt8(lldb::SBError &error, lldb::offset_t offset); int16_t GetSignedInt16(lldb::SBError &error, lldb::offset_t offset); int32_t GetSignedInt32(lldb::SBError &error, lldb::offset_t offset); int64_t GetSignedInt64(lldb::SBError &error, lldb::offset_t offset); const char *GetString(lldb::SBError &error, lldb::offset_t offset); size_t ReadRawData(lldb::SBError &error, lldb::offset_t offset, void *buf, size_t size); bool GetDescription(lldb::SBStream &description, lldb::addr_t base_addr = LLDB_INVALID_ADDRESS); // it would be nice to have SetData(SBError, const void*, size_t) when // endianness and address size can be inferred from the existing // DataExtractor, but having two SetData() signatures triggers a SWIG bug // where the typemap isn't applied before resolving the overload, and thus // the right function never gets called void SetData(lldb::SBError &error, const void *buf, size_t size, lldb::ByteOrder endian, uint8_t addr_size); // see SetData() for why we don't have Append(const void* buf, size_t size) bool Append(const SBData &rhs); static lldb::SBData CreateDataFromCString(lldb::ByteOrder endian, uint32_t addr_byte_size, const char *data); // in the following CreateData*() and SetData*() prototypes, the two // parameters array and array_len should not be renamed or rearranged, // because doing so will break the SWIG typemap static lldb::SBData CreateDataFromUInt64Array(lldb::ByteOrder endian, uint32_t addr_byte_size, uint64_t *array, size_t array_len); static lldb::SBData CreateDataFromUInt32Array(lldb::ByteOrder endian, uint32_t addr_byte_size, uint32_t *array, size_t array_len); static lldb::SBData CreateDataFromSInt64Array(lldb::ByteOrder endian, uint32_t addr_byte_size, int64_t *array, size_t array_len); static lldb::SBData CreateDataFromSInt32Array(lldb::ByteOrder endian, uint32_t addr_byte_size, int32_t *array, size_t array_len); static lldb::SBData CreateDataFromDoubleArray(lldb::ByteOrder endian, uint32_t addr_byte_size, double *array, size_t array_len); bool SetDataFromCString(const char *data); bool SetDataFromUInt64Array(uint64_t *array, size_t array_len); bool SetDataFromUInt32Array(uint32_t *array, size_t array_len); bool SetDataFromSInt64Array(int64_t *array, size_t array_len); bool SetDataFromSInt32Array(int32_t *array, size_t array_len); bool SetDataFromDoubleArray(double *array, size_t array_len); protected: // Mimic shared pointer... lldb_private::DataExtractor *get() const; lldb_private::DataExtractor *operator->() const; lldb::DataExtractorSP &operator*(); const lldb::DataExtractorSP &operator*() const; SBData(const lldb::DataExtractorSP &data_sp); void SetOpaque(const lldb::DataExtractorSP &data_sp); private: friend class SBInstruction; friend class SBProcess; friend class SBSection; friend class SBTarget; friend class SBValue; lldb::DataExtractorSP m_opaque_sp; }; } // namespace lldb #endif // LLDB_API_SBDATA_H
Upload File
Create Folder