I am looking for more example to write arm debugger script. specifically on using the keyword while, newvar, if etc.
How to read some register and get the value in variable to that can be used in while/if statement?
Hello,
The commands are all documented here:https://developer.arm.com/documentation/101471/latest/Arm-Debugger-commands
To read a register (say r0) as a variable, use something like:
newvar $foo = $r0 print /x $foo
Regards, Ronan