Projects / FakeTime Preload Library

FakeTime Preload Library

FTPL (FakeTime Preload Library, aka libfaketime) intercepts various system library calls and tricks programs of your choice into seeing a faked system time without having to change the time system-wide. This can be used for running legacy software with Y2K bugs, testing software for year-2038 compliance, debugging time-related issues such as expired SSL certificates, and using software that ceases to run outside a certain time frame. The faked time can be specified either absolutely or relative to the real current time, and optionally also affects file timestamps. The faked clock continues to run, but can optionally be frozen, slowed down, or made faster. A wrapper script "faketime" simplifies the usage, similar to tools such as fakechroot.

Tags Utilities Diagnostics Software Development Debuggers
Licenses GPL
Operating Systems POSIX Linux
Implementation C

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  24 Aug 2008 21:43
  • Rrelease-after

Changes: This version adds support to speed up/slow down the system clock, intercepts calls to the new system functions fstatat() and fstatat64(), allows fractional values for offset specification, and comes with a new wrapper script and a man page for eased system-wide installation and use.

  • Rrelease-mid
  •  28 Jun 2008 21:26
  • Rrelease-after

Changes: This version adds phtread synchronization support, allows "start at" time specifications, provides options to dynamically disable features at runtime, and enhances compatibility with system-level applications, such as Java Virtual Machines.

  • Rrelease-mid
  •  15 Nov 2007 23:23
  • Rrelease-after

Changes: This release adds support for file timestamp faking by intercepting system calls such as fstat(), support for a system-wide /etc/faketimerc configuration file, and caching for performance improvements.

  • Rrelease-mid
  •  04 Mar 2006 21:22
  • Rrelease-after

Changes: Support for year-wise offset specification using "y" was added.

  • Rrelease-mid
  •  06 Nov 2005 14:15
  • Rrelease-after

Changes: Adds support for specifying custom date formats through an environment variable.

Dcbd5932369efb6dabf3525f66f1f3b1_thumb

Project Spotlight

tntdb

A C++ class library for database-independent database access.

No-screenshot

Project Spotlight

Atlassian Connector for IntelliJ IDEA

Connect Atlassian dev tools (JIRA, Bamboo, Crucbile, FishEye) to IntelliJ IDEA.