Safer at any speed: automatic context-aware safety enhancement for Rust
Safer at any speed: automatic context-aware safety enhancement for Rust
复制标题
在任何速度下都更安全:Rust 的自动上下文感知安全增强
DOI:
10.1145/3485480
复制
发表时间:
2021
影响因子:
--
通讯作者:
Levy, Amit
中科院分区:
文献类型:
--
作者:
Popescu, Natalie;Xu, Ziyang;Apostolakis, Sotiris;August, David I.;Levy, Amit
Type-safe languages improve application safety by eliminating whole classes of vulnerabilities–such as buffer overflows–by 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.
登录
查看更多内容
DOI:
--
发表时间:
2021
期刊:
Petit Propos Culinaires
影响因子:
--
作者:
William Sayers
通讯作者:
William Sayers
DOI:
--
发表时间:
2007
期刊:
Principles and Practice of Programming in Java
影响因子:
--
作者:
Thomas Würthinger;Christian Wimmer;H. Mössenböck
通讯作者:
H. Mössenböck
DOI:
--
发表时间:
2013
期刊:
ACM SIGPLAN Symposium/Workshop on Haskell
影响因子:
--
作者:
David Terei;S. Marlow;S. Jones;David Mazières
通讯作者:
David Mazières
DOI:
--
发表时间:
2018-10
期刊:
--
影响因子:
--
作者:
C. Kulkarni;S. Moore;Mazhar Naqvi;Tian Zhang;R. Ricci;Ryan Stutsman
通讯作者:
C. Kulkarni;S. Moore;Mazhar Naqvi;Tian Zhang;R. Ricci;Ryan Stutsman
DOI:
--
发表时间:
2020
期刊:
Proc. ACM Program. Lang.
影响因子:
--
作者:
Vytautas Astrauskas;Christoph Matheja;F. Poli;Peter Müller;Alexander J. Summers
通讯作者:
Alexander J. Summers