Breakpoints can only be used to count the number of read/write/execute, but I want to create a group where one file descriptor does the counting (eg HW instructions) and another one to disable the counting when we read a memory address for the first time. Is there a way to do that?
Right now my only option seems to be register_wide_hw_breakpoint
, but I don't have access to that from python.