feat(furvm): add step function to executor

This commit is contained in:
2026-06-06 23:30:25 +02:00
parent bfdbbb0d5f
commit e7e5f36380
7 changed files with 115 additions and 2 deletions
+8
View File
@@ -42,6 +42,14 @@ public:
* @return The id.
*/
constexpr module_handle id() const { return m_id; }
/**
* @brief Returns a byte from bytecode of this module.
*
* @param offset An offset of the byte.
* @return The byte.
*/
constexpr byte byte(std::size_t offset) const { return m_bytecode.at(offset); }
private:
module_handle m_id;
bytecode_t m_bytecode;