search for: after_entrance_traced

Displaying 3 results from an estimated 3 matches for "after_entrance_traced".

2016 Jul 28
4
XRay: Demo on x86_64/Linux almost done; some questions.
...each instruction takes exactly 4 bytes, if not in Thumb etc. mode). ; Look at the disassembly to verify that the sled is inserted before the ; instrumented function pushes caller's registers to the stack ; (otherwise r4 may not get preserved) PUSH {r4, lr} ADR lr, #16 ; relative offset of after_entrance_traced ; r4 must be preserved by the instrumented function, so that ; __xray_FunctionExit gets function ID in r4 too LDR r4, [pc, #0] ; offset of function ID stored by the patching mechanism ; call __xray_FunctionEntry (returning to after_entrance_traced) LDR pc, [pc, #0] ; use the address stored by the...
2016 Jul 29
0
XRay: Demo on x86_64/Linux almost done; some questions.
...y 4 bytes, if not in Thumb etc. mode). > > ; Look at the disassembly to verify that the sled is inserted before the > ; instrumented function pushes caller's registers to the stack > ; (otherwise r4 may not get preserved) > PUSH {r4, lr} > ADR lr, #16 ; relative offset of after_entrance_traced > ; r4 must be preserved by the instrumented function, so that > ; __xray_FunctionExit gets function ID in r4 too > LDR r4, [pc, #0] ; offset of function ID stored by the patching mechanism > ; call __xray_FunctionEntry (returning to after_entrance_traced) > LDR pc, [pc, #0] ; use...
2016 Jul 29
1
XRay: Demo on x86_64/Linux almost done; some questions.
...c. mode). > > > > ; Look at the disassembly to verify that the sled is inserted before the > > ; instrumented function pushes caller's registers to the stack > > ; (otherwise r4 may not get preserved) > > PUSH {r4, lr} > > ADR lr, #16 ; relative offset of after_entrance_traced > > ; r4 must be preserved by the instrumented function, so that > > ; __xray_FunctionExit gets function ID in r4 too > > LDR r4, [pc, #0] ; offset of function ID stored by the patching mechanism > > ; call __xray_FunctionEntry (returning to after_entrance_traced) > &gt...