Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/UnwindAssembly/InstEmulation/
H A DUnwindAssemblyInstEmulation.cpp420 EmulateInstruction *instruction, const EmulateInstruction::Context &context, in WriteMemory()
443 case EmulateInstruction::eContextInvalid: in WriteMemory()
445 case EmulateInstruction::eContextImmediate: in WriteMemory()
448 case EmulateInstruction::eContextAdjustPC: in WriteMemory()
458 case EmulateInstruction::eContextAdvancePC: in WriteMemory()
531 EmulateInstruction *instruction, const EmulateInstruction::Context &context, in WriteRegister()
550 case EmulateInstruction::eContextInvalid: in WriteRegister()
552 case EmulateInstruction::eContextImmediate: in WriteRegister()
555 case EmulateInstruction::eContextAdjustPC: in WriteRegister()
561 case EmulateInstruction::eContextAdvancePC: in WriteRegister()
[all …]
H A DUnwindAssemblyInstEmulation.h80 ReadMemory(lldb_private::EmulateInstruction *instruction, void *baton,
81 const lldb_private::EmulateInstruction::Context &context,
85 WriteMemory(lldb_private::EmulateInstruction *instruction, void *baton,
86 const lldb_private::EmulateInstruction::Context &context,
89 static bool ReadRegister(lldb_private::EmulateInstruction *instruction,
95 WriteRegister(lldb_private::EmulateInstruction *instruction, void *baton,
96 const lldb_private::EmulateInstruction::Context &context,
107 size_t WriteMemory(lldb_private::EmulateInstruction *instruction,
111 bool ReadRegister(lldb_private::EmulateInstruction *instruction,
115 bool WriteRegister(lldb_private::EmulateInstruction *instruction,
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Core/
H A DEmulateInstruction.cpp43 EmulateInstruction *
74 EmulateInstruction::EmulateInstruction(const ArchSpec &arch) : m_arch(arch) {} in EmulateInstruction() function in EmulateInstruction
213 void EmulateInstruction::SetCallbacks( in SetCallbacks()
248 size_t EmulateInstruction::ReadMemoryFrame(EmulateInstruction *instruction, in ReadMemoryFrame()
265 size_t EmulateInstruction::WriteMemoryFrame(EmulateInstruction *instruction, in WriteMemoryFrame()
283 bool EmulateInstruction::ReadRegisterFrame(EmulateInstruction *instruction, in ReadRegisterFrame()
294 bool EmulateInstruction::WriteRegisterFrame(EmulateInstruction *instruction, in WriteRegisterFrame()
305 size_t EmulateInstruction::ReadMemoryDefault(EmulateInstruction *instruction, in ReadMemoryDefault()
320 size_t EmulateInstruction::WriteMemoryDefault(EmulateInstruction *instruction, in WriteMemoryDefault()
334 bool EmulateInstruction::ReadRegisterDefault(EmulateInstruction *instruction, in ReadRegisterDefault()
[all …]
H A DDisassembler.cpp640 std::unique_ptr<EmulateInstruction> insn_emulator_up( in DumpEmulation()
641 EmulateInstruction::FindPlugin(arch, eInstructionTypeAny, nullptr)); in DumpEmulation()
891 std::unique_ptr<EmulateInstruction> insn_emulator_up( in TestEmulation()
892 EmulateInstruction::FindPlugin(arch, eInstructionTypeAny, nullptr)); in TestEmulation()
907 EmulateInstruction::ReadMemoryCallback read_mem_callback, in Emulate()
908 EmulateInstruction::WriteMemoryCallback write_mem_callback, in Emulate()
909 EmulateInstruction::ReadRegisterCallback read_reg_callback, in Emulate()
910 EmulateInstruction::WriteRegisterCallback write_reg_callback) { in Emulate()
911 std::unique_ptr<EmulateInstruction> insn_emulator_up( in Emulate()
912 EmulateInstruction::FindPlugin(arch, eInstructionTypeAny, nullptr)); in Emulate()
H A DPluginManager.cpp430 #pragma mark EmulateInstruction
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Core/
H A DEmulateInstruction.h93 class EmulateInstruction : public PluginInterface {
95 static EmulateInstruction *FindPlugin(const ArchSpec &arch,
323 void Dump(Stream &s, EmulateInstruction *instruction) const;
326 typedef size_t (*ReadMemoryCallback)(EmulateInstruction *instruction,
331 typedef size_t (*WriteMemoryCallback)(EmulateInstruction *instruction,
336 typedef bool (*ReadRegisterCallback)(EmulateInstruction *instruction,
341 typedef bool (*WriteRegisterCallback)(EmulateInstruction *instruction,
352 EmulateInstruction(const ArchSpec &arch);
354 ~EmulateInstruction() override = default;
502 EmulateInstruction(const EmulateInstruction &) = delete;
[all …]
H A DDisassembler.h172 EmulateInstruction::ReadMemoryCallback read_mem_callback,
173 EmulateInstruction::WriteMemoryCallback write_mem_calback,
174 EmulateInstruction::ReadRegisterCallback read_reg_callback,
175 EmulateInstruction::WriteRegisterCallback write_reg_callback);
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM/
H A DEmulationStateARM.h42 ReadPseudoMemory(lldb_private::EmulateInstruction *instruction, void *baton,
43 const lldb_private::EmulateInstruction::Context &context,
47 WritePseudoMemory(lldb_private::EmulateInstruction *instruction, void *baton,
48 const lldb_private::EmulateInstruction::Context &context,
51 static bool ReadPseudoRegister(lldb_private::EmulateInstruction *instruction,
57 WritePseudoRegister(lldb_private::EmulateInstruction *instruction,
59 const lldb_private::EmulateInstruction::Context &context,
H A DEmulateInstructionARM.cpp725 EmulateInstruction *
760 EmulateInstruction::Context context; in WriteBits32UnknownToMemory()
773 EmulateInstruction::Context context; in WriteBits32Unknown()
975 EmulateInstruction::Context context; in EmulatePUSH()
1102 EmulateInstruction::Context context; in EmulatePOP()
2903 EmulateInstruction::Context context; in EmulateCB()
3329 EmulateInstruction::Context context; in EmulateCMNImm()
3396 EmulateInstruction::Context context; in EmulateCMNReg()
3446 EmulateInstruction::Context context; in EmulateCMPImm()
3522 EmulateInstruction::Context context; in EmulateCMPReg()
[all …]
H A DEmulationStateARM.cpp144 EmulateInstruction *instruction, void *baton, in ReadPseudoMemory()
145 const EmulateInstruction::Context &context, lldb::addr_t addr, void *dst, in ReadPseudoMemory()
185 EmulateInstruction *instruction, void *baton, in WritePseudoMemory()
186 const EmulateInstruction::Context &context, lldb::addr_t addr, in WritePseudoMemory()
221 EmulateInstruction *instruction, void *baton, in ReadPseudoRegister()
240 EmulateInstruction *instruction, void *baton, in WritePseudoRegister()
241 const EmulateInstruction::Context &context, in WritePseudoRegister()
H A DEmulateInstructionARM.h46 class EmulateInstructionARM : public EmulateInstruction {
69 static lldb_private::EmulateInstruction *
97 : EmulateInstruction(arch), m_arm_isa(0), m_opcode_mode(eModeInvalid), in EmulateInstructionARM()
217 inline uint64_t MemARead(EmulateInstruction::Context &context, in MemARead()
235 inline bool MemAWrite(EmulateInstruction::Context &context, in MemAWrite()
254 inline uint64_t MemURead(EmulateInstruction::Context &context, in MemURead()
272 inline bool MemUWrite(EmulateInstruction::Context &context, in MemUWrite()
/freebsd-13.1/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-13.1/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM64/
H A DEmulateInstructionARM64.cpp134 EmulateInstruction *
437 EmulateInstruction::Context context; in EvaluateInstruction()
684 context.type = EmulateInstruction::eContextRestoreStackPointer; in EmulateADDSUBImm()
687 context.type = EmulateInstruction::eContextAdjustStackPointer; in EmulateADDSUBImm()
690 context.type = EmulateInstruction::eContextSetFramePointer; in EmulateADDSUBImm()
692 context.type = EmulateInstruction::eContextImmediate; in EmulateADDSUBImm()
1062 EmulateInstruction::Context context; in EmulateB()
1063 context.type = EmulateInstruction::eContextRelativeBranchImmediate; in EmulateB()
1109 EmulateInstruction::Context context; in EmulateBcond()
1147 EmulateInstruction::Context context; in EmulateCBZ()
[all …]
H A DEmulateInstructionARM64.h17 class EmulateInstructionARM64 : public lldb_private::EmulateInstruction {
20 : EmulateInstruction(arch), m_opcode_pstate(), m_emulated_pstate(), in EmulateInstructionARM64()
31 static lldb_private::EmulateInstruction *
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Instruction/PPC64/
H A DEmulateInstructionPPC64.h18 class EmulateInstructionPPC64 : public EmulateInstruction {
30 static EmulateInstruction *CreateInstance(const ArchSpec &arch,
H A DEmulateInstructionPPC64.cpp31 : EmulateInstruction(arch) {} in LLDB_PLUGIN_DEFINE_ADV()
56 EmulateInstruction *
202 EmulateInstruction::Context context; in EvaluateInstruction()
/freebsd-13.1/contrib/llvm-project/lldb/source/API/
H A DSBInstruction.cpp309 &lldb_private::EmulateInstruction::ReadMemoryFrame, in EmulateWithFrame()
310 &lldb_private::EmulateInstruction::WriteMemoryFrame, in EmulateWithFrame()
311 &lldb_private::EmulateInstruction::ReadRegisterFrame, in EmulateWithFrame()
312 &lldb_private::EmulateInstruction::WriteRegisterFrame); in EmulateWithFrame()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS64/
H A DEmulateInstructionMIPS64.h26 class EmulateInstructionMIPS64 : public lldb_private::EmulateInstruction {
38 static lldb_private::EmulateInstruction *
H A DEmulateInstructionMIPS64.cpp64 : EmulateInstruction(arch) { in EmulateInstructionMIPS64()
197 EmulateInstruction *
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS/
H A DEmulateInstructionMIPS.h30 class EmulateInstructionMIPS : public lldb_private::EmulateInstruction {
40 static lldb_private::EmulateInstruction *
H A DEmulateInstructionMIPS.cpp64 : EmulateInstruction(arch) { in EmulateInstructionMIPS()
210 EmulateInstruction *
1003 if (EmulateInstruction::SetInstruction(insn_opcode, inst_addr, target)) { in SetInstruction()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-private-interfaces.h60 typedef EmulateInstruction *(*EmulateInstructionCreateInstance)(
H A Dlldb-forward.h78 class EmulateInstruction; variable
/freebsd-13.1/lib/clang/liblldb/
H A DMakefile159 SRCS+= Core/EmulateInstruction.cpp