Re:Using LD_PRELOAD to cheat, inject features and investigat...
by timtosi on Monday December 04, 2017 @07:42AM
(#15843393)
As C language teacher assistants in Uni, we used LD_PRELOAD during project defences to replace the lib standard malloc by one of our own in order to be sure that students allocated & freed memory correclty. Never saw so much Segmentation faults in such a short time window.
[ Parent
| on HN ]
Re:Using LD_PRELOAD to cheat, inject features and investigat...
by d33 on Monday December 04, 2017 @04:51PM
(#15847879)
How about libdislocator?
Re:Using LD_PRELOAD to cheat, inject features and investigat...
by jwilk on Tuesday December 05, 2017 @07:25AM
(#15851296)
If you can afford rebuilding from source, using AddressSanitizer (perhaps also UndefinedBehaviorSanitizer) should be better at uncovering memory safety bugs than any LD_PRELOAD trick.