mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 00:22:57 -05:00
22 lines
416 B
C++
22 lines
416 B
C++
#ifndef CODEGEN_IINSTRUCTIONREWRITER_HPP
|
|
#define CODEGEN_IINSTRUCTIONREWRITER_HPP
|
|
|
|
#include <codegen/CodegenTypes.hpp>
|
|
#include <vector>
|
|
|
|
namespace Codegen {
|
|
|
|
class IInstructionRewriter {
|
|
public:
|
|
virtual ~IInstructionRewriter() = default;
|
|
|
|
[[nodiscard]] virtual RewriteResult Rewrite(
|
|
const std::vector<std::uint8_t>& codeSection,
|
|
const RewriteRequest& request
|
|
) const = 0;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|