LD_PRELOAD

3 engineers on Hacker News describe using LD_PRELOAD first-hand: 1 endorse it, 1 regret it, 0 are mixed.

50%trust
3first-hand users
3in production
endorse 1mixed 0regret 1uses, no opinion

“LD_PRELOAD unfortunately doesn't work for statically linked libc.”

regret · production · entelechy · 2025-08-16 · source ↗ · wrong label?

“I'm pretty sure that LD_PRELOAD hack ran in prod for years :-) Very handy trick.”

endorse · production · angrygoat · 2017-12-04 · source ↗ · wrong label?

“The amount of times we ran LD_PRELOAD in prod was vanishingly small and limited to debug”

neutral · production · PunchyHamster · 2026-06-21 · source ↗ · wrong label?