<div dir="ltr"><br><div>Oh, messed up the registers in the example. Should be like this:</div><div><br></div><div>If some original function of the driver contained, say,<br><br>  mov 0xabcd (%rax), %rsi<br>mov %rdx, 0xbeeffeed (%rsi)<br>
<br>that will be transformed to something like <br><br>  lea  0xabcd (%rax), %rbx<br>  mov %rbx, <local_storage1><br>  mov 0xabcd (%rax), %rsi <br>  lea  0xbeeffeed (%rsi), %rbx<br>  mov %rbx, <local_storage2> <br>
mov %rdx, 0xbeeffeed (%rsi) <br>  ...<br>  <send the local_storage to the output system></div><div><br></div><div>Regards,</div><div>Eugene</div></div>