|Home > API reference > Target|
Wraps an Iris object, providing a simplified interface to common tasks.
You can access memory, registers, and breakpoints using methods provided by this object, for example:
cpu.read_memory(0x1234, count=8) cpu.write_register("Core.R5", 1000) cpu.add_bpt_mem(0x1234, memory_space="Secure", on_read=False) cpu.add_bpt_reg("Core.CPSR")
The breakpoint-related methods return
Breakpoint objects, which allow you to enable, disable, and delete the breakpoint. You can access the breakpoints that are currently set by using the dictionary
Target.breakpoints, which maps from breakpoint numbers to