frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

AI just designed a 'fundamental new vaccine' for viruses

https://globalnews.ca/news/11891838/ai-vaccine-technology/
1•wmat•54s ago•0 comments

The performance of Irishness for outside approval is finished

https://www.irishtimes.com/opinion/2026/05/02/the-performance-of-irishness-for-outside-approval-i...
1•Michelangelo11•3m ago•0 comments

Microsoft Patents a Built-In Windows Toggle for AI Data Collection Control

https://patentlyze.com/patent/microsoft-windows-ai-data-collection-toggle/
1•patentlyze•3m ago•0 comments

Is anyone here interested in contributing to this OS?

https://github.com/valivalivali/x-os
1•valivalivali•9m ago•1 comments

What do you do when AI is working the project and sit down? [video]

https://www.youtube.com/watch?v=X99Rq2wIm4o
1•emifo3•11m ago•1 comments

The Network as a Program [video]

https://www.youtube.com/watch?v=CHHZwari_qA
1•tosh•11m ago•0 comments

Mecrisp-Stellaris Forth Deep Dive Podcast

1•techman001•12m ago•0 comments

The Quite Gift

https://pumpupthejam.substack.com/p/the-quiet-gift
1•rsc-dev•18m ago•0 comments

Are Synology Routers Being Abandoned

https://nascompares.com/2026/06/05/are-synology-routers-being-quietly-abandoned/
1•giuliomagnifico•20m ago•0 comments

China's delivery drivers are its most obvious underclass

https://www.economist.com/china/2026/06/01/chinas-delivery-drivers-are-its-most-obvious-underclass
2•edward•25m ago•1 comments

Show HN: Find any type of event visualized on a map

https://reloadium.com/reloadium-events-map/
1•julienreszka•26m ago•0 comments

Anyone who had a Hartz – 1

https://esngblog.com/2026/06/06/anyone-who-had-a-hartz-1/
1•moneroloop2018•27m ago•0 comments

Pacing Yourself

https://paxton-road.blogspot.com/2026/06/pacing-yourself.html
1•moneroloop2018•28m ago•0 comments

We fight GPU scarcity without compromise

https://equixly.com/blog/2026/06/05/how-we-fight-gpu-scarcity-without-compromise/
1•moneroloop2018•28m ago•0 comments

Claumon – Forecasting Claude Code usage limits with a Gamma process

https://github.com/fabioconcina/claumon
1•fabioconcina•32m ago•1 comments

Small modular nuclear reactor reaches criticality in first test

https://arstechnica.com/science/2026/06/first-us-test-of-modular-reactor-reaches-criticality/
1•jnord•33m ago•0 comments

Ex cyber exec turned whistleblower accuses IBM of covering up several breaches

https://techcrunch.com/2026/06/05/former-cyber-executive-turned-whistleblower-accuses-ibm-of-cove...
1•_____k•35m ago•0 comments

Ask HN: You can upload one technical skill into all human brains overnight?

1•picketpocket826•36m ago•2 comments

The AI Layoff Trap and its UBI economic model

https://briefing.forwardfuture.ai/p/economists-just-proved-ubi-can-t-stop-ai-layoffs-here-s-what-...
1•Matumio•37m ago•0 comments

A faster bump allocator for rust

https://owen.cafe/posts/stumpalo/
1•birdculture•37m ago•0 comments

World Food Programme breach exposes data of 600k vulnerable Gazan families

https://www.theregister.com/security/2026/06/05/world-food-programme-breach-exposes-data-of-600k-...
2•vintagedave•40m ago•0 comments

Free Dev Tools

https://www.too-ly.eu/
1•quintoncarroll•45m ago•0 comments

UK banks blocked from cyber AI tool Mythos get offer from rival OpenAI

https://www.bbc.com/news/articles/cm2p3j6lvn7o
1•vintagedave•50m ago•0 comments

Show HN: Netfox – A native macOS network monitor built in SwiftUI

https://netfox.app
2•undolog•50m ago•0 comments

Maybe Coding Agents Don't Need a Bigger Memory. Maybe They Need Continuity

https://oldskultxo.substack.com/p/maybe-coding-agents-dont-need-a-bigger
1•errekaldeko•53m ago•1 comments

Brave Origin premium experience offers users a minimalist version of the Brave

https://brave.com/blog/brave-origin/ource=perplexity
1•_____k•57m ago•0 comments

I built a workflow orchestrator where each stage defines the next one

https://processflow.tech/
1•jsecure•1h ago•0 comments

Show HN: Akmon, verify what an AI agent did offline using only OpenSSL

https://github.com/radotsvetkov/akmon
1•radotsvetkov•1h ago•0 comments

OpenAI Whisper in 150 lines of NumPy

https://github.com/timothygao8710/minWhisper
2•timothygao•1h ago•0 comments

Trump administration dismantles critical ocean-floor observation network

https://oceanographicmagazine.com/news/trump-administration-dismantles-critical-ocean-floor-obser...
3•pieterr•1h ago•0 comments
Open in hackernews

Ask HN: Help with doing statistics over machine code

2•phafu•1y 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•1y 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•1y 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).