frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Holiday Lights Project (2022)

https://wickedsmaht.medium.com/the-holiday-lights-project-5e820f4bb0d6
1•mooreds•1m ago•0 comments

ErdOS 1 Bison Released – An minimal, lightweight Linux distro

https://erd.sh/
1•harrisonerd•1m ago•1 comments

How Codex Happened

https://every.to/p/how-codex-happened
1•mooreds•3m ago•0 comments

Show HN: Arclab, Practice AI-assisted coding interviews

https://arclab.app
1•miyannishar•5m ago•0 comments

Interdependent privacy: why your wedding is a privacy decision for 150 people

https://ziv.live/guides/wedding-photo-sharing-privacy
1•dfhromatka•7m ago•0 comments

Show HN: TV Remote for iPhone – Control LG/Samsung/Android TV over Wi‑Fi

https://tvremote.eltacrew.com/
1•eltacrew•9m ago•0 comments

E-Torque Reverse Engineering

https://transistor-man.com/everything_etorque.html
1•pombo•15m ago•0 comments

Takeaways from Jensen Huang's Interview with the House Foreign Affairs Committee

https://foreignaffairs.house.gov/news/press-releases/top-five-takeaways-from-jensen-huang-s-trans...
6•rdoherty•18m ago•0 comments

Everything you need. Right in the browser

https://jellykit.site/
1•luispa•19m ago•0 comments

Darwin Among the Machines (1863)

https://publish.fid-media.de/server/api/core/bitstreams/e0da505d-200c-43ab-be4b-6604a4df816f/content
1•bauldursdev•20m ago•0 comments

Show HN: Marmalade – open-source AEO / GEO tool

https://github.com/AlexjComeau/marmalade
2•alexjcomeau•21m ago•0 comments

Datadog State of Java Report

https://www.infoq.com/news/2026/12/datadog-java-report-2026/
1•ejboy•23m ago•0 comments

Track, learn, refine, and audit experience level decision policy

https://pypi.org/project/cogniform/
1•amallur•26m ago•0 comments

Lock-Free and Wait-Free Multi-Array Queues [pdf]

https://multiarrayqueue.github.io/Paper_LF_WF_MultiArrayQueues.pdf
1•vitpro2213•27m ago•0 comments

Mathematicians have found a new upper limit to the Ramsey number (2023)

https://www.quantamagazine.org/after-nearly-a-century-a-new-limit-for-patterns-in-graphs-20230502/
1•romania1•27m ago•0 comments

Show HN: HeyAtom turning coding agent into a voice AI Assistant

https://heyatom.ai/
2•mikezx•31m ago•0 comments

Show HN: I automated saying yes to Claude Code

https://yesman.drake.dev/
4•bottd•34m ago•0 comments

Namibia's 'fairy circles' may be explained at last (2017)

https://www.theguardian.com/science/2017/jan/18/the-secret-of-namibias-fairy-circles-may-be-expla...
2•thunderbong•37m ago•0 comments

RSR-Core: A High-Performance Engine for Low-Bit Matrix-Vector Multiplication [pdf]

https://www.vldb.org/pvldb/vol19/p4726-dehghankar.pdf
3•matt_d•38m ago•0 comments

Show HN: Free native Mac apps I built with Claude

https://nosleeplab.com
1•markksantos•42m ago•0 comments

Data groups to simplify multi-tenancy in Amazon Aurora (Preview)

https://aws.amazon.com/about-aws/whats-new/2026/12/amazon-aurora-data-groups/
1•yackrru•44m ago•0 comments

Apple's HomeView Is Backordered into February

https://www.macrumors.com/2026/12/02/apples-homeview-is-backordered-into-february/
1•mgh2•44m ago•0 comments

Show HN: Modern WebKit on OS X 10.9 with support for uBlock Origin

https://github.com/Wowfunhappy/WebKit
1•Wowfunhappy•45m ago•0 comments

Sanders Declares a National Emergency on AI

https://www.sanders.senate.gov/press-releases/prepared-remarks-sanders-declares-a-national-emerge...
13•DeepLogin•50m ago•8 comments

Show HN: RivetCards – Offline iOS/iPadOS FSRS-6 flashcards (.apkg, Pencil)

https://rivetcards.com/
1•manho_dl•51m ago•0 comments

California Sue Kalshi for Running an Illegal Gambling Operation

https://oag.ca.gov/news/press-releases/attorney-general-bonta-files-lawsuit-against-kalshi-operat...
4•DeepLogin•56m ago•0 comments

OpenAI warns employees not to use AI on factoring, discrete log, crypto math

https://twitter.com/theinformation/status/2128164816128745570
4•madars•58m ago•0 comments

Show HN: Akshauhini – Watch your AI agents work and see why they fail

https://github.com/abhineet-pandey/Akshauhini
1•abhineetpsnfry•1h ago•0 comments

Giving Agents Unlimited Compute

https://www.sailresearch.com/blog/sailbox-compute-capacity
1•bobstax•1h ago•0 comments

A rule buried among 3k facts: pushing rules to coding agents vs. search

1•Alien_here•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).