| /openbsd-src/gnu/llvm/lldb/source/Plugins/UnwindAssembly/InstEmulation/ |
| H A D | UnwindAssemblyInstEmulation.cpp | 136 EmulateInstruction::InstructionCondition last_condition = in GetNonCallSiteUnwindPlanFromAssembly() 137 EmulateInstruction::UnconditionalCondition; in GetNonCallSiteUnwindPlanFromAssembly() 188 EmulateInstruction::UnconditionalCondition && in GetNonCallSiteUnwindPlanFromAssembly() 203 EmulateInstruction::UnconditionalCondition) { in GetNonCallSiteUnwindPlanFromAssembly() 327 std::unique_ptr<EmulateInstruction> inst_emulator_up( in CreateInstance() 328 EmulateInstruction::FindPlugin(arch, eInstructionTypePrologueEpilogue, in CreateInstance() 353 if (EmulateInstruction::GetBestRegisterKindAndNumber(®_info, reg_kind, in MakeRegisterKindValuePair() 379 EmulateInstruction *instruction, void *baton, in ReadMemory() 380 const EmulateInstruction::Context &context, lldb::addr_t addr, void *dst, in ReadMemory() 398 EmulateInstruction *instruction, void *baton, in WriteMemory() [all …]
|
| H A D | UnwindAssemblyInstEmulation.h | 64 lldb_private::EmulateInstruction *inst_emulator) in UnwindAssemblyInstEmulation() 78 ReadMemory(lldb_private::EmulateInstruction *instruction, void *baton, 79 const lldb_private::EmulateInstruction::Context &context, 83 WriteMemory(lldb_private::EmulateInstruction *instruction, void *baton, 84 const lldb_private::EmulateInstruction::Context &context, 87 static bool ReadRegister(lldb_private::EmulateInstruction *instruction, 93 WriteRegister(lldb_private::EmulateInstruction *instruction, void *baton, 94 const lldb_private::EmulateInstruction::Context &context, 105 size_t WriteMemory(lldb_private::EmulateInstruction *instruction, 106 const lldb_private::EmulateInstruction::Context &context, [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Core/ |
| H A D | EmulateInstruction.cpp | 44 EmulateInstruction * 45 EmulateInstruction::FindPlugin(const ArchSpec &arch, in FindPlugin() 54 EmulateInstruction *emulate_insn_ptr = in FindPlugin() 65 EmulateInstruction *emulate_insn_ptr = in FindPlugin() 74 EmulateInstruction::EmulateInstruction(const ArchSpec &arch) : m_arch(arch) {} in EmulateInstruction() function in EmulateInstruction 77 EmulateInstruction::ReadRegister(const RegisterInfo ®_info) { in ReadRegister() 88 bool EmulateInstruction::ReadRegister(lldb::RegisterKind reg_kind, in ReadRegister() 101 uint64_t EmulateInstruction::ReadRegisterUnsigned(lldb::RegisterKind reg_kind, in ReadRegisterUnsigned() 113 uint64_t EmulateInstruction::ReadRegisterUnsigned(const RegisterInfo ®_info, in ReadRegisterUnsigned() 126 bool EmulateInstruction::WriteRegister(const Context &context, in WriteRegister() [all …]
|
| H A D | Disassembler.cpp | 675 std::unique_ptr<EmulateInstruction> insn_emulator_up( in DumpEmulation() 676 EmulateInstruction::FindPlugin(arch, eInstructionTypeAny, nullptr)); in DumpEmulation() 926 std::unique_ptr<EmulateInstruction> insn_emulator_up( in TestEmulation() 927 EmulateInstruction::FindPlugin(arch, eInstructionTypeAny, nullptr)); in TestEmulation() 942 EmulateInstruction::ReadMemoryCallback read_mem_callback, in Emulate() 943 EmulateInstruction::WriteMemoryCallback write_mem_callback, in Emulate() 944 EmulateInstruction::ReadRegisterCallback read_reg_callback, in Emulate() 945 EmulateInstruction::WriteRegisterCallback write_reg_callback) { in Emulate() 946 std::unique_ptr<EmulateInstruction> insn_emulator_up( in Emulate() 947 EmulateInstruction::FindPlugin(arch, eInstructionTypeAny, nullptr)); in Emulate()
|
| H A D | CMakeLists.txt | 36 EmulateInstruction.cpp
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/Core/ |
| H A D | EmulateInstruction.h | 94 class EmulateInstruction : public PluginInterface { 96 static EmulateInstruction *FindPlugin(const ArchSpec &arch, 331 void Dump(Stream &s, EmulateInstruction *instruction) const; 334 typedef size_t (*ReadMemoryCallback)(EmulateInstruction *instruction, 339 typedef size_t (*WriteMemoryCallback)(EmulateInstruction *instruction, 344 typedef bool (*ReadRegisterCallback)(EmulateInstruction *instruction, 349 typedef bool (*WriteRegisterCallback)(EmulateInstruction *instruction, 360 EmulateInstruction(const ArchSpec &arch); 362 ~EmulateInstruction() override = default; 442 static size_t ReadMemoryFrame(EmulateInstruction *instruction, void *baton, [all …]
|
| H A D | Disassembler.h | 189 EmulateInstruction::ReadMemoryCallback read_mem_callback, 190 EmulateInstruction::WriteMemoryCallback write_mem_calback, 191 EmulateInstruction::ReadRegisterCallback read_reg_callback, 192 EmulateInstruction::WriteRegisterCallback write_reg_callback);
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Instruction/ARM/ |
| H A D | EmulationStateARM.h | 41 ReadPseudoMemory(lldb_private::EmulateInstruction *instruction, void *baton, 42 const lldb_private::EmulateInstruction::Context &context, 46 WritePseudoMemory(lldb_private::EmulateInstruction *instruction, void *baton, 47 const lldb_private::EmulateInstruction::Context &context, 50 static bool ReadPseudoRegister(lldb_private::EmulateInstruction *instruction, 56 WritePseudoRegister(lldb_private::EmulateInstruction *instruction, 58 const lldb_private::EmulateInstruction::Context &context,
|
| H A D | EmulateInstructionARM.cpp | 722 EmulateInstruction * 757 EmulateInstruction::Context context; in WriteBits32UnknownToMemory() 758 context.type = EmulateInstruction::eContextWriteMemoryRandomBits; in WriteBits32UnknownToMemory() 770 EmulateInstruction::Context context; in WriteBits32Unknown() 771 context.type = EmulateInstruction::eContextWriteRegisterRandomBits; in WriteBits32Unknown() 972 EmulateInstruction::Context context; in EmulatePUSH() 973 context.type = EmulateInstruction::eContextPushRegisterOnStack; in EmulatePUSH() 1001 context.type = EmulateInstruction::eContextAdjustStackPointer; in EmulatePUSH() 1100 EmulateInstruction::Context context; in EmulatePOP() 1101 context.type = EmulateInstruction::eContextPopRegisterOffStack; in EmulatePOP() [all …]
|
| H A D | EmulationStateARM.cpp | 107 EmulateInstruction *instruction, void *baton, in ReadPseudoMemory() 108 const EmulateInstruction::Context &context, lldb::addr_t addr, void *dst, in ReadPseudoMemory() 148 EmulateInstruction *instruction, void *baton, in WritePseudoMemory() 149 const EmulateInstruction::Context &context, lldb::addr_t addr, in WritePseudoMemory() 184 EmulateInstruction *instruction, void *baton, in ReadPseudoRegister() 203 EmulateInstruction *instruction, void *baton, in WritePseudoRegister() 204 const EmulateInstruction::Context &context, in WritePseudoRegister()
|
| H A D | EmulateInstructionARM.h | 47 class EmulateInstructionARM : public EmulateInstruction { 70 static lldb_private::EmulateInstruction * 94 : EmulateInstruction(arch), m_arm_isa(0), m_opcode_mode(eModeInvalid), in EmulateInstructionARM() 215 inline uint64_t MemARead(EmulateInstruction::Context &context, in MemARead() 233 inline bool MemAWrite(EmulateInstruction::Context &context, in MemAWrite() 252 inline uint64_t MemURead(EmulateInstruction::Context &context, in MemURead() 270 inline bool MemUWrite(EmulateInstruction::Context &context, in MemUWrite()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Process/Utility/ |
| H A D | NativeProcessSoftwareSingleStep.cpp | 36 static size_t ReadMemoryCallback(EmulateInstruction *instruction, void *baton, in ReadMemoryCallback() 37 const EmulateInstruction::Context &context, in ReadMemoryCallback() 46 static bool ReadRegisterCallback(EmulateInstruction *instruction, void *baton, in ReadRegisterCallback() 73 static bool WriteRegisterCallback(EmulateInstruction *instruction, void *baton, in WriteRegisterCallback() 74 const EmulateInstruction::Context &context, in WriteRegisterCallback() 83 static size_t WriteMemoryCallback(EmulateInstruction *instruction, void *baton, in WriteMemoryCallback() 84 const EmulateInstruction::Context &context, in WriteMemoryCallback() 104 std::unique_ptr<EmulateInstruction> emulator_up( in SetupSoftwareSingleStepping() 105 EmulateInstruction::FindPlugin(arch, eInstructionTypePCModifying, in SetupSoftwareSingleStepping()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Instruction/RISCV/ |
| H A D | EmulateInstructionRISCV.h | 23 class EmulateInstructionRISCV : public EmulateInstruction { 45 static lldb_private::EmulateInstruction * 53 EmulateInstructionRISCV(const ArchSpec &arch) : EmulateInstruction(arch) {} in EmulateInstructionRISCV() 80 ctx.type = EmulateInstruction::eContextRegisterLoad; in ReadMem() 91 ctx.type = EmulateInstruction::eContextRegisterStore; in WriteMem()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Instruction/ARM64/ |
| H A D | EmulateInstructionARM64.cpp | 124 EmulateInstruction * 427 EmulateInstruction::Context context; in EvaluateInstruction() 675 context.type = EmulateInstruction::eContextRestoreStackPointer; in EmulateADDSUBImm() 678 context.type = EmulateInstruction::eContextAdjustStackPointer; in EmulateADDSUBImm() 681 context.type = EmulateInstruction::eContextSetFramePointer; in EmulateADDSUBImm() 683 context.type = EmulateInstruction::eContextImmediate; in EmulateADDSUBImm() 1060 EmulateInstruction::Context context; in EmulateB() 1061 context.type = EmulateInstruction::eContextRelativeBranchImmediate; in EmulateB() 1107 EmulateInstruction::Context context; in EmulateBcond() 1108 context.type = EmulateInstruction::eContextRelativeBranchImmediate; in EmulateBcond() [all …]
|
| H A D | EmulateInstructionARM64.h | 18 class EmulateInstructionARM64 : public lldb_private::EmulateInstruction { 21 : EmulateInstruction(arch), m_opcode_pstate(), m_emulated_pstate(), in EmulateInstructionARM64() 32 static lldb_private::EmulateInstruction *
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Instruction/LoongArch/ |
| H A D | EmulateInstructionLoongArch.h | 20 class EmulateInstructionLoongArch : public EmulateInstruction { 34 static lldb_private::EmulateInstruction * 42 EmulateInstructionLoongArch(const ArchSpec &arch) : EmulateInstruction(arch) { in EmulateInstructionLoongArch()
|
| H A D | EmulateInstructionLoongArch.cpp | 140 EmulateInstruction::Context ctx; in WritePC() 203 lldb_private::EmulateInstruction * 364 EmulateInstruction::Context ctx; in EmulateJIRL64() 394 EmulateInstruction::Context ctx; in EmulateBL64()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Instruction/PPC64/ |
| H A D | EmulateInstructionPPC64.h | 19 class EmulateInstructionPPC64 : public EmulateInstruction { 31 static EmulateInstruction *CreateInstance(const ArchSpec &arch,
|
| H A D | EmulateInstructionPPC64.cpp | 32 : EmulateInstruction(arch) {} in LLDB_PLUGIN_DEFINE_ADV() 47 EmulateInstruction * 192 EmulateInstruction::Context context; in EvaluateInstruction()
|
| /openbsd-src/gnu/llvm/lldb/source/API/ |
| H A D | SBInstruction.cpp | 319 &lldb_private::EmulateInstruction::ReadMemoryFrame, in EmulateWithFrame() 320 &lldb_private::EmulateInstruction::WriteMemoryFrame, in EmulateWithFrame() 321 &lldb_private::EmulateInstruction::ReadRegisterFrame, in EmulateWithFrame() 322 &lldb_private::EmulateInstruction::WriteRegisterFrame); in EmulateWithFrame()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Instruction/MIPS64/ |
| H A D | EmulateInstructionMIPS64.h | 27 class EmulateInstructionMIPS64 : public lldb_private::EmulateInstruction { 39 static lldb_private::EmulateInstruction *
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Instruction/MIPS/ |
| H A D | EmulateInstructionMIPS.h | 31 class EmulateInstructionMIPS : public lldb_private::EmulateInstruction { 41 static lldb_private::EmulateInstruction *
|
| /openbsd-src/gnu/usr.bin/clang/liblldbCore/ |
| H A D | Makefile | 22 EmulateInstruction.cpp \
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/lldb/source/Core/ |
| H A D | BUILD.gn | 59 "EmulateInstruction.cpp",
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/ |
| H A D | lldb-private-interfaces.h | 63 typedef EmulateInstruction *(*EmulateInstructionCreateInstance)(
|