libclockhack | Intercept library to set the time

 by   pellucida C Version: Current License: CC0-1.0

kandi X-RAY | libclockhack Summary

kandi X-RAY | libclockhack Summary

libclockhack is a C library. libclockhack has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Set the time backward or forward for a process by intercepting the relevant system calls using LD_PRELOAD to have the run time loader preload this library. A small shared library that intercepts the three system calls that Linux processes use to get the current time viz. The offset in seconds from the current time is passed via the environment variable HACK_CLOCK_SHIFT. Note: the apparent time still increases monotonically at a constant offset from the real time. Should be able to fiddle it to work on most unix systems. If RTLD_NEXT isn't supported then accessing the real system calls using the syscall(2) interface is another option. NetBSD seems to rename gettimeofday to gettimeofday50 and has a slightly different prototype but did work after making this change. Obviously doesn't work for statically linked executables such as /bin/date on OpenBSD. LICENSE Creative Commons CC0 (
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              libclockhack has a low active ecosystem.
              It has 2 star(s) with 0 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              libclockhack has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of libclockhack is current.

            kandi-Quality Quality

              libclockhack has 0 bugs and 0 code smells.

            kandi-Security Security

              libclockhack has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              libclockhack code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              libclockhack is licensed under the CC0-1.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              libclockhack releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of libclockhack
            Get all kandi verified functions for this library.

            libclockhack Key Features

            No Key Features are available at this moment for libclockhack.

            libclockhack Examples and Code Snippets

            No Code Snippets are available at this moment for libclockhack.

            Community Discussions

            No Community Discussions are available at this moment for libclockhack.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install libclockhack

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/pellucida/libclockhack.git

          • CLI

            gh repo clone pellucida/libclockhack

          • sshUrl

            git@github.com:pellucida/libclockhack.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link