frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Browser SplitView Master – view up to 16 websites in one Chrome window

https://chromewebstore.google.com/detail/browser-splitview-master/ngkcpcmnmbdchbejbgiegaiagpljkkhj
1•mysticmetal•1m ago•0 comments

Skills vs. MCP tools for AI agents: When to use which

https://blog.logrocket.com/skills-vs-mcp-tools-agent-guide/
1•qikouki•7m ago•0 comments

Community, Censorship, and Why Hope Still Matters: Naomi Kritzer Interview

https://forceandfable.com/2026/04/06/whyhopestillmatters_naomikritzerinterview/
2•bryanrasmussen•8m ago•0 comments

Dyson CameraJet: The only toothbrush with a camera and a jet

https://www.dyson.com/discover/news/latest/introducing-camerajet
1•samaysharma•11m ago•0 comments

Pelliamonds

https://achromath.substack.com/p/pelliamonds
1•vismit2000•16m ago•0 comments

AI safety is designed in the West, and failing users everywhere

https://restofworld.org/2026/ai-safety-bias/
1•thm•19m ago•0 comments

Fungible Memories for Automated Technology Mapping and Retargeting: PLDI'26 Talk [video]

https://www.youtube.com/watch?v=TgqyyV7GqC4
1•matt_d•21m ago•0 comments

Just Bury Your Trash

https://worksinprogress.co/issue/just-bury-your-trash/
3•barry-cotter•26m ago•0 comments

Amazon, Synopsys to cut more than 275 Bay Area tech jobs

https://www.sfchronicle.com/tech/article/amazon-synopsys-tech-layoffs-22413103.php
3•vismit2000•28m ago•0 comments

VRML Virtual Reality Modeling Language (1995)

https://www.w3.org/MarkUp/VRML/
1•sssilver•30m ago•0 comments

New Jersey eases restrictions on residential solar panels

https://gothamist.com/news/a-whole-new-world-new-jersey-eases-restrictions-on-residential-solar-p...
3•geox•35m ago•0 comments

Back to Focus: a macOS app that nudges you when you drift

https://apps.apple.com/us/app/back-to-focus/id6802041602?mt=12
1•suyogedth•36m ago•0 comments

The Emergent Symbolic Structure of Artificial Neural Networks

https://arxiv.org/abs/2608.29530
15•schmuhblaster•40m ago•0 comments

A one-second timer in a closed modem binary was capping my ISP at 14.4k

https://dialup.litenet.tel/research/v34-modem/
1•szeremeta•41m ago•0 comments

"Enshittification" Isn't Real

https://www.a16z.news/p/enshittification-isnt-real
3•kwar13•44m ago•0 comments

M-DISC – DVD/Blu-ray compatible discs that may last up to 1000 years

https://en.wikipedia.org/wiki/M-DISC
2•gurjeet•46m ago•0 comments

Shingles vaccine linked to lower risk of heart attack and stroke, study finds

https://www.theguardian.com/science/2026/aug/26/shingles-vaccine-lower-risk-heart-attack-stroke-s...
3•croes•48m ago•0 comments

Serious Confession to Make

https://substack.com/profile/546269798-taha/note/c-327816410
2•nomoreklueless•51m ago•0 comments

GeoJSON Map Viewer

https://tools.simonwillison.net/geojson
1•vismit2000•54m ago•0 comments

The first signs of dark matter particles may have been spotted

https://www.newscientist.com/article/2587086-the-first-signs-of-dark-matter-particles-may-finally...
2•acjohnson55•55m ago•0 comments

WebFPGA

https://webfpga.io/
17•gurjeet•1h ago•6 comments

Games look real now. We're in the future

https://twitter.com/r00t404t/status/2094871766304751799
4•razodactyl•1h ago•1 comments

Yume – A game launcher for PC and emulators

https://komorebidesigns.dev/
3•DevRen•1h ago•2 comments

FixMonorepo – Fix a monorepo by splitting it into single-file repos

https://github.com/twigg-vc/fixmonorepo
3•andrebianchessi•1h ago•2 comments

mst3k-anything

https://github.com/jgbrwn/mst3k-anything
1•indigodaddy•1h ago•0 comments

How is AWS console so broken?

1•anuptalwalkar•1h ago•1 comments

Testing Grok 4.6's Enhanced Biology Safeguards

https://blog.latch.bio/p/analyzing-grok46-safeguards
2•fourfire•1h ago•0 comments

Shopify's agent-commerce category filter didn't filter on any of 190 stores

https://shelfglance.com/research/ucp-category-filter
1•BruceM2007•1h ago•0 comments

Conduct react interviews with a shared coding workspace

https://www.reactpair.com/
1•vijayst•1h ago•0 comments

Huawei Became China's Nvidia [video]

https://www.youtube.com/watch?v=Jbq4wrZn-DI
1•deterministic•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).