Evil Twins and the Secret Lives of Linkers!
summary
A short C++ lab reproduces a surprising static-linking bug: adding an Evil Twins and the Secret Lives of Linkers! farewell library introduces duplicate inline definitions of a helper, the final binary resolves one copy arbitrarily and the program intermittently aborts. The demo uses object files, symbol tables and objdump to show link-order changes can silently fix or break the run, removing inline triggers a duplicate-symbol linker error, and renaming fixes it deterministically.
AI-written summary · about
chapters (4)
related talks
01h 04mCompiler Bugs And Bug Compilers
01h 27mDangerous Optimizations! in C++ - Part Deux
16mIntroduction to Procedural Debugging through Binary Libification
01h 30mDangerous Optimizations in C and C++ Programming Languages
24mSymbiotic: finding bugs in C programs
06mWhat's My Object?
19mExploiting Undefined Behavior in C/C++ Programs for Optimization: A Study on the(…)
37mBehind Enemy Lines - Reverse Engineering C++ in Modern Ages
