Home
last modified time | relevance | path

Searched refs:EmulateInstruction (Results 1 – 25 of 28) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/UnwindAssembly/InstEmulation/
H A DUnwindAssemblyInstEmulation.cpp408 EmulateInstruction *instruction, const EmulateInstruction::Context &context, in WriteMemory()
431 case EmulateInstruction::eContextInvalid: in WriteMemory()
433 case EmulateInstruction::eContextImmediate: in WriteMemory()
436 case EmulateInstruction::eContextAdjustPC: in WriteMemory()
446 case EmulateInstruction::eContextAdvancePC: in WriteMemory()
519 EmulateInstruction *instruction, const EmulateInstruction::Context &context, in WriteRegister()
538 case EmulateInstruction::eContextInvalid: in WriteRegister()
540 case EmulateInstruction::eContextImmediate: in WriteRegister()
543 case EmulateInstruction::eContextAdjustPC: in WriteRegister()
549 case EmulateInstruction::eContextAdvancePC: in WriteRegister()
[all …]
H A DUnwindAssemblyInstEmulation.h78 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,
109 bool ReadRegister(lldb_private::EmulateInstruction *instruction,
113 bool WriteRegister(lldb_private::EmulateInstruction *instruction,
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Core/
H A DEmulateInstruction.cpp44 EmulateInstruction *
74 EmulateInstruction::EmulateInstruction(const ArchSpec &arch) : m_arch(arch) {} in EmulateInstruction() function in EmulateInstruction
222 void EmulateInstruction::SetCallbacks( in SetCallbacks()
257 size_t EmulateInstruction::ReadMemoryFrame(EmulateInstruction *instruction, in ReadMemoryFrame()
274 size_t EmulateInstruction::WriteMemoryFrame(EmulateInstruction *instruction, in WriteMemoryFrame()
292 bool EmulateInstruction::ReadRegisterFrame(EmulateInstruction *instruction, in ReadRegisterFrame()
303 bool EmulateInstruction::WriteRegisterFrame(EmulateInstruction *instruction, in WriteRegisterFrame()
314 size_t EmulateInstruction::ReadMemoryDefault(EmulateInstruction *instruction, in ReadMemoryDefault()
329 size_t EmulateInstruction::WriteMemoryDefault(EmulateInstruction *instruction, in WriteMemoryDefault()
343 bool EmulateInstruction::ReadRegisterDefault(EmulateInstruction *instruction, in ReadRegisterDefault()
[all …]
H A DDisassembler.cpp683 std::unique_ptr<EmulateInstruction> insn_emulator_up( in DumpEmulation()
684 EmulateInstruction::FindPlugin(arch, eInstructionTypeAny, nullptr)); in DumpEmulation()
930 std::unique_ptr<EmulateInstruction> insn_emulator_up( in TestEmulation()
931 EmulateInstruction::FindPlugin(arch, eInstructionTypeAny, nullptr)); in TestEmulation()
946 EmulateInstruction::ReadMemoryCallback read_mem_callback, in Emulate()
947 EmulateInstruction::WriteMemoryCallback write_mem_callback, in Emulate()
948 EmulateInstruction::ReadRegisterCallback read_reg_callback, in Emulate()
949 EmulateInstruction::WriteRegisterCallback write_reg_callback) { in Emulate()
950 std::unique_ptr<EmulateInstruction> insn_emulator_up( in Emulate()
951 EmulateInstruction::FindPlugin(arch, eInstructionTypeAny, nullptr)); in Emulate()
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Core/
H A DEmulateInstruction.h94 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;
510 EmulateInstruction(const EmulateInstruction &) = delete;
[all …]
H A DDisassembler.h191 EmulateInstruction::ReadMemoryCallback read_mem_callback,
192 EmulateInstruction::WriteMemoryCallback write_mem_calback,
193 EmulateInstruction::ReadRegisterCallback read_reg_callback,
194 EmulateInstruction::WriteRegisterCallback write_reg_callback);
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM/
H A DEmulationStateARM.h41 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 DEmulateInstructionARM.cpp721 EmulateInstruction *
756 EmulateInstruction::Context context; in WriteBits32UnknownToMemory()
769 EmulateInstruction::Context context; in WriteBits32Unknown()
972 EmulateInstruction::Context context; in EmulatePUSH()
1100 EmulateInstruction::Context context; in EmulatePOP()
2898 EmulateInstruction::Context context; in EmulateCB()
3323 EmulateInstruction::Context context; in EmulateCMNImm()
3390 EmulateInstruction::Context context; in EmulateCMNReg()
3440 EmulateInstruction::Context context; in EmulateCMPImm()
3516 EmulateInstruction::Context context; in EmulateCMPReg()
[all …]
H A DEmulationStateARM.cpp107 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 DEmulateInstructionARM.h46 class EmulateInstructionARM : public EmulateInstruction {
69 static lldb_private::EmulateInstruction *
93 : EmulateInstruction(arch), m_arm_isa(0), m_opcode_mode(eModeInvalid), in EmulateInstructionARM()
214 inline uint64_t MemARead(EmulateInstruction::Context &context, in MemARead()
232 inline bool MemAWrite(EmulateInstruction::Context &context, in MemAWrite()
251 inline uint64_t MemURead(EmulateInstruction::Context &context, in MemURead()
269 inline bool MemUWrite(EmulateInstruction::Context &context, in MemUWrite()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DNativeProcessSoftwareSingleStep.cpp36 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()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Instruction/RISCV/
H A DEmulateInstructionRISCV.h23 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()
H A DEmulateInstructionRISCV.cpp113 EmulateInstruction::Context ctx; in Write()
114 ctx.type = EmulateInstruction::eContextRegisterStore; in Write()
124 EmulateInstruction::Context ctx; in WriteAPFloat()
125 ctx.type = EmulateInstruction::eContextRegisterStore; in WriteAPFloat()
1645 EmulateInstruction::Context ctx; in WritePC()
1702 EmulateInstruction::Context ctx; in SetAccruedExceptions()
1765 lldb_private::EmulateInstruction *
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM64/
H A DEmulateInstructionARM64.cpp124 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()
1071 EmulateInstruction::Context context; in EmulateB()
1072 context.type = EmulateInstruction::eContextRelativeBranchImmediate; in EmulateB()
1118 EmulateInstruction::Context context; in EmulateBcond()
1156 EmulateInstruction::Context context; in EmulateCBZ()
[all …]
H A DEmulateInstructionARM64.h18 class EmulateInstructionARM64 : public lldb_private::EmulateInstruction {
21 : EmulateInstruction(arch), m_opcode_pstate(), m_emulated_pstate(), in EmulateInstructionARM64()
32 static lldb_private::EmulateInstruction *
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Instruction/LoongArch/
H A DEmulateInstructionLoongArch.h20 class EmulateInstructionLoongArch : public EmulateInstruction {
34 static lldb_private::EmulateInstruction *
42 EmulateInstructionLoongArch(const ArchSpec &arch) : EmulateInstruction(arch) { in EmulateInstructionLoongArch()
H A DEmulateInstructionLoongArch.cpp140 EmulateInstruction::Context ctx; in WritePC()
203 lldb_private::EmulateInstruction *
364 EmulateInstruction::Context ctx; in EmulateJIRL64()
394 EmulateInstruction::Context ctx; in EmulateBL64()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Instruction/PPC64/
H A DEmulateInstructionPPC64.h19 class EmulateInstructionPPC64 : public EmulateInstruction {
31 static EmulateInstruction *CreateInstance(const ArchSpec &arch,
H A DEmulateInstructionPPC64.cpp32 : EmulateInstruction(arch) {} in LLDB_PLUGIN_DEFINE_ADV()
47 EmulateInstruction *
192 EmulateInstruction::Context context; in EvaluateInstruction()
/freebsd-14.2/contrib/llvm-project/lldb/source/API/
H A DSBInstruction.cpp319 &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()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS64/
H A DEmulateInstructionMIPS64.h27 class EmulateInstructionMIPS64 : public lldb_private::EmulateInstruction {
39 static lldb_private::EmulateInstruction *
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS/
H A DEmulateInstructionMIPS.h31 class EmulateInstructionMIPS : public lldb_private::EmulateInstruction {
41 static lldb_private::EmulateInstruction *
H A DEmulateInstructionMIPS.cpp65 : EmulateInstruction(arch) { in EmulateInstructionMIPS()
201 EmulateInstruction *
992 if (EmulateInstruction::SetInstruction(insn_opcode, inst_addr, target)) { in SetInstruction()
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-private-interfaces.h61 typedef EmulateInstruction *(*EmulateInstructionCreateInstance)(
H A Dlldb-forward.h81 class EmulateInstruction; variable

12