Giter Club home page Giter Club logo

awesome-ld-preload's Introduction

Awesome LD_PRELOAD

This is a list of resources related to LD_PRELOAD, a mechanism for changing application behavior at run-time. Libraries can override specified functions with another, for example, making time(3) always return 0. This is often useful for testing or modifying application behavior without source code changes.

To use, set the environment variable LD_PRELOAD=/full/path/to/your_shared_lib.so before launching your application.

LD_PRELOAD works on Linux systems and some BSDs. macOS implements similar functionality via DYLD_INSERT_LIBRARIES.

Libraries

  • angrymlocker - library for keeping corresponding process in memory
  • arg-inject - add support for config files
  • cleancache - drop files content from page cache after closing, useful for backups
  • flockit - add file locking to programs that don't do it
  • fluxcapacitor - a tool for making your program run without blocking on timeouts, on functions like poll and select
  • fsatrace - filesystem access tracer
  • ktlswrapper - enables TLS support for existing applications without code change
  • ld-preload-open - map files or directories to another location
  • libeatmydata - disable all forms of writing data safely to disk. fsync() becomes a no-op, O_SYNC is removed, etc.
  • libfaketime - modifies the system time for a single application
  • libhugetlbfs - remap segments onto huge pages for a performance boost
  • libinput-force-middle-click-emulation - force libinput to emulate a middle click when pressing left and right buttons simultaneously
  • libkeepalive - enable TCP keepalive socket options
  • libleakmydata - disable SSL certificate verification
  • libnoxattr - disable all forms of extended attribute access
  • lkl use modern Linux kernel on old Centos5/6 (2.6 kernel) machines.
  • openssl-hook - log data to/from SSL_write/SSL_read to disk
  • otherport - redirect connections to other ports
  • preeny - redirect stdin and stdout to sockets; neuter sleep, report constant time, amongst others
  • stderred - colorize all stderr output that goes to terminal thus making it distinguishable from stdout
  • timeskew - override time reporting in Linux processes (accelerate/slowdown games, test code involving timers/delays)
  • trickle - a userland bandwidth shaper
  • unrandom - make srand() always use the seed 0

Meta

Links

License

Copyright (C) 2020 Google LLC

Licensed under the Creative Commons Attribution License, Version 4.0

awesome-ld-preload's People

Contributors

eguven avatar est avatar gaul avatar thesamesam avatar zimbatm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.