Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/UnwindAssembly/InstEmulation/
H A DUnwindAssemblyInstEmulation.cpp395 EmulateInstruction *instruction, const EmulateInstruction::Context &context, in WriteMemory()
418 case EmulateInstruction::eContextInvalid: in WriteMemory()
420 case EmulateInstruction::eContextImmediate: in WriteMemory()
423 case EmulateInstruction::eContextAdjustPC: in WriteMemory()
433 case EmulateInstruction::eContextAdvancePC: in WriteMemory()
506 EmulateInstruction *instruction, const EmulateInstruction::Context &context, in WriteRegister()
525 case EmulateInstruction::eContextInvalid: in WriteRegister()
527 case EmulateInstruction::eContextImmediate: in WriteRegister()
530 case EmulateInstruction::eContextAdjustPC: in WriteRegister()
536 case EmulateInstruction::eContextAdvancePC: in WriteRegister()
[all …]
H A DUnwindAssemblyInstEmulation.h83 ReadMemory(lldb_private::EmulateInstruction *instruction, void *baton,
84 const lldb_private::EmulateInstruction::Context &context,
88 WriteMemory(lldb_private::EmulateInstruction *instruction, void *baton,
89 const lldb_private::EmulateInstruction::Context &context,
92 static bool ReadRegister(lldb_private::EmulateInstruction *instruction,
98 WriteRegister(lldb_private::EmulateInstruction *instruction, void *baton,
99 const lldb_private::EmulateInstruction::Context &context,
110 size_t WriteMemory(lldb_private::EmulateInstruction *instruction,
114 bool ReadRegister(lldb_private::EmulateInstruction *instruction,
118 bool WriteRegister(lldb_private::EmulateInstruction *instruction,
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Core/
H A DEmulateInstruction.cpp44 EmulateInstruction *
75 EmulateInstruction::EmulateInstruction(const ArchSpec &arch) in EmulateInstruction() function in EmulateInstruction
221 void EmulateInstruction::SetCallbacks( in SetCallbacks()
256 size_t EmulateInstruction::ReadMemoryFrame(EmulateInstruction *instruction, in ReadMemoryFrame()
273 size_t EmulateInstruction::WriteMemoryFrame(EmulateInstruction *instruction, in WriteMemoryFrame()
291 bool EmulateInstruction::ReadRegisterFrame(EmulateInstruction *instruction, in ReadRegisterFrame()
302 bool EmulateInstruction::WriteRegisterFrame(EmulateInstruction *instruction, in WriteRegisterFrame()
313 size_t EmulateInstruction::ReadMemoryDefault(EmulateInstruction *instruction, in ReadMemoryDefault()
328 size_t EmulateInstruction::WriteMemoryDefault(EmulateInstruction *instruction, in WriteMemoryDefault()
342 bool EmulateInstruction::ReadRegisterDefault(EmulateInstruction *instruction, in ReadRegisterDefault()
[all …]
H A DDisassembler.cpp745 std::unique_ptr<EmulateInstruction> insn_emulator_ap( in DumpEmulation()
746 EmulateInstruction::FindPlugin(arch, eInstructionTypeAny, nullptr)); in DumpEmulation()
996 std::unique_ptr<EmulateInstruction> insn_emulator_ap( in TestEmulation()
997 EmulateInstruction::FindPlugin(arch, eInstructionTypeAny, nullptr)); in TestEmulation()
1012 EmulateInstruction::ReadMemoryCallback read_mem_callback, in Emulate()
1013 EmulateInstruction::WriteMemoryCallback write_mem_callback, in Emulate()
1014 EmulateInstruction::ReadRegisterCallback read_reg_callback, in Emulate()
1015 EmulateInstruction::WriteRegisterCallback write_reg_callback) { in Emulate()
1016 std::unique_ptr<EmulateInstruction> insn_emulator_ap( in Emulate()
1017 EmulateInstruction::FindPlugin(arch, eInstructionTypeAny, nullptr)); in Emulate()
H A DPluginManager.cpp579 #pragma mark EmulateInstruction
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Core/
H A DEmulateInstruction.h108 class EmulateInstruction : public PluginInterface {
110 static EmulateInstruction *FindPlugin(const ArchSpec &arch,
338 void Dump(Stream &s, EmulateInstruction *instruction) const;
341 typedef size_t (*ReadMemoryCallback)(EmulateInstruction *instruction,
346 typedef size_t (*WriteMemoryCallback)(EmulateInstruction *instruction,
351 typedef bool (*ReadRegisterCallback)(EmulateInstruction *instruction,
356 typedef bool (*WriteRegisterCallback)(EmulateInstruction *instruction,
367 EmulateInstruction(const ArchSpec &arch);
369 ~EmulateInstruction() override = default;
457 static size_t ReadMemoryFrame(EmulateInstruction *instruction, void *baton,
[all …]
H A DDisassembler.h194 EmulateInstruction::ReadMemoryCallback read_mem_callback,
195 EmulateInstruction::WriteMemoryCallback write_mem_calback,
196 EmulateInstruction::ReadRegisterCallback read_reg_callback,
197 EmulateInstruction::WriteRegisterCallback write_reg_callback);
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Instruction/ARM/
H A DEmulationStateARM.h43 ReadPseudoMemory(lldb_private::EmulateInstruction *instruction, void *baton,
44 const lldb_private::EmulateInstruction::Context &context,
48 WritePseudoMemory(lldb_private::EmulateInstruction *instruction, void *baton,
49 const lldb_private::EmulateInstruction::Context &context,
52 static bool ReadPseudoRegister(lldb_private::EmulateInstruction *instruction,
58 WritePseudoRegister(lldb_private::EmulateInstruction *instruction,
60 const lldb_private::EmulateInstruction::Context &context,
H A DEmulateInstructionARM.cpp737 EmulateInstruction *
772 EmulateInstruction::Context context; in WriteBits32UnknownToMemory()
785 EmulateInstruction::Context context; in WriteBits32Unknown()
985 EmulateInstruction::Context context; in EmulatePUSH()
1112 EmulateInstruction::Context context; in EmulatePOP()
2911 EmulateInstruction::Context context; in EmulateCB()
3337 EmulateInstruction::Context context; in EmulateCMNImm()
3404 EmulateInstruction::Context context; in EmulateCMNReg()
3454 EmulateInstruction::Context context; in EmulateCMPImm()
3530 EmulateInstruction::Context context; in EmulateCMPReg()
[all …]
H A DEmulationStateARM.cpp145 EmulateInstruction *instruction, void *baton, in ReadPseudoMemory()
146 const EmulateInstruction::Context &context, lldb::addr_t addr, void *dst, in ReadPseudoMemory()
186 EmulateInstruction *instruction, void *baton, in WritePseudoMemory()
187 const EmulateInstruction::Context &context, lldb::addr_t addr, in WritePseudoMemory()
222 EmulateInstruction *instruction, void *baton, in ReadPseudoRegister()
241 EmulateInstruction *instruction, void *baton, in WritePseudoRegister()
242 const EmulateInstruction::Context &context, in WritePseudoRegister()
H A DEmulateInstructionARM.h47 class EmulateInstructionARM : public EmulateInstruction {
70 static lldb_private::EmulateInstruction *
98 : EmulateInstruction(arch), m_arm_isa(0), m_opcode_mode(eModeInvalid), in EmulateInstructionARM()
218 inline uint64_t MemARead(EmulateInstruction::Context &context, in MemARead()
236 inline bool MemAWrite(EmulateInstruction::Context &context, in MemAWrite()
255 inline uint64_t MemURead(EmulateInstruction::Context &context, in MemURead()
273 inline bool MemUWrite(EmulateInstruction::Context &context, in MemUWrite()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Instruction/ARM64/
H A DEmulateInstructionARM64.cpp150 EmulateInstruction *
462 EmulateInstruction::Context context; in EvaluateInstruction()
690 context.type = EmulateInstruction::eContextRestoreStackPointer; in EmulateADDSUBImm()
693 context.type = EmulateInstruction::eContextAdjustStackPointer; in EmulateADDSUBImm()
696 context.type = EmulateInstruction::eContextSetFramePointer; in EmulateADDSUBImm()
698 context.type = EmulateInstruction::eContextImmediate; in EmulateADDSUBImm()
1072 EmulateInstruction::Context context; in EmulateB()
1073 context.type = EmulateInstruction::eContextRelativeBranchImmediate; in EmulateB()
1119 EmulateInstruction::Context context; in EmulateBcond()
1157 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-12.1/contrib/llvm/tools/lldb/source/API/
H A DSBInstruction.cpp249 &lldb_private::EmulateInstruction::ReadMemoryFrame, in EmulateWithFrame()
250 &lldb_private::EmulateInstruction::WriteMemoryFrame, in EmulateWithFrame()
251 &lldb_private::EmulateInstruction::ReadRegisterFrame, in EmulateWithFrame()
252 &lldb_private::EmulateInstruction::WriteRegisterFrame); in EmulateWithFrame()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Instruction/PPC64/
H A DEmulateInstructionPPC64.h19 class EmulateInstructionPPC64 : public EmulateInstruction {
31 static EmulateInstruction *CreateInstance(const ArchSpec &arch,
H A DEmulateInstructionPPC64.cpp30 : EmulateInstruction(arch) {} in EmulateInstructionPPC64()
55 EmulateInstruction *
208 EmulateInstruction::Context context; in EvaluateInstruction()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/
H A DProcessFreeBSD.cpp913 static size_t ReadMemoryCallback(EmulateInstruction *instruction, void *baton, in ReadMemoryCallback()
914 const EmulateInstruction::Context &context, in ReadMemoryCallback()
926 static bool ReadRegisterCallback(EmulateInstruction *instruction, void *baton, in ReadRegisterCallback()
950 static bool WriteRegisterCallback(EmulateInstruction *instruction, void *baton, in WriteRegisterCallback()
951 const EmulateInstruction::Context &context, in WriteRegisterCallback()
960 static size_t WriteMemoryCallback(EmulateInstruction *instruction, void *baton, in WriteMemoryCallback()
961 const EmulateInstruction::Context &context, in WriteMemoryCallback()
1039 std::unique_ptr<EmulateInstruction> emulator_ap( in SetupSoftwareSingleStepping()
1040 EmulateInstruction::FindPlugin(GetTarget().GetArchitecture(), in SetupSoftwareSingleStepping()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Instruction/MIPS64/
H A DEmulateInstructionMIPS64.h27 class EmulateInstructionMIPS64 : public lldb_private::EmulateInstruction {
39 static lldb_private::EmulateInstruction *
H A DEmulateInstructionMIPS64.cpp64 : EmulateInstruction(arch) { in EmulateInstructionMIPS64()
195 EmulateInstruction *
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Instruction/MIPS/
H A DEmulateInstructionMIPS.h28 class EmulateInstructionMIPS : public lldb_private::EmulateInstruction {
38 static lldb_private::EmulateInstruction *
H A DEmulateInstructionMIPS.cpp64 : EmulateInstruction(arch) { in EmulateInstructionMIPS()
208 EmulateInstruction *
1015 if (EmulateInstruction::SetInstruction(insn_opcode, inst_addr, target)) { in SetInstruction()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/
H A Dlldb-private-interfaces.h50 typedef EmulateInstruction *(*EmulateInstructionCreateInstance)(
H A Dlldb-forward.h92 class EmulateInstruction; variable
/freebsd-12.1/lib/clang/liblldb/
H A DMakefile145 SRCS+= Core/EmulateInstruction.cpp