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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Deterministic Linux for controlled testing and software bug-finding

167 点作者 rrnewton超过 2 年前

11 条评论

jasonwhite超过 2 年前
TL;DR: This is a Rust project that forces deterministic execution of arbitrary programs and acts like a reproducible container. That is, it <i>hermetically</i> isolates the program from sources of non-determinism such as time, thread interleavings, random number generation, etc. Guaranteed determinism is a powerful tool and it serves as a basis for a number of applications, including concurrency stress testing, record&#x2F;replay, reproducible builds, automatic diagnosis of concurrency bugs, and more.<p>I&#x27;ve been on the team working on this project over the past ~2 years. AMA!<p>Here is the GitHub repository: <a href="https:&#x2F;&#x2F;github.com&#x2F;facebookexperimental&#x2F;hermit" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;facebookexperimental&#x2F;hermit</a>
评论 #33710394 未加载
评论 #33709489 未加载
评论 #33714140 未加载
评论 #33710075 未加载
评论 #33711977 未加载
评论 #33710357 未加载
评论 #33710714 未加载
评论 #33711712 未加载
评论 #33712879 未加载
评论 #33713873 未加载
评论 #33711865 未加载
alex_suzuki超过 2 年前
Is it just me or are we experiencing an uptick in high-quality, sophisticated software projects being open-sourced by FAANG companies?
评论 #33710124 未加载
评论 #33710217 未加载
rrnewton超过 2 年前
This has been the culmination of several years of work intercepting and sanitizing the Linux system call API. It&#x27;s now open source.
评论 #33710414 未加载
评论 #33711137 未加载
theamk超过 2 年前
missing from blog post: overhead of the system. The full paper provides answer:<p>&gt; IO-intensive software builds have an average overhead of 3.49x, while a compute-bound bioinformatics workflow is under 2%.
评论 #33713368 未加载
评论 #33715941 未加载
srosenberg超过 2 年前
Great work and thanks for making it OSS! I was familiar with the prior (academic) work and its limitations, specifically TCP&#x2F;IP. Could you elaborate on how you solved that problem?
评论 #33712305 未加载
wyldfire超过 2 年前
Some many years ago there was a commercial product called Jinx debugger [1]. I think I only ever got to kick the tires and find out I couldn&#x27;t get the hypervisor to run on my machine.<p>Good to see Meta making more practical Open Source tools like this (and BOLT).<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Jinx_Debugger" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Jinx_Debugger</a>
评论 #33715483 未加载
daniel-levin超过 2 年前
Neat! This is the direction I’d hoped to see gvisor go in. What’s the reasoning for building from scratch and not piggybacking off gvisor?
评论 #33711333 未加载
eatonphil超过 2 年前
I don&#x27;t know for sure if they use sysemu in ptrace to do this (just that they use ptrace) but here&#x27;s an awesome blog post that shows how you could build an emulator with just ptrace&#x27;s sysemu: <a href="https:&#x2F;&#x2F;nullprogram.com&#x2F;blog&#x2F;2018&#x2F;06&#x2F;23&#x2F;" rel="nofollow">https:&#x2F;&#x2F;nullprogram.com&#x2F;blog&#x2F;2018&#x2F;06&#x2F;23&#x2F;</a>.
评论 #33713595 未加载
mrich超过 2 年前
Performance is much better than UndoDB I suppose? Are there any sources of nondeterminism UndoDB handles but hermit does not?
评论 #33721311 未加载
teknopaul超过 2 年前
Can you explain how making flakey tests, not flakey, helps find bugs. I would have thought these differences are essentially free fuzzing and desirable?
评论 #33712197 未加载
评论 #33711032 未加载
评论 #33711861 未加载
topazas超过 2 年前
maybe symbolic execution also can be included here?
评论 #33710537 未加载