frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

A nonpartisan resource for citizens who want to understand their rights

https://civic-resilience.com/
1•jpeggtulsa•1m ago•0 comments

Agentic Coding Survey

https://report.actiindex.org/January2026/
1•doener•2m ago•0 comments

Idris Elba used his waxwork figure to unlock his iPhone with Face ID [video]

https://www.bbc.com/reel/video/p0mvh600/idris-elba-used-his-waxwork-figure-to-unlock-his-phone
2•reconnecting•3m ago•0 comments

The new forensic science of proving what's real

https://www.scientificamerican.com/article/how-digital-forensics-could-prove-whats-real-in-the-ag...
2•sohkamyung•4m ago•0 comments

Show HN: Infinijest, video feed no login

https://infinijest.com
1•hnthrowawaste•4m ago•0 comments

TBM 401: Solving Problems the Hard Way

https://cutlefish.substack.com/p/tbm-401-solving-problems-the-hard
1•herbertl•5m ago•0 comments

The Sovereign Tech Fund Invests in Scala

https://www.scala-lang.org/blog/2026/01/27/sta-invests-in-scala.html
1•pjmlp•5m ago•0 comments

Show HN: Office vigilante tool that might get you fired (but promotes security)

https://marcusmichaels.com/stay-safe/
4•marcusmichaels•5m ago•0 comments

Always Beware a Declining Superpower

https://www.ft.com/content/014e85ce-b703-4ed8-8183-e6e5d1061974
3•ksec•5m ago•1 comments

Kimurai: AI-First Web Scraping Framework for Ruby

https://github.com/vifreefly/kimuraframework
1•thunderbong•8m ago•0 comments

Open Props: sub-atomic CSS

https://open-props.style/
2•fanf2•9m ago•0 comments

Show HN: Agent Notify – Notifications for AI coding agents

https://github.com/cfngc4594/agent-notify
3•cfngc4594•13m ago•0 comments

Show HN: Autograph.video for Anyone Interested in Motiongraphics

https://www.autograph.video/
1•yomi405•15m ago•0 comments

Aside from That, Mr. Cook, What Did You Think of the Movie?

https://spyglass.org/tim-cook-captured/
4•JumpCrisscross•17m ago•0 comments

"Agentic CI – CI that knows which tests to run (LLM-powered)"

https://github.com/yksanjo/agentic-ci
1•yksanjo•17m ago•1 comments

American horror story: Early issues for TikTok US

https://www.morningbrew.com/stories/2026/01/28/american-horror-story-early-issues-for-tiktok-us
2•mellisacodes•17m ago•0 comments

Rise of the Supergrapes

https://aviewfrommytable.substack.com/p/rise-of-the-supergrapes
1•Khaine•19m ago•0 comments

Turn any image into an emoji mosaic

https://ripolas.org/image-from-emojis/
1•ripolas•20m ago•0 comments

Wdlist: Create and manage a personal list of Wikidata items

https://github.com/altilunium/wdlist
1•altilunium•21m ago•0 comments

If You Tax Them, Will They Leave?

https://www.theatlantic.com/economy/2026/01/california-wealth-tax-billionaire-migration/685779/
6•JumpCrisscross•21m ago•2 comments

Whats the Fuss about Clawdbot

2•mellisacodes•22m ago•0 comments

Ariel OS – a Rust RTOS for IoT Microcontrollers

https://www.cnx-software.com/2026/01/28/ariel-os-a-rust-rtos-for-iot-microcontrollers/
2•pantalaimon•22m ago•0 comments

Show HN: FavBox – local-first bookmark manager extension

https://github.com/dd3v/favbox
1•dm_0010•25m ago•0 comments

As we breach 1.5°C, we must replace temperature limits with clean-energy targets

https://www.nature.com/articles/d41586-026-00246-z
2•DamonHD•28m ago•0 comments

Show HN: I made a list of validated mobile app ideas

https://clonetheapp.vercel.app
1•hasibhaque•29m ago•0 comments

UEFIGame: "Win –> Boot, Lose –> Shutdown"

https://github.com/mycroftsnm/UEFIGame
1•todsacerdoti•29m ago•0 comments

Show HN: Flashy – Path-based reverse proxy for routing multiple services

https://github.com/Vic-Nas/Flashy
1•vicnas•32m ago•1 comments

Show HN: Klynda, a portfolio tracker focused on true performance (TWR/XIRR)

https://klynda.com/
1•daniel_builds•32m ago•0 comments

ICE and Palantir: US agents using health data to hunt illegal immigrants

https://www.bmj.com/content/392/bmj.s168
60•dberhane•33m ago•5 comments

Kimi K2.5 on 2 Mac Studios (<$20K) running at 24 TPS

https://twitter.com/alexocheema/status/2016404573917683754
1•alexandercheema•34m ago•0 comments
Open in hackernews

Ask HN: Help with doing statistics over machine code

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