Awesome LD_PRELOAD

栏目: IT技术 · 发布时间: 4年前

内容简介: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

License

Copyright (C) 2020 Google LLC

Licensed under the Creative Commons Attribution License, Version 4.0


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

轻快的Java

轻快的Java

(美)塔特、杰兰德/国别:中国大陆 / 张晓坤 / 中国电力出版社 / 2006-7 / 29.00元

Java的开发者正深陷于复杂性的泥沼中而无法自拔。我们的经验和能力正接近极限,程序员为了编写支持所选框架的程序所花的时间比解决真正问题的时间要多得多。我们不禁要问,有必要把Java搞得这么复杂吗?   答案是否定的。本书给你指引了一条出路。无论是维护应用程序,还是从头开始设计,你都能够超越成规,并大幅精简基本框架、开发过程和最终代码。你能重新掌握一度失控的J2EE应用程序。   在本书......一起来看看 《轻快的Java》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换