Is there a way to cause this to happen (short of recoding every instance of the call, say time()
to be a call to syscall()
?
Asked
Active
Viewed 53 times
2

VividD
- 10,456
- 6
- 64
- 111

John Hascall
- 9,176
- 6
- 48
- 72
-
http://rr-project.org/ seems to do this.But I am not sure if you will find what you are looking for. – k0n3ru Feb 17 '16 at 06:12
-
Thanks, I haven't yet found if/when/how rr does this, but it looks like a really cool tool. – John Hascall Feb 17 '16 at 07:57
-
https://github.com/rr-debugger/rr/pull/1279/files#diff-26743ee03d8e643c058f9cfa835705beadaa579c3b6220cb728940b11ab6e56fR1394 It patches the VDSO region to jump to its own code. – gcp Mar 09 '22 at 07:17