Triggering a registers written event when a memory range that contains a register is written to.

This commit is contained in:
Nav
2021-09-11 20:39:31 +01:00
parent b8bf590be7
commit 12a7d58b59
4 changed files with 161 additions and 5 deletions

View File

@@ -3,6 +3,7 @@
#include <string>
#include "Event.hpp"
#include "src/Targets/TargetRegister.hpp"
namespace Bloom::Events
{
@@ -12,6 +13,8 @@ namespace Bloom::Events
static inline EventType type = EventType::REGISTERS_WRITTEN_TO_TARGET;
static inline const std::string name = "RegistersWrittenToTarget";
Targets::TargetRegisterDescriptors descriptors;
[[nodiscard]] EventType getType() const override {
return RegistersWrittenToTarget::type;
}