News for hackers. Stuff that matters.
Re:Tearing apart printf() (2018) by nitwit005 on Tuesday November 12, 2019 @06:15PM (#21519307)
Isn't that disassembly a replacement of the call to printf with a call to the write system call? Most compilers have the printf family as builtins to allow removing them from the code entirely: https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html
Re:Tearing apart printf() (2018) by saagarjha on Tuesday November 12, 2019 @06:51PM (#21519545)
Compilers will rarely inline all of printf in my experience.