frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Miralis – a RISC-V virtual firmware monitor

https://github.com/CharlyCst/miralis
4•charlycst•1y ago
Miralis is a RISC-V firmware that virtualizes RISC-V firmware. In other words, it runs firmware in user-space (M-mode software in U-mode).

The fact that this is even possible is interesting: indeed, not all ISAs are virtualizable, and the same applies for their firmware mode. It all boils down to the virtualization requirements [1], which is a great read if you haven't come across it yet. Arm's EL3 cannot be virtualized, for instance, because some instructions, such as `cpsid`, are sensitive but do not trap (`cpsid` is a nop in user-space).

If you have a VisionFive 2 or a HiFive Premier P550, you can try it out, the instructions are in the documentation [2, 3]. Of course, it runs on QEMU too.

As Miralis is a research project, we have also been using it as a vehicle to explore other research ideas, such as automated verification of hypervisors [4]. For instance, we verified instruction emulation by comparing Miralis' implementation with the reference RISC-V executable specification [5], which we translated to Rust.

It has been fun working on Miralis, I hope you'll find it interesting too!

[1]: https://dl.acm.org/doi/pdf/10.1145/361011.361073

[2]: https://miralis-firmware.github.io/docs/platforms/visionfive...

[3]: https://miralis-firmware.github.io/docs/platforms/premierp55...

[4]: https://charlycst.github.io/papers/lightweight-hypervisor-ve...

[5]: https://github.com/riscv/sail-riscv

Ask HN: When a post of yours does well, do you know why?

1•john_builds•17s ago•0 comments

JetBrains warns of critical TeamCity remote code execution flaw

https://www.bleepingcomputer.com/news/security/jetbrains-warns-of-critical-teamcity-remote-code-e...
1•Brajeshwar•45s ago•0 comments

Anthropic and OpenAI are competing to see whose agents can go rogue harder

https://www.theregister.com/security/2026/07/31/anthropic-and-openai-are-competing-to-see-whose-a...
1•joebuckwilliams•1m ago•0 comments

Tesla Weighs China Unit Sale Ahead of SpaceX Deal

https://www.bloomberg.com/news/articles/2026-07-31/tesla-weighs-china-unit-sale-ahead-of-spacex-d...
1•chollida1•2m ago•0 comments

Show HN: Axioma – Stream and data compression engine for low-bandwidth links

https://github.com/axmstandart1-beep/axioma/tree/main
1•abbasov_murad•4m ago•0 comments

A big win for Android interoperability

https://www.openhomefoundation.org/blog/a-big-win-for-android-interoperability/
2•soheilpro•6m ago•0 comments

The most official water costs $120k a gallon

https://signoregalilei.com/2026/07/26/the-most-official-water-costs-120000-a-gallon/
2•surprisetalk•7m ago•0 comments

From Sketch to Steel: The Isometric to Iron Organic Hoodie Story

https://ddsboston.com/blogs/news/from-sketch-to-steel-the-isometric-to-iron-organic-hoodie-story
1•robert_dds•7m ago•0 comments

PyTorch Multi-Process Inference Weight Sharing via Inter-Process Communication

https://leimao.github.io/blog/PyTorch-IPC-Multi-Process-Inference-Weight-Sharing/
1•eigenBasis•8m ago•0 comments

Defrag Incremental on Steam

https://store.steampowered.com/app/4286660/Defrag_Incremental/
1•ohjeez•9m ago•0 comments

Show HN: I built a cross-browser extension that controls fingerprinting surfaces

https://privacything.com/en/
1•tomaszjanusz•9m ago•0 comments

16-bit Serial Homebrew CPU – 2023

https://www.jiristepanovsky.cz/project.php?p=23cpu
1•num42•10m ago•0 comments

What Is Digital Sovereignty

https://blog.documentfoundation.org/blog/2026/07/28/what-is-digital-sovereignty/
2•hn_acker•10m ago•0 comments

Maze Toys

https://maze.toys
1•bookofjoe•11m ago•0 comments

Show HN: Spryly – Track outdated dependencies across every repo and registry

https://spryly.io
1•aquamulier•11m ago•0 comments

Why ugly buildings create NIMBYism

https://www.worksinprogress.news/p/why-ugly-buildings-create-nimbyism
1•bensouthwood•12m ago•0 comments

Rails: Arbitrary file read and remote code execution in Active Storage

https://discuss.rubyonrails.org/t/cve-2026-66066-possible-arbitrary-file-read-and-remote-code-exe...
1•lobo_tuerto•14m ago•0 comments

U.S. Weighs $100k Fee for Foreign Students Wanting to Work After Graduation

https://www.wsj.com/politics/policy/u-s-weighs-100-000-fee-for-foreign-students-wanting-to-work-a...
4•fht•14m ago•1 comments

Claude won't let me talk about the Gaza genocide

https://evanp.me/2026/07/23/claude-wont-let-me-talk-about-the-gaza-genocide/
2•speckx•15m ago•0 comments

A Ton of Space Junk Tumbles Unpredictably to Earth Every Week

https://www.nytimes.com/2026/07/31/world/asia/space-debris-falling-crashing-earth-risk.html
4•bicepjai•17m ago•2 comments

Show HN: AI Security Breaches, the problems and it's causes

https://raylinement.substack.com/p/ai-security-breaches-the-problems
1•rzwsan•17m ago•0 comments

Opkssh integrating single sign-on with SSH (2025)

https://www.ethanheilman.com/x/33/index.html
1•EthanHeilman•20m ago•0 comments

Text Is My Gimmick

https://aethermug.com/posts/text-is-my-gimmick
1•mrcgnc•22m ago•0 comments

Why in Building Protocols, Like Code, Starting over Is Dumb

https://lowentropy.net/posts/whole-new-protocol/
1•speckx•22m ago•0 comments

Show HN: A little physical breakout clone

https://brontosaurusrex.github.io/physical/v7/
2•brontosaurusrex•24m ago•0 comments

Alternative Medicine for Chickens

https://ambrook.com/offrange/livestock/they-gave-grapes-to-a-chicken
1•surprisetalk•24m ago•0 comments

NASA Just Spotted a Wandering Black Hole Devouring a Star

https://nautil.us/nasa-just-spotted-a-wandering-black-hole-devouring-a-star-1283245
2•Brajeshwar•25m ago•0 comments

Show HN: BitBang – turn any machine into a URL

https://github.com/richlegrand/bitbang-cli
1•narragansett•26m ago•1 comments

Bypassing Claude's upload limits, 4x (500 MB → 2 GB)

https://blog.zernote.com/2gb-user-interviews-into-claude/
4•fenix1851•26m ago•0 comments

Why AI investor Leopold Aschenbrenner is selling all stocks

https://www.cnbc.com/2026/07/30/leopold-aschenbrenners-hedge-fund-is-facing-steep-ai-losses.html
2•speckx•26m ago•0 comments