{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,21]],"date-time":"2026-05-21T18:36:58Z","timestamp":1779388618063,"version":"3.53.1"},"reference-count":59,"publisher":"Association for Computing Machinery (ACM)","issue":"OOPSLA","license":[{"start":{"date-parts":[[2021,10,15]],"date-time":"2021-10-15T00:00:00Z","timestamp":1634256000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/100000001","name":"NSF","doi-asserted-by":"publisher","award":["CCF-2028733,CCF-1814654,CCF-2119070"],"award-info":[{"award-number":["CCF-2028733,CCF-1814654,CCF-2119070"]}],"id":[{"id":"10.13039\/100000001","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":[[2021,10,20]]},"abstract":"<jats:p>Type-safe languages improve application safety by eliminating whole classes of vulnerabilities\u2013such as buffer overflows\u2013by construction. However, this safety sometimes comes with a performance cost. As a result, many modern type-safe languages provide escape hatches that allow developers to manually bypass them. The relative value of performance to safety and the degree of performance obtained depends upon the application context, including user goals and the hardware upon which the application is to be executed. Since libraries may be used in many different contexts, library developers cannot make safety-performance trade-off decisions appropriate for all cases. Application developers can tune libraries themselves to increase safety or performance, but this requires extra effort and makes libraries less reusable. To address this problem, we present NADER, a Rust development tool that makes applications safer by automatically transforming unsafe code into equivalent safe code according to developer preferences and application context. In end-to-end system evaluations in a given context, NADER automatically reintroduces numerous library bounds checks, in many cases making application code that uses popular Rust libraries safer with no corresponding loss in performance.<\/jats:p>","DOI":"10.1145\/3485480","type":"journal-article","created":{"date-parts":[[2021,10,15]],"date-time":"2021-10-15T19:18:28Z","timestamp":1634325508000},"page":"1-23","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":6,"title":["Safer at any speed: automatic context-aware safety enhancement for Rust"],"prefix":"10.1145","volume":"5","author":[{"given":"Natalie","family":"Popescu","sequence":"first","affiliation":[{"name":"Princeton University, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ziyang","family":"Xu","sequence":"additional","affiliation":[{"name":"Princeton University, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Sotiris","family":"Apostolakis","sequence":"additional","affiliation":[{"name":"Google, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"David I.","family":"August","sequence":"additional","affiliation":[{"name":"Princeton University, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Amit","family":"Levy","sequence":"additional","affiliation":[{"name":"Princeton University, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2021,10,15]]},"reference":[{"key":"e_1_2_2_1_1","doi-asserted-by":"publisher","DOI":"10.1109\/SP.2008.30"},{"key":"e_1_2_2_2_1","doi-asserted-by":"publisher","DOI":"10.5555\/1855768.1855772"},{"key":"e_1_2_2_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/3231935"},{"key":"e_1_2_2_4_1","volume-title":"Swift Programming Language. https:\/\/swift.org\/ [Online","year":"2021"},{"key":"e_1_2_2_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/3428204"},{"key":"e_1_2_2_6_1","volume-title":"https:\/\/firecracker-microvm.github.io\/ [Online","author":"Firecracker AWS.","year":"2021"},{"key":"e_1_2_2_7_1","volume-title":"https:\/\/github.com\/BLAKE3-team\/BLAKE3 [Online","year":"2021"},{"key":"e_1_2_2_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/358438.349342"},{"key":"e_1_2_2_9_1","volume-title":"https:\/\/github.com\/cloudflare\/boringtun [Online","author":"Tun Boring","year":"2021"},{"key":"e_1_2_2_10_1","volume-title":"quiche. https:\/\/github.com\/cloudflare\/quiche [Online","year":"2021"},{"key":"e_1_2_2_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/3205911"},{"key":"e_1_2_2_12_1","volume-title":"Silesia Compression Corpus","author":"Deorowicz S"},{"key":"e_1_2_2_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/1133981.1133999"},{"key":"e_1_2_2_14_1","volume-title":"DIESEL: A safe, extensible ORM and Query Builder for Rust. https:\/\/github.com\/diesel-rs\/diesel [Online","author":"Team Diesel","year":"2021"},{"key":"e_1_2_2_15_1","doi-asserted-by":"publisher","DOI":"10.5555\/2851099"},{"key":"e_1_2_2_16_1","unstructured":"Dropbox. 2020. Dropbox\/Rust-Brotli-Decompressor. https:\/\/github.com\/google\/brotli  Dropbox. 2020. Dropbox\/Rust-Brotli-Decompressor. https:\/\/github.com\/google\/brotli"},{"key":"e_1_2_2_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/2663716.2663755"},{"key":"e_1_2_2_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/3377811.3380413"},{"key":"e_1_2_2_19_1","volume-title":"Fast Node Manager. https:\/\/github.com\/Schniz\/fnm [Online","year":"2021"},{"key":"e_1_2_2_20_1","volume-title":"https:\/\/google.github.io\/flatbuffers\/ [Online","year":"2021"},{"key":"e_1_2_2_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/176454.176507"},{"key":"e_1_2_2_22_1","volume-title":"https:\/\/github.com\/hyperium\/tonic [Online","year":"2021"},{"key":"e_1_2_2_23_1","volume-title":"Flux - Influx data language. https:\/\/github.com\/influxdata\/flux [Online","year":"2021"},{"key":"e_1_2_2_24_1","volume-title":"https:\/\/github.com\/iron\/iron [Online","author":"Team Iron","year":"2021"},{"key":"e_1_2_2_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/3158154"},{"key":"e_1_2_2_26_1","volume-title":"Spectre Attacks: Exploiting Speculative Execution. In 40th IEEE Symposium on Security and Privacy (S&P\u201919)","author":"Kocher Paul","year":"2019"},{"key":"e_1_2_2_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/223428.207160"},{"key":"e_1_2_2_28_1","doi-asserted-by":"publisher","DOI":"10.5555\/3291168.3291215"},{"key":"e_1_2_2_29_1","doi-asserted-by":"publisher","DOI":"10.5555\/3277203.3277276"},{"key":"e_1_2_2_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/2692956.2663188"},{"key":"e_1_2_2_31_1","doi-asserted-by":"publisher","DOI":"10.5555\/2831090.2831104"},{"key":"e_1_2_2_32_1","volume-title":"https:\/\/developer.mozilla.org\/en-US\/docs\/Mozilla\/Gecko [Online","year":"2021"},{"key":"e_1_2_2_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/1543135.1542504"},{"key":"e_1_2_2_34_1","volume-title":"https:\/\/www.openssl.org\/ [Online","author":"SSL.","year":"2021"},{"key":"e_1_2_2_35_1","doi-asserted-by":"publisher","DOI":"10.5555\/3026877.3026894"},{"key":"e_1_2_2_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/223428.207117"},{"key":"e_1_2_2_37_1","doi-asserted-by":"publisher","DOI":"10.5555\/647478.757106"},{"key":"e_1_2_2_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/3385412.3386036"},{"key":"e_1_2_2_39_1","volume-title":"rage. https:\/\/github.com\/str4d\/rage [Online","year":"2021"},{"key":"e_1_2_2_40_1","doi-asserted-by":"publisher","DOI":"10.1145\/329366.301111"},{"key":"e_1_2_2_41_1","volume-title":"gfx. https:\/\/github.com\/gfx-rs\/gfx [Online","author":"Mages Rust Graphics","year":"2021"},{"key":"e_1_2_2_42_1","volume-title":"https:\/\/doc.rust-lang.org\/book\/ch19-01-unsafe-rust.html. [Online","author":"Team Rust Language","year":"2021"},{"key":"e_1_2_2_43_1","volume-title":"https:\/\/github.com\/RustPython\/RustPython [Online","author":"Team RustPython","year":"2021"},{"key":"e_1_2_2_44_1","first-page":"159","article-title":"A Practical Dynamic Buffer Overflow Detector","volume":"2004","author":"Ruwase Olatunji","year":"2004","journal-title":"NDSS."},{"key":"e_1_2_2_45_1","volume-title":"Servo project. https:\/\/servo.org\/ [Online","author":"Developers Servo Project","year":"2021"},{"key":"e_1_2_2_46_1","volume-title":"https:\/\/github.com\/valeriansaliou\/sonic [Online","author":"Team Sonic","year":"2021"},{"key":"e_1_2_2_47_1","volume-title":"swc. https:\/\/github.com\/swc-project\/swc [Online","year":"2021"},{"key":"e_1_2_2_48_1","volume-title":"tantivy. https:\/\/github.com\/tantivy-search\/tantivy [Online","year":"2021"},{"key":"e_1_2_2_49_1","doi-asserted-by":"publisher","DOI":"10.1145\/2430532.2364524"},{"key":"e_1_2_2_50_1","volume-title":"https:\/\/github.com\/tikv\/tikv [Online","author":"Project KV","year":"2021"},{"key":"e_1_2_2_51_1","volume-title":"https:\/\/github.com\/timberio\/vector [Online","year":"2021"},{"key":"e_1_2_2_52_1","doi-asserted-by":"publisher","DOI":"10.1109\/SP.2015.58"},{"key":"e_1_2_2_53_1","volume-title":"warp. https:\/\/github.com\/seanmonstar\/warp [Online","author":"Team Warp","year":"2021"},{"key":"e_1_2_2_54_1","volume-title":"https:\/\/wasmer.io\/ [Online","year":"2021"},{"key":"e_1_2_2_55_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-24688-6_58"},{"key":"e_1_2_2_56_1","volume-title":"wrk. https:\/\/github.com\/wg\/wrk [Online","year":"2021"},{"key":"e_1_2_2_57_1","doi-asserted-by":"publisher","DOI":"10.1145\/1294325.1294343"},{"key":"e_1_2_2_58_1","doi-asserted-by":"publisher","DOI":"10.1145\/3132747.3132778"},{"key":"e_1_2_2_59_1","volume-title":"zola. https:\/\/github.com\/getzola\/zola [Online","author":"Team Zola","year":"2021"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3485480","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3485480","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3485480","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T20:18:39Z","timestamp":1750191519000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3485480"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,10,15]]},"references-count":59,"journal-issue":{"issue":"OOPSLA","published-print":{"date-parts":[[2021,10,20]]}},"alternative-id":["10.1145\/3485480"],"URL":"https:\/\/doi.org\/10.1145\/3485480","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,10,15]]},"assertion":[{"value":"2021-10-15","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}