frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Beats, a web-based drum machine

https://beats.lasagna.pizza
1•kinduff•1m ago•0 comments

Don't Lie

https://notes.philippdubach.com/0007
2•7777777phil•3m ago•0 comments

Police Invested Millions in Shadowy Phone-Tracking Software Won't Say How Used

https://www.texasobserver.org/texas-police-invest-tangles-sheriff-surveillance/
3•nobody9999•5m ago•1 comments

Agents Should Write Code, Not JSON

https://blog.sshh.io/p/building-multi-agent-systems-part-c0c
1•sshh12•6m ago•1 comments

The way I run standup meetings (2024)

https://marcgg.com/blog/2024/11/20/standup/
1•BerislavLopac•6m ago•0 comments

I vibecoded my way into the #1 position on the Highload.fun leaderboard

https://josusanmartin.com/blog/2026/01/18/the-game-has-changed-vibecoded-highload.html
1•josu•7m ago•0 comments

Simulating the Ladybug Clock Puzzle

https://austinhenley.com/blog/ladybugclock.html
1•ibobev•8m ago•0 comments

Writing an LLM from scratch, part 31 – the models are now on Hugging Face

https://www.gilesthomas.com/2026/01/llm-from-scratch-31-models-on-hugging-face
1•ibobev•8m ago•0 comments

I created a game engine for Django?

https://en.andros.dev/blog/6e9e4485/i-created-a-game-engine-for-django/
1•ibobev•8m ago•0 comments

ISS SOS: The plan to leave a doomed space station – quickly

https://www.bbc.com/future/article/20260115-how-do-you-evacuate-a-space-station
1•breve•12m ago•0 comments

Switch Join: PostgreSQL that adapts on the fly

https://alenarybakina.substack.com/p/switch-join-postgresql-that-adapts
1•tanelpoder•13m ago•0 comments

The Advanced Matrix Factorization Jungle

https://igorcarron.github.io/welcome-to-the-matrix-factorization-jungle/
1•jjgreen•14m ago•0 comments

Apple parental controls have more holes than Swiss cheese

https://twitter.com/MichaelErmer_/status/2012515535326527740
4•michaelermer•15m ago•0 comments

Thoughts and Observations Regarding Apple Creator Studio

https://daringfireball.net/2026/01/thoughts_and_observations_regarding_apple_creator_studio
3•k2enemy•16m ago•0 comments

Stirling Cycle Machine Analysis

https://ohioopen.library.ohio.edu/opentextbooks/9/
4•akshatjiwan•25m ago•0 comments

The AI Trap That Is Quietly Wiping Out Investors

https://substack.com/inbox/post/184956334
3•rafaepta•27m ago•1 comments

Show HN: Dock – Slack minus the bloat, tax, and 90-day memory loss

https://getdock.io/
2•yadavrh•28m ago•1 comments

The Future of AI Development Isn't a New IDE

https://docs.overcut.ai/blog/the-real-future-of-ai-development
1•yuvalhazaz•32m ago•0 comments

Show HN: HakHok

https://hakhok.replit.app/
1•sharjeel•32m ago•0 comments

The Agentic Software Development Lifecycle

https://docs.overcut.ai/blog/the-agentic-software-development-lifecycle
1•yuvalhazaz•32m ago•0 comments

Show HN: Stop manually syncing rules between Claude, Cursor, and Codex

https://github.com/nanxiaobei/ai-global
1•nanxiaobei•33m ago•0 comments

Which countries are adopting AI the fastest?

https://www.economist.com/graphic-detail/2026/01/12/which-countries-are-adopting-ai-the-fastest
2•gmays•34m ago•1 comments

Boston, NYC, Washington DC Guide

https://lopespm.com/notes/2026/01/18/nyc_boston_dc.html
1•lopespm•35m ago•0 comments

Show HN: VPNBypass – macOS menu bar app to route domains around your VPN

1•geiser•37m ago•0 comments

Bridging Bitchat and MeshCore

https://juraj.bednar.io/en/blog-en/2026/01/18/bridging-bitchat-and-meshcore-resilient-communicati...
1•hyzyla•37m ago•0 comments

psmux: Terminal multiplexer for Windows – tmux alternative

https://github.com/marlocarlo/psmux
1•curioussquirrel•38m ago•0 comments

Childhood Neighbors Influence Occupation Choice [pdf]

https://www.econ.queensu.ca/sites/econ.queensu.ca/files/neighbors_occupations_AHPW_aug1_2025.pdf
4•7777777phil•41m ago•3 comments

Ask HN: Predictions for New GTLDs in 2026?

1•cyode•42m ago•0 comments

An Introduction to Orthic

https://mutsumino.neocities.org/scripts/orthic
1•helterskelter•45m ago•0 comments

Train Journey across the USA [video]

https://www.youtube.com/watch?v=BbGljB4ikTs
1•notmysql_•46m 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).