TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Temporal Fuzzing I: Memory Models (2021)

28 pointsby reitzensteinmabout 1 year ago

2 comments

reitzensteinmabout 1 year ago
Author here - happy to answer any questions you may have.<p>I originally submitted the post in 2021, but it was (somehow) picked up for a second chance.<p>The work has evolved into a Rust project Temper[1], which features a fairly intricate simulation of the Rust&#x2F;C++11-without-consume memory model, supporting a superset of what Loom&#x27;s atomics can simulate, but it&#x27;s much much slower.<p>It also contains the most comprehensive set of C++11 memory model tests that I&#x27;m aware of, with test cases sourced from books, blog posts, Stack Overflow and the C++ standard. I&#x27;d love to be pointed at something larger, if it exists. [2]<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;reitzensteinm&#x2F;temper">https:&#x2F;&#x2F;github.com&#x2F;reitzensteinm&#x2F;temper</a> [2] <a href="https:&#x2F;&#x2F;github.com&#x2F;reitzensteinm&#x2F;temper&#x2F;tree&#x2F;main&#x2F;memlog&#x2F;tests">https:&#x2F;&#x2F;github.com&#x2F;reitzensteinm&#x2F;temper&#x2F;tree&#x2F;main&#x2F;memlog&#x2F;tes...</a>
评论 #40305831 未加载
sdbbpabout 1 year ago
It would be interesting to see this interact with the lower-level ISA memory model work in diy, litmus, etc. Could you validate your ISA memory models against the generated litmus tests in <a href="https:&#x2F;&#x2F;www.cl.cam.ac.uk&#x2F;~pes20&#x2F;ppc-supplemental&#x2F;test6.pdf" rel="nofollow">https:&#x2F;&#x2F;www.cl.cam.ac.uk&#x2F;~pes20&#x2F;ppc-supplemental&#x2F;test6.pdf</a>, <a href="https:&#x2F;&#x2F;github.com&#x2F;litmus-tests&#x2F;litmus-tests-riscv">https:&#x2F;&#x2F;github.com&#x2F;litmus-tests&#x2F;litmus-tests-riscv</a>?
评论 #40305282 未加载