frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Sam Altman Says Intelligence Will Be a Utility

https://gizmodo.com/sam-altman-says-intelligence-will-be-a-utility-and-hes-just-the-man-to-collec...
1•cdrnsf•27s ago•0 comments

Now Is the Time to Eat Their Lunch

https://rodyne.com/?p=3875
1•boznz•28s ago•0 comments

Tanker Sea Owl I Boarded in the Baltic Sea

https://polisen.se/aktuellt/nyheter/nationell/2026/mars/tanker-sea-owl-i-boarded-in-the-baltic-sea/
1•madspindel•1m ago•0 comments

A 4 byte file can bypass permissions in a GraphQL package used for payments

https://medium.com/@caplanmaor/prototype-pollution-in-graphql-upload-minimal-cve-2025-65587-a8648...
1•BambaNugat•1m ago•1 comments

Code Quality in the Age of Coding Agents

https://michaeltimbs.me/blog/code-quality-in-the-age-of-coding-agents/
1•alpaylan•2m ago•0 comments

Ask HN: Does code style matter much anymore?

1•travisgriggs•5m ago•0 comments

DirectX: Bringing Console-Level Developer Tools to Windows

https://devblogs.microsoft.com/directx/directx-bringing-console-level-developer-tools-to-windows/
2•haunter•6m ago•0 comments

DIY: Enigma Machine from a Toilet Paper Tube

https://www.flyingpenguin.com/build-your-own-mini-enigma-machine-from-a-toilet-paper-tube/
1•rolph•6m ago•0 comments

Jones Act Enforcer

https://offshoremarine.org/page/JonesActEnforcer
1•signorovitch•6m ago•1 comments

Turn your best X posts into a portfolio people can browse

https://curio-brown.vercel.app
1•NachikethRamesh•8m ago•0 comments

Women of the Flemish Golden Age

https://news.artnet.com/art-world/meet-the-forgotten-women-of-the-flemish-golden-age-2751227
1•petethomas•8m ago•0 comments

Show HN: Stratum – SQL that branches and beats DuckDB on 35/46 1T benchmarks

https://datahike.io/notes/stratum-analytics-engine/
3•whilo•11m ago•1 comments

Show HN: I rebuilt the "similar movies/TV shows" algorithm on TasteFinder

https://tastefinder.io/
2•tastefinder_io•15m ago•0 comments

Killing the Serialization Tax: 1M Entity Ingestion in 11.8µs with C#

https://intelligentaudio.net/nexus-pulse
1•NexusCore•15m ago•1 comments

Safari web browser bugs: A year in review

https://lapcatsoftware.com/articles/2026/3/6.html
1•zdw•15m ago•0 comments

San Francisco is awesome. It could be much better

https://faingezicht.com/articles/2026/03/12/san-francisco/?src=hn
2•avyfain•16m ago•0 comments

Show HN: Codelegate, keyboard-driven coding agent orchestrator GUI for Mac/Linux

https://codelegate.dev/
2•brucehsu•16m ago•0 comments

Infisical in 60 Seconds

https://infisical.com/videos/infisical-in-60-seconds
1•vmatsiiako•17m ago•0 comments

Why Moltbook and OpenClaw are the fool's gold in our AI boom

https://www.zdnet.com/article/moltbook-and-openclaw-fools-gold-in-ai-boom/
1•CrankyBear•17m ago•0 comments

Shall I implement it? No

https://gist.github.com/bretonium/291f4388e2de89a43b25c135b44e41f0
2•breton•19m ago•0 comments

Show HN: Firstrun – Turn static documentation into interactive walkthroughs

https://firstrun.dev
1•mhamda•23m ago•0 comments

AI error jails innocent grandmother for months in North Dakota fraud case

https://www.grandforksherald.com/news/north-dakota/ai-error-jails-innocent-grandmother-for-months...
36•rectang•24m ago•12 comments

Source code of Swedish e-govt services from CGI's "E-plattform" has been leaked

https://twitter.com/IntCyberDigest/status/2032171171798565311
1•toss1•25m ago•0 comments

Tiiny Pocket Lab: The First Pocket-Size AI Supercomputer

https://tiiny.ai/
1•squidhunter•26m ago•0 comments

Social Craft AI-How well connected is your LinkedIn Network?

1•nivlewd1•26m ago•0 comments

Repeal the Jones Act of 1920 (2024)

https://thezvi.substack.com/p/repeal-the-jones-act-of-1920
1•Ariarule•28m ago•0 comments

Seeking Victim Information in Steam Malware Investigation

https://www.fbi.gov/how-we-can-help-you/victim-services/seeking-victim-information/seeking-victim...
2•haunter•29m ago•0 comments

Atlas – Self-improving AI trading agents using Karpathy-style autoresearch

https://github.com/chrisworsey55/atlas-gic
1•sebg•30m ago•0 comments

FixMyImage

https://fixmyimage.me
1•devclied•32m ago•1 comments

22 years of Brain Science: CoSyNe tells us about the evolution of Neuroscience

https://groundedneuro.substack.com/p/22-years-of-brain-science-what-cosyne
1•sebg•34m ago•0 comments
Open in hackernews

Ask HN: Help with doing statistics over machine code

2•phafu•10mo 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•10mo 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•10mo 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).