This is not trivial since we don't have a reference to the Memory object in that table (and that object can do the lookup of which block a certain Address is in).
The other option would be to add a field to the Hook objects, which in turn is an issue when importing, since this information is not stored in the YAML and we don't have a reference to the Memory object in the import either. Further, this is just redundant information storage in the Hook object, which is something software development best practices discourage because of good reasons.
This is not trivial since we don't have a reference to the
Memory
object in that table (and that object can do the lookup of which block a certainAddress
is in).The other option would be to add a field to the
Hook
objects, which in turn is an issue when importing, since this information is not stored in the YAML and we don't have a reference to theMemory
object in the import either. Further, this is just redundant information storage in theHook
object, which is something software development best practices discourage because of good reasons.