frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

https://github.com/CharlyCst/miralis
4•charlycst•11mo 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

The 800 page book that made me a web dev

1•wuhhh•42s ago•0 comments

Everything you ever wanted to know about terminals (but were afraid to ask)

https://xn--rpa.cc/irl/term.html
1•Antibabelic•5m ago•0 comments

Safety Companion App

https://apps.apple.com/us/app/kai-companion/id6756260239
1•Ilja_Gr•8m ago•1 comments

Emposat Denies Knowledge of Iran Using Chinese Satellite via Its Ground Stations

https://www.china-in-space.com/p/emposat-denies-knowledge-of-iran
1•JPLeRouzic•9m ago•0 comments

Pancreatic cancer mRNA vaccine shows lasting results in an early trial

https://www.nbcnews.com/health/cancer/pancreatic-cancer-mrna-vaccine-shows-lasting-results-early-...
2•doener•10m ago•0 comments

Anthropic Claude Code Leak Reveals Critical Command Injection Vulnerabilities

https://beyondmachines.net/event_details/anthropic-claude-code-leak-reveals-critical-command-inje...
2•croes•16m ago•1 comments

IEA: Solar overtakes all energy sources in a major global first

https://electrek.co/2026/04/19/iea-solar-overtakes-all-energy-sources-in-a-major-global-first/
1•Klaster_1•17m ago•1 comments

Libero – Gleam Library Renders REST Obsolete for Spas and Erlang-Based Clients

https://github.com/pairshaped/libero
1•MrJulia•19m ago•0 comments

Intel refreshes non-Ultra Core CPUs with new silicon for the first time

https://arstechnica.com/gadgets/2026/04/intels-non-ultra-core-cpus-are-new-silicon-this-year-for-...
2•rbanffy•22m ago•1 comments

Brave Premium

https://account.brave.com/?intent=checkout&product=origin
1•lijialjun•24m ago•1 comments

Forward Guidance with Mark Carney [video]

https://www.youtube.com/watch?v=uk2TZwkhi4E
1•pedalpete•24m ago•1 comments

A Crossroad at a Branch

http://www.vex.net/~trebla/haskell/crossroad.xhtml
2•sph•24m ago•0 comments

Ask HN: Scanslop.com on Reddit a Privacy Nightmare?

1•znpy•25m ago•0 comments

Viral Takeover [video]

https://www.youtube.com/watch?v=Cvb1mg2GxsY
1•alex1138•25m ago•0 comments

How Long Poop Stays in Your Body May Impact Your Health, Study Finds

https://www.sciencealert.com/how-long-poop-stays-in-your-body-may-impact-your-health-study-finds
7•mikhael•29m ago•1 comments

Show HN: VS Code extension that predicts Git merge conflicts before they happen

https://marketplace.visualstudio.com/items?itemName=SukantaSaha.mergeguard
1•lalata•29m ago•1 comments

Show HN: Translate LLM API Calls Across OpenAI, Anthropic, and Gemini

https://github.com/Oaklight/llm-rosetta
1•Oaklight•31m ago•0 comments

Just like phishing for gullible humans, prompt injecting AIs is here to stay

https://www.theregister.com/2026/04/19/just_like_phishing_for_gullible/
1•beardyw•32m ago•0 comments

OpenAI Executive Kevin Weil Is Leaving the Company

https://www.wired.com/story/openai-executive-kevin-weil-is-leaving-the-company/
1•joozio•35m ago•0 comments

Topology Meets Machine Learning: The Euler Characteristic Transform [pdf]

https://www.ams.org/journals/notices/202507/rnoti-p719.pdf
1•ganitam•37m ago•0 comments

Our Project Hail Mary: The Observability Setup Behind an Observability Tool

https://newsletter.signoz.io/p/our-project-hail-mary-the-observability
1•elza_1111•37m ago•0 comments

Why don't centre-pivot irrigation fields use hexagonal packing?

https://old.reddit.com/r/geography/comments/1sqedsf/why_dont_centrepivot_irrigation_fields_use/
2•calcsam•37m ago•0 comments

Diagnosing Random MariaDB Freezes on Frappe Cloud

https://frappe.io/blog/frappe-cloud/diagnosing-random-mariadb-freezes-on-frappe-cloud
1•TanmoySarkar•37m ago•0 comments

BreachForums logs reveal anonymizers of choice for shady characters

https://www.okta.com/blog/threat-intelligence/blocking_shady_network/
2•Cider9986•39m ago•1 comments

Ray Optics Simulation

https://phydemo.app/ray-optics/
2•the-mitr•39m ago•0 comments

The logical trap: why blocking "cheap" ads crashed my RPM by 60%

https://webmatrices.com/post/the-logical-trap-why-blocking-cheap-ads-crashed-my-rpm-by-60
1•bishwasbh•40m ago•0 comments

GitNexus: Client-side knowledge graph creator that runs in the browser

https://github.com/abhigyanpatwari/GitNexus
2•saikatsg•42m ago•0 comments

Ask HN: Kernel debugging on Apple Silicon

1•dirtb1ke•44m ago•1 comments

Unofficial List of Siri Commands

https://github.com/extratone/siri
1•ryan-ca•48m ago•0 comments

Businesses can claim refunds for tariffs declared unconstitutional

https://apnews.com/article/tariff-refund-trump-customs-08861f153801156d213c30c4e2f6a683
2•geox•50m ago•1 comments