If I understand PC trigger correctly, address param is pointer to the instruction location (injection will be triggered when program counter points to this address) and instruciton is instruction which will be placed on that code address. Unfortunatelly, I cant get it work. I checked that func _do_inject_look_up_errorarm (file fault-injection-injector.c) is called with correct lockup_instruction, but value in env->regs[15] did not change at all.
I am not able to change instruction at specific address (0x000082a8) by new instruction (code: 0xe3530000). Here is my injection XML file:
If I understand PC trigger correctly, address param is pointer to the instruction location (injection will be triggered when program counter points to this address) and instruciton is instruction which will be placed on that code address. Unfortunatelly, I cant get it work. I checked that func _do_inject_look_up_errorarm (file fault-injection-injector.c) is called with correct lockup_instruction, but value in env->regs[15] did not change at all.