Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is this theoretically something lto could remove?


If you disable dlopen and ld_preload.


Dlopen() "sees" only functions marked as exported (with macro like DLLEXPORT on Windows), not every function or am I wrong? Is C that bad?


On openbsd at least, every global symbol is exported unless you use an explicit symbol list. It's unusual for executables.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: