TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

End to End Prediction of Buffer Overruns from Code via Neural Memory Networks

39 点作者 DanielRibeiro大约 8 年前

2 条评论

chatmasta大约 8 年前
This is really cool. I&#x27;ve spent some time thinking about a similar idea in the past [0].<p>My idea was to parse the CVE database for bugs in open source code, then identify the patches used to fix the bugs. From the patch data, you can get an efficient diff of what the &quot;vulnerable&quot; code looks like and what the &quot;fix&quot; for it looks like. You can then convert the code to abstract syntax tree or feed it to a static analysis engine to use as &quot;signals&quot; in training a machine learning algorithm. Then you can apply the machine learning algorithm to open source databases and identify possibly vulnerable code paths.<p>Looks like this paper had success doing something similar. Awesome!<p>[0] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11573547" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11573547</a>
bitwize大约 8 年前
The first thing it learns is to check if the source is in Rust and if so, vastly reduce the likelihood of a buffer overrun.
评论 #13914553 未加载
评论 #13919571 未加载