• Stars
    star
    794
  • Rank 57,349 (Top 2 %)
  • Language
  • Created almost 5 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

List of resources related to LD_PRELOAD, a mechanism for changing application behavior at run-time

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
  • force-urandom - force programs to use fast and secure /dev/urandom instead of pointlessly slow /dev/random
  • fsatrace - filesystem access tracer
  • gamemode - enables optimizations for gaming that are automatically unset on process exit
  • 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
  • srv-shim - drop-in DNS SRV record support for applications relying on getaddrinfo/connect/sendto
  • 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

More Repositories

1

s3proxy

Access other storage backends via the S3 API
Java
1,755
star
2

modernizer-maven-plugin

Detect uses of legacy Java APIs
Java
341
star
3

are-we-consistent-yet

Compare eventual consistency of object stores
Java
169
star
4

object-store-comparison

Compare cost, durability, and region support of public cloud object stores, e.g., Amazon S3
HTML
69
star
5

undocumented-s3-apis

Undocumented Amazon S3 APIs and third-party extensions
66
star
6

java-httpbin

A Java-based HTTP server that lets you locally test your HTTP client, retry logic, streaming behavior, timeouts, etc. with the endpoints of httpbin.org
Java
35
star
7

bay-area-transit-plans

San Francisco Bay Area Transit Plans
18
star
8

java-collection-overhead

Demonstrate overheads for various Java Collection implementations.
Java
17
star
9

libinput-force-middle-click-emulation

force libinput to emulate a middle click when pressing left and right buttons simultaneously
C
13
star
10

github-release-rss-feed

Watch starred GitHub repositories for new releases.
Python
7
star
11

mirrorfs

Mirror filesystem operations and check for consistency
C
6
star
12

x86lint

Examine x86 machine code to find suboptimal encodings and sequences
C
6
star
13

gkeep-fuse

FUSE interface for Google Keep
Python
6
star
14

yass-android

Yet Another Sync Software for Android
Java
4
star
15

libnoxattr

An LD_PRELOAD library that disables all forms of extended attribute access
C
4
star
16

desktop-everywhere

WebExtension which redirects mobile links to desktop equivalents
JavaScript
3
star
17

ptools

parallel implementations of Unix tools
Go
1
star
18

loudest-tweeters

show all the Twitter profiles in your timeline, sorted by number of tweets
Go
1
star
19

fatback

A *nix tool for recovering files from FAT file systems.
C
1
star