News for hackers. Stuff that matters.
Re:I Do Not Know C: Short quiz on undefined behavior (2015) by mjevans on Monday February 13, 2017 @09:03PM (#13640604)
You can't though. It's always possible to re-link the objects.
Re:I Do Not Know C: Short quiz on undefined behavior (2015) by E6300 on Monday February 13, 2017 @09:11PM (#13640638)
You can if, for example, the function is static. Also there could be a link-time optimization pass. The linker can see all calls to that function, unless the function is exported.