{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,1]],"date-time":"2026-07-01T03:16:07Z","timestamp":1782875767574,"version":"3.54.5"},"reference-count":43,"publisher":"Association for Computing Machinery (ACM)","issue":"OOPSLA","license":[{"start":{"date-parts":[[2020,11,13]],"date-time":"2020-11-13T00:00:00Z","timestamp":1605225600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"National Science Foundation","award":["1564274"],"award-info":[{"award-number":["1564274"]}]},{"DOI":"10.13039\/100007297","name":"Office of Naval Research","doi-asserted-by":"publisher","award":["N00014-17-1-2996"],"award-info":[{"award-number":["N00014-17-1-2996"]}],"id":[{"id":"10.13039\/100007297","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2020,11,13]]},"abstract":"<jats:p>Dynamic linking is extremely common in modern software systems, thanks to the flexibility and space savings it offers. However, this flexibility comes at a cost: it\u2019s impossible to perform interprocedural optimizations that involve calls to a dynamic library. The basic problem is that the run-time behavior of the dynamic linker can\u2019t be predicted at compile time, so the compiler can make no assumptions about how such calls will behave.<\/jats:p>\n          <jats:p>\n            This paper introduces\n            <jats:italic>guided linking<\/jats:italic>\n            , a technique for optimizing dynamically linked software when some information about the dynamic linker\u2019s behavior is known in advance. The developer provides an arbitrary set of programs, libraries, and plugins to our tool, along with\n            <jats:italic>constraints<\/jats:italic>\n            that limit the possible dynamic linking behavior of the software. By taking advantage of the constraints, our tool enables\n            <jats:italic>any<\/jats:italic>\n            existing optimization to be applied across dynamic linking boundaries. For example, the NoOverride constraint can be applied to a function when the developer knows it will never be overridden with a different definition at run time; guided linking then enables the function to be inlined into its callers in other libraries. We also introduce a novel code size optimization that deduplicates identical functions even across different parts of the software set.\n          <\/jats:p>\n          <jats:p>By applying guided linking to the Python interpreter and its dynamically loaded modules, supplying the constraint that no other programs or modules will be used, we increase speed by an average of 9%. By applying guided linking to a dynamically linked distribution of Clang and LLVM, and using the constraint that no other software will use the LLVM libraries, we can increase speed by 5% and reduce file size by 13%. If we relax the constraint to allow other software to use the LLVM libraries, we can still increase speed by 5% and reduce file size by 5%. If we use guided linking to combine 11 different versions of the Boost library, using minimal constraints, we can reduce the total library size by 57%.<\/jats:p>","DOI":"10.1145\/3428213","type":"journal-article","created":{"date-parts":[[2020,11,24]],"date-time":"2020-11-24T23:40:14Z","timestamp":1606261214000},"page":"1-29","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":5,"title":["Guided linking: dynamic linking without the costs"],"prefix":"10.1145","volume":"4","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-0035-6456","authenticated-orcid":false,"given":"Sean","family":"Bartell","sequence":"first","affiliation":[{"name":"University of Illinois at Urbana-Champaign, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7004-2343","authenticated-orcid":false,"given":"Will","family":"Dietz","sequence":"additional","affiliation":[{"name":"University of Illinois at Urbana-Champaign, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0760-9690","authenticated-orcid":false,"given":"Vikram S.","family":"Adve","sequence":"additional","affiliation":[{"name":"University of Illinois at Urbana-Champaign, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2020,11,13]]},"reference":[{"key":"e_1_2_2_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/3359789.3359823"},{"key":"e_1_2_2_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/2694344.2694392"},{"key":"e_1_2_2_3_1","first-page":"19","volume-title":"InProc. Linux Symp. ( 2009 ). 19-28","author":"Arcangeli Andrea","year":"2009","unstructured":"Andrea Arcangeli , Izik Eidus , and Chris Wright . 2009 . Increasing memory density by using KSM . InProc. Linux Symp. ( 2009 ). 19-28 . https:\/\/www.kernel.org\/doc\/ols\/2009\/ols2009-pages- 19 - 28 .pdf Andrea Arcangeli, Izik Eidus, and Chris Wright. 2009. Increasing memory density by using KSM. InProc. Linux Symp. ( 2009 ). 19-28. https:\/\/www.kernel.org\/doc\/ols\/2009\/ols2009-pages-19-28.pdf"},{"key":"e_1_2_2_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/872726.806977"},{"key":"e_1_2_2_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/3314221.3314596"},{"key":"e_1_2_2_6_1","volume-title":"Proceedings of the 2005 USENIX Annual Technical Conference (USENIX ATC '05). 309-322. https:\/\/www.usenix.org\/ conference\/2005-usenix-annual-technical-conference\/slinky-static-linking-reloaded","author":"Collberg Christian S.","unstructured":"Christian S. Collberg , John H. Hartman , Sridivya Babu , and Sharath K. Udupa . 2005. SLINKY: Static Linking Reloaded . In Proceedings of the 2005 USENIX Annual Technical Conference (USENIX ATC '05). 309-322. https:\/\/www.usenix.org\/ conference\/2005-usenix-annual-technical-conference\/slinky-static-linking-reloaded Christian S. Collberg, John H. Hartman, Sridivya Babu, and Sharath K. Udupa. 2005. SLINKY: Static Linking Reloaded. In Proceedings of the 2005 USENIX Annual Technical Conference (USENIX ATC '05). 309-322. https:\/\/www.usenix.org\/ conference\/2005-usenix-annual-technical-conference\/slinky-static-linking-reloaded"},{"key":"e_1_2_2_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/6465.6489"},{"key":"e_1_2_2_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/301618.301655"},{"key":"e_1_2_2_9_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-71237-6_7"},{"key":"e_1_2_2_10_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-29962-0_5"},{"key":"e_1_2_2_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/1086642.1086645"},{"key":"e_1_2_2_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/384197.384204"},{"key":"e_1_2_2_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/349214.349233"},{"key":"e_1_2_2_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/3276524"},{"key":"e_1_2_2_15_1","volume-title":"How To Write Shared Libraries. Retrieved","author":"Drepper Ulrich","year":"2020","unstructured":"Ulrich Drepper . 2011. How To Write Shared Libraries. Retrieved Oct. 2020 from https:\/\/akkadia.org\/drepper\/dsohowto.pdf Ulrich Drepper. 2011. How To Write Shared Libraries. Retrieved Oct. 2020 from https:\/\/akkadia.org\/drepper\/dsohowto.pdf"},{"key":"e_1_2_2_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/502874.502886"},{"key":"e_1_2_2_17_1","volume-title":"Code optimization with the IBM XL compilers on Power architectures. Retrieved","author":"IBM Corporation","year":"2020","unstructured":"IBM Corporation . 2018. Code optimization with the IBM XL compilers on Power architectures. Retrieved Oct. 2020 from http:\/\/www-01.ibm.com\/support\/docview.wss? uid=swg27005174&aid=1 IBM Corporation. 2018. Code optimization with the IBM XL compilers on Power architectures. Retrieved Oct. 2020 from http:\/\/www-01.ibm.com\/support\/docview.wss? uid=swg27005174&aid=1"},{"key":"e_1_2_2_18_1","unstructured":"Intel Corporation. 2020. Intel\u00ae C+ + Compiler 19.1 Developer Guide and Reference. Retrieved Oct. 2020 from https:\/\/software.intel.com\/content\/www\/us\/en\/develop\/documentation\/cpp-compiler-developer-guide-andreference\/top\/optimization-and-programming-guide\/interprocedural-optimization-ipo.html  Intel Corporation. 2020. Intel\u00ae C+ + Compiler 19.1 Developer Guide and Reference. Retrieved Oct. 2020 from https:\/\/software.intel.com\/content\/www\/us\/en\/develop\/documentation\/cpp-compiler-developer-guide-andreference\/top\/optimization-and-programming-guide\/interprocedural-optimization-ipo.html"},{"key":"e_1_2_2_19_1","volume-title":"Technical Report. Red Hat","author":"Jel\u00ednek Jakub","unstructured":"Jakub Jel\u00ednek . 2004.Prelink. Technical Report. Red Hat , Inc . https:\/\/people.redhat.com\/jakub\/prelink.pdf Jakub Jel\u00ednek. 2004.Prelink. Technical Report. Red Hat, Inc. https:\/\/people.redhat.com\/jakub\/prelink.pdf"},{"key":"e_1_2_2_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/1289927.1289961"},{"key":"e_1_2_2_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/2983990.2983996"},{"key":"e_1_2_2_22_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-47764-0_3"},{"key":"e_1_2_2_23_1","doi-asserted-by":"publisher","DOI":"10.1109\/CGO.2004.1281665"},{"key":"e_1_2_2_24_1","volume-title":"Linkers and Loaders","author":"Levine John R.","unstructured":"John R. Levine . 1999. Linkers and Loaders ( 1 st ed.). Morgan Kaufmann , San Francisco, CA, USA . https:\/\/linker.iecc.com\/ John R. Levine. 1999. Linkers and Loaders (1st ed.). Morgan Kaufmann, San Francisco, CA, USA. https:\/\/linker.iecc.com\/","edition":"1"},{"key":"e_1_2_2_25_1","doi-asserted-by":"publisher","DOI":"10.1109\/CGO.2019.8661180"},{"key":"e_1_2_2_26_1","volume-title":"Linux Programmer's Manual: ld.so(8). Linux man-pages project. Retrieved","author":"Linux","year":"2020","unstructured":"Linux man-pages project 2020. Linux Programmer's Manual: ld.so(8). Linux man-pages project. Retrieved Oct. 2020 from https:\/\/man7.org\/linux\/man-pages\/man8\/ld.so.8.html Linux man-pages project 2020. Linux Programmer's Manual: ld.so(8). Linux man-pages project. Retrieved Oct. 2020 from https:\/\/man7.org\/linux\/man-pages\/man8\/ld.so.8.html"},{"key":"e_1_2_2_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/2695664.2695751"},{"key":"e_1_2_2_28_1","volume-title":"Mulliner and Mathias Neugschwandtner","author":"Collin","year":"2015","unstructured":"Collin R. Mulliner and Mathias Neugschwandtner . 2015 . CodeFreeze: Breaking Payloads with Runtime Code Stripping and Image Freezing. InBlack Hat USA. https:\/\/www.mulliner.org\/security\/codefreeze\/ Collin R. Mulliner and Mathias Neugschwandtner. 2015. CodeFreeze: Breaking Payloads with Runtime Code Stripping and Image Freezing. InBlack Hat USA. https:\/\/www.mulliner.org\/security\/codefreeze\/"},{"key":"e_1_2_2_29_1","volume-title":"High Performance Dynamic Linking Through Caching. InProceedings of the USENIX","author":"Michael","year":"1993","unstructured":"Michael N. Nelson and Graham Hamilton. 1993 . High Performance Dynamic Linking Through Caching. InProceedings of the USENIX Summer 1993 Technical Conference (USENIX ATC). https:\/\/www.usenix.org\/legacy\/publications\/library\/ proceedings\/cinci93\/nelson.html Michael N. Nelson and Graham Hamilton. 1993. High Performance Dynamic Linking Through Caching. InProceedings of the USENIX Summer 1993 Technical Conference (USENIX ATC). https:\/\/www.usenix.org\/legacy\/publications\/library\/ proceedings\/cinci93\/nelson.html"},{"key":"e_1_2_2_30_1","unstructured":"OpenWRT Community. 2020. 4 \/32 Warning. https:\/\/openwrt.org\/supported_devices\/432_warning  OpenWRT Community. 2020. 4 \/32 Warning. https:\/\/openwrt.org\/supported_devices\/432_warning"},{"key":"e_1_2_2_31_1","volume-title":"Fast and Flexible Shared Libraries. PInroceedings of the","author":"Orr Douglas B.","year":"1993","unstructured":"Douglas B. Orr , John Bonn , Jay Lepreau , and Robert Mecklenburg . 1993 . Fast and Flexible Shared Libraries. PInroceedings of the Summer 1993 Usenix Conference. 237-252. https:\/\/www.cs.utah.edu\/flux\/papers\/shlibs.html Douglas B. Orr, John Bonn, Jay Lepreau, and Robert Mecklenburg. 1993. Fast and Flexible Shared Libraries. PInroceedings of the Summer 1993 Usenix Conference. 237-252. https:\/\/www.cs.utah.edu\/flux\/papers\/shlibs.html"},{"key":"e_1_2_2_32_1","unstructured":"Python Software Foundation. 2020a. The Python Performance Benchmark Suite. https:\/\/pyperformance.readthedocs.io\/  Python Software Foundation. 2020a. The Python Performance Benchmark Suite. https:\/\/pyperformance.readthedocs.io\/"},{"key":"e_1_2_2_33_1","unstructured":"Python Software Foundation. 2020b. Python pyperf module. https:\/\/pyperf.readthedocs.io\/en\/latest\/  Python Software Foundation. 2020b. Python pyperf module. https:\/\/pyperf.readthedocs.io\/en\/latest\/"},{"key":"e_1_2_2_34_1","unstructured":"Valery Reznic. 2016. Statifier. Retrieved 2018 from http:\/\/statifier.sourceforge.net\/  Valery Reznic. 2016. Statifier. Retrieved 2018 from http:\/\/statifier.sourceforge.net\/"},{"key":"e_1_2_2_35_1","volume-title":"Ermine: Linux Portable Application Creator","author":"Reznic Valery","year":"2018","unstructured":"Valery Reznic . 2018 . Ermine: Linux Portable Application Creator . http:\/\/www.magicermine.com\/ Valery Reznic. 2018. Ermine: Linux Portable Application Creator. http:\/\/www.magicermine.com\/"},{"key":"e_1_2_2_36_1","doi-asserted-by":"publisher","DOI":"10.1109\/CGO.2019.8661174"},{"key":"e_1_2_2_37_1","volume-title":"reducebind.c. Retrieved","year":"2020","unstructured":"scut. 2003. reducebind.c. Retrieved Oct. 2020 from https:\/\/packetstormsecurity.com\/files\/30760\/reducebind.c.html scut. 2003. reducebind.c. Retrieved Oct. 2020 from https:\/\/packetstormsecurity.com\/files\/30760\/reducebind.c.html"},{"key":"e_1_2_2_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/3238147.3238160"},{"key":"e_1_2_2_39_1","volume-title":"Wall","author":"Srivastava Amitabh","year":"1992","unstructured":"Amitabh Srivastava and David W . Wall . 1992 . A Practical System for Intermodule Code Optimization at Link-Time. WRL Research Report 92\/6. Digital Western Research Laboratory. Retrieved Oct . 2020 from https:\/\/www.hpl.hp.com\/ techreports\/Compaq-DEC\/WRL-92-6.pdf Amitabh Srivastava and David W. Wall. 1992. A Practical System for Intermodule Code Optimization at Link-Time. WRL Research Report 92\/6. Digital Western Research Laboratory. Retrieved Oct. 2020 from https:\/\/www.hpl.hp.com\/ techreports\/Compaq-DEC\/WRL-92-6.pdf"},{"key":"e_1_2_2_40_1","doi-asserted-by":"publisher","DOI":"10.1145\/800191.805652"},{"key":"e_1_2_2_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/2597809.2597811"},{"key":"e_1_2_2_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/844128.844146"},{"key":"e_1_2_2_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/3358222"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3428213","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3428213","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3428213","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T22:02:56Z","timestamp":1750197776000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3428213"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2020,11,13]]},"references-count":43,"journal-issue":{"issue":"OOPSLA","published-print":{"date-parts":[[2020,11,13]]}},"alternative-id":["10.1145\/3428213"],"URL":"https:\/\/doi.org\/10.1145\/3428213","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2020,11,13]]},"assertion":[{"value":"2020-11-13","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}