#include "EmulationStateARM.h"
#include "lldb/Interpreter/OptionValueArray.h"
#include "lldb/Interpreter/OptionValueDictionary.h"
#include "lldb/Target/RegisterContext.h"
#include "lldb/Target/StackFrame.h"
#include "lldb/Utility/RegisterValue.h"
#include "lldb/Utility/Scalar.h"
#include "Utility/ARM_DWARF_Registers.h"
usingnamespacelldb;
usingnamespacelldb_private;
EmulationStateARM::EmulationStateARM() : … { … }
EmulationStateARM::~EmulationStateARM() = default;
bool EmulationStateARM::StorePseudoRegisterValue(uint32_t reg_num,
uint64_t value) { … }
uint64_t EmulationStateARM::ReadPseudoRegisterValue(uint32_t reg_num,
bool &success) { … }
void EmulationStateARM::ClearPseudoRegisters() { … }
void EmulationStateARM::ClearPseudoMemory() { … }
bool EmulationStateARM::StoreToPseudoAddress(lldb::addr_t p_address,
uint32_t value) { … }
uint32_t EmulationStateARM::ReadFromPseudoAddress(lldb::addr_t p_address,
bool &success) { … }
size_t EmulationStateARM::ReadPseudoMemory(
EmulateInstruction *instruction, void *baton,
const EmulateInstruction::Context &context, lldb::addr_t addr, void *dst,
size_t length) { … }
size_t EmulationStateARM::WritePseudoMemory(
EmulateInstruction *instruction, void *baton,
const EmulateInstruction::Context &context, lldb::addr_t addr,
const void *dst, size_t length) { … }
bool EmulationStateARM::ReadPseudoRegister(
EmulateInstruction *instruction, void *baton,
const lldb_private::RegisterInfo *reg_info,
lldb_private::RegisterValue ®_value) { … }
bool EmulationStateARM::WritePseudoRegister(
EmulateInstruction *instruction, void *baton,
const EmulateInstruction::Context &context,
const lldb_private::RegisterInfo *reg_info,
const lldb_private::RegisterValue ®_value) { … }
bool EmulationStateARM::CompareState(EmulationStateARM &other_state,
Stream &out_stream) { … }
bool EmulationStateARM::LoadRegistersStateFromDictionary(
OptionValueDictionary *reg_dict, char kind, int first_reg, int num) { … }
bool EmulationStateARM::LoadStateFromDictionary(
OptionValueDictionary *test_data) { … }