Query regarding extracting instruction which caused a data-abort exception
abhishekkmr18 at ...9...
Tue Jun 13 11:17:02 CEST 2017
I am trying to modify genode trustzone. I want to read the instruction
which lead to data abort exception in normal world, in the `dump` function
in tz_vmm. I have value of all the registers through `_state` register. We
tried with `_state->ip`. On converting 16 bits stored at the address
pointed by _state->ip, we got ARM Thumb instruction:
STRH R0, [R0, #6]
But the value (R0) + 6, doesn't match dfar. We're not sure if _state->ip is
the register to go with. We tried with _state->mode.lr which is lr_abt
register. But the address stored in lr_abt, lr_abt-16, lr_abt-32 all have
Which is right register to get the address of the instruction which caused
the data-abort exception?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users