libfaketime
« Back to VersTracker
Description:
Report faked system time to programs
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: testing time development debugging simulation
Install: brew install libfaketime
About:
Libfaketime is a preloadable shared library that intercepts system calls for time retrieval. It allows users to run applications with a modified system time without changing the system clock. This is invaluable for testing time-dependent behavior in software.
Key Features:
  • Preloadable via LD_PRELOAD
  • Relative or absolute time freezing
  • Permissive or restrictive time filtering
  • Thread-safe operation
Use Cases:
  • Testing expiration logic in software
  • Simulating future or past system states
  • Debugging time-sensitive network protocols
Alternatives:
  • faketime (Ruby gem) – Ruby-specific implementation vs Libfaketime's language-agnostic C library approach
Version History
Detected Version Rev Change Commit
Sep 11, 2025 11:08am 0 VERSION_BUMP 5d4a3418