frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Help with doing statistics over machine code

2•phafu•9mo ago
I'd like to do some statistics over the machine code gcc generates, such as a histogram of used instructions, average volatile/preserved registers usage of functions etc. For now just x86_64 SysV-ABI would be enough.

However I'm not aware of any pre-existing tool that lets me easily do this. The options I currently see are either make gcc output assembly and write a parser for the GNU Assembler format (possibly by reusing the asm-parser of the compiler-explorer project), or write a tool that reads (disassembles) object files directly using elfutils.

Any hints, prior work, further ideas, links to useful resources, or any other kind of help would be much appreciated.

Comments

baobun•9mo ago
"Static analysis" should be a relevant search term. Assuming you don't need to tie the instructions back to C code then the "gcc" part seems circumstancial for implementation? I guess you might want to parse the ASM into an Abstract Syntax Tree (AST) represenation and work on that?

If you do want to tie it back to the source, this looks relevant: http://icps.u-strasbg.fr/~pop/gcc-ast.html

phafu•9mo ago
For my purpose I don't need to get back to the original source, no.

The gcc part is only relevant with regards to what dialect of assembler I need to parse. If I go that route, I'd write a parser for the GNU assembler, and that would of course work with any code in that dialect, regardless from which compiler it came from (I haven't checked whether other compilers can produce GNU assembler though).

Markdown file to Google Drive and viceversa

https://pchalasani.github.io/claude-code-tools/integrations/google-docs/
1•igtztorrero•1m ago•1 comments

CryptoCoffee – self-hosted crypto tipping pages, no back end required

https://srpvpn.github.io/CryptoCoffee/
1•Fertygon•3m ago•0 comments

Jrun: Isolated dev environments on macOS/Linux, powered by FreeBSD

https://github.com/hyphatech/jailrun/
2•zaiev•5m ago•0 comments

Show HN: AFK – Remote desktop for agentic coding from your phone with voice

https://afkdev.app/
1•liboshen•6m ago•0 comments

Fast-Servers

https://geocar.sdf1.org/fast-servers.html
2•tosh•8m ago•0 comments

Show HN: We gave an OpenClaw full tool access and hit stop. It didn't stop

https://caisi.dev/openclaw-2026/
1•davidresilify•8m ago•1 comments

Show HN: Claude Code agents with nested parallelismm 3x faster

https://github.com/nagisanzenin/claude-code-production-grade-plugin
1•nagi_builds•8m ago•0 comments

What changes in engineering teams once AI tools "click"?

1•smartworkflow•9m ago•0 comments

Deterministic Simulation Testing in Apache Kafka

https://aiven.io/blog/deterministic-simulation-testing-in-diskless-apache-kafka
3•filipyonov•10m ago•0 comments

A Word to the Wise: Don't Trust A.I. To File Your Taxes

https://www.nytimes.com/2026/03/05/technology/artificial-intelligence-taxes-tax-refund.html
2•zacharyozer•10m ago•1 comments

Show HN: PoliticaHub – tracking prediction markets for geopolitics

https://politicahub.com/
2•johanfr4•11m ago•0 comments

Agentic Engineering Patterns: Anti-Patterns

https://simonwillison.net/guides/agentic-engineering-patterns/anti-patterns/
2•goranmoomin•11m ago•1 comments

PortableCC

https://github.com/PortableCC
2•PaulHoule•11m ago•0 comments

Keeping community human while scaling with agents

https://vercel.com/blog/keeping-community-human-while-scaling-with-agents
1•gmays•12m ago•0 comments

Humanity's Last Exam

1•silexia•12m ago•0 comments

Show HN: I fine-tuned Qwen 3.5 (0.8B–4B) on a Mac for text-to-SQL – 2B beats 12B

https://github.com/sciences44/mlx-lora-finetune
1•sciences44•13m ago•1 comments

Judge Orders Government to Begin Refunding More Than $130B in Tariffs

https://www.wsj.com/politics/policy/judge-orders-government-to-begin-refunding-more-than-130-bill...
8•JumpCrisscross•14m ago•2 comments

Tim Sweeney signed away his right to criticize Google until 2032

https://www.theverge.com/news/889595/tim-sweeney-signed-away-his-right-to-criticize-google-until-...
4•nickthegreek•14m ago•0 comments

OpenAI Symphony

https://github.com/openai/symphony
1•therepanic•16m ago•0 comments

Try OpenClaw for on-call support and monitor systems

https://ngtrvu.com/tarx
1•nguyentranvu•16m ago•1 comments

Meta to Create New Applied AI Engineering Organization

https://www.wsj.com/tech/ai/meta-to-create-new-applied-ai-engineering-organization-in-reality-lab...
1•gmays•17m ago•0 comments

Malus – Clean Room as a Service – Liberation from Open Source Attribution

https://malus.sh/
2•pavel_lishin•17m ago•2 comments

Interplay Between Iranian Targeting of IP Cameras and Physical Warfare

https://research.checkpoint.com/2026/interplay-between-iranian-targeting-of-ip-cameras-and-physic...
1•smurda•21m ago•0 comments

Show HN: Watch Claude break SHA-256 live

https://www.youtube.com/watch?v=AIabktOGB_c
1•logicallee•22m ago•0 comments

Test

1•madebyjam•22m ago•1 comments

Mass surveillance, red lines, and a crazy weekend

https://windowsontheory.org/2026/03/03/mass-surveillance-red-lines-and-a-crazy-weekend/
1•speckx•23m ago•0 comments

Show HN: Keep large tool output out of LLM context: 3x accuracy 95% fewer tokens

https://github.com/lourencomaciel/sift-gateway
2•loumaciel•26m ago•1 comments

Good software knows when to stop

https://ogirardot.writizzy.com/p/good-software-knows-when-to-stop
4•ssaboum•27m ago•0 comments

Self-Supervised Flow Matching for Scalable Multi-Modal Synthesis

https://bfl.ai/research/self-flow
1•jk_tech•27m ago•0 comments

Show HN: Stop LLMs from brute forcing (guessing) APIs

https://tangelo-ltd.github.io/tekir/
1•dervishcat•28m ago•0 comments