Static linking occurs during the compilation of a program. A static-linked program copies all of the necessary libraries used in the program’s code into the final executable file, whereas dynamic linking loads Dynamic Link Libraries (DLLs) or shared objects (.so) at runtime.
Links to this note
- staticlinkedpython-nazarov2023
- toroiseandthemalwahare-pwc2023
- sysrvbotnet-imperva2024
- hiddenwasp-intezer2019
- gammagroupwriteup-fisher2014
- upgradingpty-ropnop2017
- runtimeprocessinfection-anonymous2002
- securelist-penquins_moonlit_maze2017
- bash-static
- gcc -static
- linking
- musl
- shared object
- static-python