当前位置:网站首页>Google 尝试在 Chrome 中使用 Rust
Google 尝试在 Chrome 中使用 Rust
2022-04-23 20:48:00 【不叫月红】
据谷歌在线安全博客透露,目前超过 70% 的严重安全漏洞是内存安全问题。也就是说,这些安全漏洞主要是由C 或 C++ 语言中的指针错误导致,其中有一半的都是使用释放后的bug。
目前内存安全是一个值得全球软件工程社区认真对待的问题,当所有错误都指向同一个原因时,这也是一个机遇,意味着可以同时解决很多问题。
Chrome安全团队试图通过以下几种方法来解决:
- 通过编译时检查指针是否正确来确保C++更安全;
- 通过运行时检查指针是否正确来确保C++更安全;
- 调查与体验一些能够提升内存安全的编程语言。
在调查能够提升内存的编程语言中,谷歌安全团队把目标锁定在了 Rust,由 Mozilla 出品的编程语言,Rust 编译器能够保证代码在编译时就能发现指针错误,避免了性能损失。然而,博文中他们还提到,就是否直接让 C++ 和 Rust 直接合作,目前还有一些悬而未决的问题,并且谷歌安全团队表示,即使他们明天就开始用 Rust 编写新的大型组件,也不能立即消除很大一部分安全漏洞,能否让语言边界足够干净,以便他们可以用 Rust 编写部分现有组件?还不知道。他们已经开始在Chromium 源代码树中进行有限的、非面向用户的 Rust 实验,但还没有在 Chrome 的生产版本中使用它——目前仍处于实验阶段。
参考链接:
- https://security.googleblog.com/2021/09/an-update-on-memory-safety-in-chrome.html?m=1
- https://www.chromium.org/Home/chromium-security/memory-safety
版权声明
本文为[不叫月红]所创,转载请带上原文链接,感谢
https://blog.csdn.net/mengyidan/article/details/120451431
边栏推荐
- The problem of 1 pixel border on the mobile terminal
- Solve the Chinese garbled code of URL in JS - decoding
- Communication between RING3 and ring0
- Pikachuxss how to get cookie shooting range, always fail to return to the home page
- 打新债中签以后怎么办,网上开户安全吗
- Leetcode 1346. Check whether integers and their multiples exist
- pikachuxss如何获取cookie靶场,返回首页总是失败
- 缓存淘汰算法初步认识(LRU和LFU)
- Parsing methods of JSON data in C - jar and jobobject: error reading jar from jsonreader Current JsonReader item
- 启牛学堂有用吗,推荐的证券账户是否安全
猜你喜欢
Deep analysis of C language pointer (Part I)
Resolve the error - error identifier 'attr_ id‘ is not in camel case camelcase
內網滲透之DOS命令
Common commands of MySQL in Linux
MySQL basic collection
Leetcode 74. Search two-dimensional matrix
Rust更适合经验较少的程序员?
Come in and teach you how to solve the problem of port occupation
【SQL】字符串系列2:将一个字符串根据特定字符分拆成多行
Unity animation creates sequence frame code and generates animationclip
随机推荐
DOS command of Intranet penetration
ros功能包内自定义消息引用失败
laravel 发送邮件
GO语言开发天天生鲜项目第三天 案例-新闻发布系统二
Elastic box model
Explore ASP Net core read request The correct way of body
Use of node template engine
Matlab: psychtoolbox installation
unity 功能扩展
Minecraft 1.12.2模组开发(四十三) 自定义盾牌(Shield)
Vscode download speed up
setInterval、setTimeout、requestAnimationFrame
MySQL基础合集
Recommended usage scenarios and production tools for common 60 types of charts
LeetCode 1337、矩阵中战斗力最弱的 K 行
Selenium displays webdriverwait
Common commands of MySQL in Linux
Devaxpress report replay: complete the drawing of conventional two-dimensional report + histogram + pie chart
go interface
Win 11K in 100 days, super complete learning guide for job transfer test