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

LessWrong Sans AI

https://jimrandomh.github.io/LesswrongSansAI/
1•mudil•2m ago•0 comments

For my 80th birthday, I bought myself a new brain

https://bjsm.bmj.com/content/60/9/677
1•convict•3m ago•1 comments

DAO DE JING

https://factsanddetails.com/china/cat3/sub10/entry-5577.html
1•Bluestein•4m ago•0 comments

We ran AI agent swarms in Minecraft and Mindustry

https://labs.ycombinator.com/projects/games/index.html
4•sandslash•7m ago•0 comments

Show HN: KernelCash – Privacy First Budgeting

1•LoftyHobbitMan•9m ago•0 comments

Binance-hacker-1029 – $5.6B stolen from Binance

https://arkm.com/explorer/entity/21a94755-f604-45e5-9501-6542e23005e8
13•Tiberium•9m ago•2 comments

Binance Hacked

https://twitter.com/officer_secret/status/2115906754328383521
2•dinoqqq•10m ago•0 comments

Show HN: Artificer by Nua: Frontier robotics task evaluation in 4B parameters

https://usenua.com/blog/artificer
3•SunnyWan•11m ago•2 comments

Cross-Model LLM Pricing API

https://www.metergraph.dev/pricing-api/
2•alexray•12m ago•0 comments

Is Binance Being Hacked? $2B Outflow Puts Customer Funds in Question

https://beincrypto.com/is-binance-being-hacked-customer-funds/
2•pr0zac•12m ago•0 comments

Show HN: SiteSpin – Build and update business websites through chat

https://sitespin.app/
1•adamhsn•13m ago•0 comments

The Wayback Machine Labs

https://wayback-labs.sf.archive.org/
2•sans_souse•16m ago•0 comments

The Origin Story of Candy Corn

https://www.wsj.com/lifestyle/travel/candy-corn-halloween-traditions-history-0d487ec0
1•bookofjoe•16m ago•1 comments

Ask HN: Opus 5.5 suddenly dumb as rocks?

5•jahala•16m ago•0 comments

Show HN: SortSage – Automatic rules-based file organizer

https://enlightpixel.com/products/sortsage
4•enlightpixel•17m ago•0 comments

The End of Consensus Research?

https://arxiv.org/abs/2610.30114
1•chriscbr•18m ago•0 comments

Polymarket Halted International Trading After Hackers Drained Accounts

https://www.wired.com/story/polymarket-flagship-platform-hack-traders-lose-money/
7•vinyl7•19m ago•3 comments

Show HN: AI Knows Us – see who ChatGPT and Perplexity recommend instead of you

https://www.aiknowsus.com
2•goeladityx•21m ago•0 comments

Over $5B drained from Binance in apparent hack

http://twitter.com/emmettgallic/status/2115916025774723210
18•int32_64•23m ago•0 comments

Binance hot wallet drained of about $2.5B in tokens on Ethereum

https://etherscan.io/address/0x5227f603c1ee34ce3c06efe6477003bdfccb2f8c
17•vagabund•25m ago•3 comments

Accidentally exposing repo files on Vanilla JavaScript Vercel sites?

https://github.com/dirkjbosman/vanilla_next
1•DrDizzle•26m ago•0 comments

Fax API – Faxette

https://www.faxette.com/api
2•yakkomajuri•26m ago•0 comments

A Beer Brewer's Noise Estimation

https://chillphysicsenjoyer.substack.com/p/a-beer-brewers-noise-estimation
1•crescit_eundo•27m ago•0 comments

Programming at Light Speed: Building the Gravity Query Engine

https://malisper.me/programming-at-light-speed/
1•andreaja•27m ago•0 comments

Undisclosed Patch Vulnerability Caused HTTP2Shell via If-Statement

https://www.bugsink.com/blog/brotli-stale-table-read/
1•birdculture•27m ago•0 comments

If we stop, we lose: can developer education come back?

https://piccalil.li/blog/if-we-stop-we-lose/
2•tanvibhakta•27m ago•1 comments

DebugBear Security Incident

https://twitter.com/DebugBear/status/2115866496643535293
3•vldszn•28m ago•1 comments

Polymarket Got Hacked. Here's What Their Post Didn't Tell You

https://twitter.com/brianskellenger/status/2115890675237392452
3•Bluestein•28m ago•0 comments

Automatia: A Place to Call Home

https://automatiagame.com/blog/a-place-to-call-home/
1•fwsgonzo•31m ago•0 comments

Keep your home server reachable with Dynamic DNS

https://www.fastmail.com/blog/keep-your-home-server-reachable-with-dynamic-dns/
2•sp8•32m ago•0 comments