Closed archercreat closed 1 year ago
Maybe, we can use better naming like getConcreteMemory?
I called it because there is already getAllRegisters
function which does the same but i'm ok to change.
Hi @archercreat, thanks for this feature! getAllRegisters
is used to returns registers of the CPU. As your feature returns the memory concrete state, I think that getConcreteMemory
would be appropriate as @SweetVishnya said :)
Currently there's no way to const copy cpu memory without invoking copy constructor. This pull request adds
getAllMemory
api which returns const reference to an existing std::unordered_map.