Ghidra + CBMC = Assembly Model Checker
ASMC https://github.com/philzook58/asmc is another attempt to glue lifted Ghidra assembly semantics into CBMC.
Quick read
A project that lifts Ghidra p-code semantics into CBMC to enable assembly model checking and translation validation. Visit to learn how asmc converts ELF to CBMC GOTO IR and to see examples for verifying assembly against C or checking ABI and DWARF properties.
- Lift compiled .elf into .gb using Ghidra p-code semantics
- Use CBMC to verify assembly, ABI, DWARF, and translation validation
- Examples and harnesses for comparing C and assembly behavior
Reactions
No reactions yet. Record a short about this link and it shows up here, in Reels and in the community feed.
Is philipzucker.com your site? Sign in to verify it and get a Verified badge, full stats and a link-back badge.
A closer look at Ghidra + CBMC = Assembly Model Checker
What Ghidra + CBMC = Assembly Model Checker actually is
This page describes ASMC, a project that lifts Ghidra p-code semantics into CBMC (the C Bounded Model Checker) so you can model-check assembly by translating it into CBMC's GOTO IR and .gb object format.
The toolchain includes asmc-lift, which takes a compiled .elf and produces a .gb using the sleigh p-code semantics, and an asmc driver program that runs asmc-lift and CBMC tools to perform checks.
What you can do with asmc in practice
You can lift assembled code (or provide assembly files) and assert C-style postconditions; the assertion language is C because postconditions are spliced into CBMC assertions.
Use cases shown include standalone assembly verification, translation validation (comparing compiled C and assembly outputs), linking to external assembly, DWARF debug-data verification, patched assembly verification, and writing harnesses that call into assembly snippets.
asmc has RV32/64 support and adding other GHIDRA-supported architectures mainly requires writing an ABI shim in C.
Who will find this useful
People who want tighter integration between lifted assembly semantics and CBMC - for example researchers or engineers doing assembly verification, translation validation, or checking interactions between assembly and C-level concepts.
Also useful if you prefer readable C output from a lifted model (for debugging by compiling and running the outputted C) and if you already use CBMC and its features.
Limitations and tradeoffs noted on the page
Encoding into C requires some work to express bitvector and memory operations, and the project makes pragmatic compromises in its C semantics rather than aiming for the most strict, 'hardo' semantics.
Ghidra p-code semantics used here is not exhaustively precise and has known holes; it supports many ISAs but may miss some instructions, flags, or behaviors.
Questions people ask about Ghidra + CBMC = Assembly Model Checker
- Do I need CBMC to use asmc?
- Yes - asmc lifts code into CBMC's formats and runs CBMC tools, so CBMC is part of the workflow described.
- Can I compare C and assembly automatically?
- Yes - the page shows translation validation examples where you compile a C function and verify properties comparing the C and assembled versions through CBMC.
- Does it handle many architectures?
- The tool currently has RV32/64 support and can support other GHIDRA ISAs by adding an ABI shim in C.
Ghidra + CBMC = Assembly Model Checker was shared on NexURLs by NexURLs on October 19, 2026, in Tech & AI. So far it has 1 like from members.
What we found on this site
- Built with
- Jekyll
- Served through
- GitHub Pages
- Home page answered in
- 173 ms
- Trackers
- Google Analytics
- Ads
- None found
- RSS feed
- Yes
- AI crawlers
- Lets them in
- Set up for phones
- Yes
- Real-visitor speed
- Passes Core Web Vitals
- Popularity
- Top 200,000 domain (Cloudflare)
- Lighthouse on a phone
- Speed 79, Accessibility 95, SEO 100
- Google safety check
- No threats found
- Domain registered
- 2014
- Domain renews
- July 2027
Checked November 20, 2026 from the site’s own code and public records. See how the rest of the web compares in the NexURLs Internet Report.
Quick answers
What is Ghidra + CBMC = Assembly Model Checker?
Ghidra + CBMC = Assembly Model Checker (philipzucker.com): A project that lifts Ghidra p-code semantics into CBMC to enable assembly model checking and translation validation. Visit to learn how asmc converts ELF to CBMC GOTO IR and to see examples for verifying assembly against C or checking ABI and DWARF properties.
Who shared Ghidra + CBMC = Assembly Model Checker on NexURLs?
It was shared by NexURLs in October 2026. Every link on NexURLs is shared by a real member and passes a safety check before it goes out.
What do people think of Ghidra + CBMC = Assembly Model Checker?
On NexURLs it has 1 like from members so far. Read the discussion on this page, or add your own take.
What are some sites like Ghidra + CBMC = Assembly Model Checker?
Members found these close to it: Compiler Explorer, Making musl and proprietary NVIDIA drivers work together, C2PA's eMudhra Moment. The full list is on this page under Sites like Ghidra + CBMC = Assembly Model Checker.
Sites like Ghidra + CBMC = Assembly Model Checker
- Compiler Explorergodbolt.org
Compiler Explorer is an interactive web tool that compiles code and shows the resulting assembly for languages like...
- Making musl and proprietary NVIDIA drivers work togetherchimera-linux.org
A detailed report on making proprietary NVIDIA Linux drivers work on musl-based distributions, describing necessary...
- C2PA's eMudhra Momentda.vidbuchanan.co.uk
A blog post analyzing how the C2PA media-attestation ecosystem would handle a certificate authority compromise, using...
- gohawk | Resource-focused static analysis for Gogohawk.dev
gohawk is an industrial-grade static analyzer for Go that detects resource management, concurrency, and error-handling...
- Build an AI Agent with MCP and Python to connect your LLM to real-world tools.amanxai.com
A tutorial showing how to build a reliable AI agent from scratch using the Model Context Protocol (MCP) and Python...
- Klavis AI - Open-source MCP integration for AI applicationsgithub.com
This GitHub repository contains Klavis AI’s legacy open-source MCP integrations, now deprecated and no longer actively...
More Tech & AI finds
- The Hacker Who Hunts Predatorsyoutube.com
- Astra 6.2threeui.com
- Build and Share Mac and Windows Apps with Claudeclaude.ai
- BEEGITAL - Independent European Software Studiobeegital.gr
- He Scribbled on His CPU with a Pencil - and It Got 50% Fasteryoutube.com
- Working 1923 Sodion S-13 Sodium Tubeyoutube.com
Feeling lucky? Try the random website generator.
Where people went next
Nobody has added a next stop yet. Be the first.