5 ms·
It's worth mentioning that libfaketime [1] is a more mature alternative with macOS support and more complete coverage of the relevant system calls. Nothing agai
by foob 9y ago
It's worth mentioning that libfaketime [1] is a more mature alternative with macOS support and more complete coverage of the relevant system calls. Nothing against the current project but that might be a better choice for many people.
[1] - https://github.com/wolfcw/libfaketime https://github.com/wolfcw/libfaketime
- zitterbewegung 9y agoAlso you can google the name to figure out how to use it.
- aray 9y agoLibfaketime is great, especially if you have a good idea what time calls your target process is using. If they're inspecting EHDR and calling VDSO directly, though, or they've statically compiled in their libc, then it won't help though. I've also had a lot of issues getting it into tightly sandboxed contexts (e.g. the flash runtime in chrome).
- nzmsv 9y agoSadly, the license is GPL rather than the expected LGPL.
- jwilk 9y agoIn what sense LGPL is "expected"?
- kreetx 9y agoI've been a satisfied user of libfaketime as well. Would be great if the OP could highlight the feature differences to it!