内容简介: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, makingTo use, set the environment variableLD_PRELOAD works on Linux systems
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
- 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 - libfaketime modifies the system time for a single application
- 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
- openssl-hook - log data to/from SSL_write/SSL_read to disk
- otherport - redirect connections to other ports
- timeskew - override time reporting in Linux processes (accelerate/slowdown games, test code involving timers/delays)
-
unrandom
- make
srand()always use the seed 0
Meta
Links
- LD_PRELOAD is super fun. And easy! (Julia Evans)
- LD_PRELOAD: The Hero We Need and Deserve (Jessie Frazelle)
License
Copyright (C) 2020 Google LLC
Licensed under the Creative Commons Attribution License, Version 4.0
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Series 60 应用程序开发
巴克 / 人民邮电出版社 / 2005-7 / 75.0
Series 60智能手机开发平台正掀起新一轮的移动服务浪潮。超过60%的手机生产商获得了Series 60平台的授权。Series 60移动应用开发平台拥有最大的用户群,从而成为智能手机市场的代表。诺基亚与EMCC软件公司合作,为C++程序员和软件设计师编撰了这本Series 60开发的权威指南。本书由诺基亚资深专家进行了全面审阅。本书内容涉及了开发过程的各个阶段,从设计、编程、测试、调试到部署......一起来看看 《Series 60 应用程序开发》 这本书的介绍吧!