frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

A memory of Pangea (an early civic network, 1996-1999)

https://github.com/l3nz/pangea-2023/blob/main/Storia_en.md
1•kimi•2m ago•0 comments

A founder community to help you build better, faster

https://founder-nation.com
1•andrewbrowning•2m ago•1 comments

ChatGPT Maps: A new way to discover places

https://chatgpt.com/maps
1•4L3XV33•6m ago•0 comments

Explainer videos and product demos made by your AI agent. Free and open source

https://github.com/vincentsch/explainroo
1•thunderbong•8m ago•0 comments

Jumper – Cute Crab Robot

https://github.com/KingKongRobotics/jumper
1•o4c•8m ago•1 comments

Gemini 4 Argon Fails to Compete with ChatGPT and Claude

1•StizzurpXDD•10m ago•0 comments

Metafilter: 20+ years in, you think you know a site (2021)

https://www.carrietian.com/metafilter/
1•joebig•12m ago•0 comments

Agrimee – Create, sign and track freelance contracts in one place

https://www.agrimee.com
1•Hexs•12m ago•0 comments

The CISA Alert: Security Beyond Solitary Confinement

https://jnior.com/blog/the-cisa-alert-security-beyond-solitary-confinement/
2•bscloutier•13m ago•0 comments

Someone got Doom in an SQL database

https://arstechnica.com/gaming/2026/10/can-it-run-doom-sql-database-edition/
1•Velocifyer•15m ago•0 comments

Recoil Optimizer: Open-source zero-resident Windows latency tuning suite

https://recoil-optimizer.surge.sh
1•rodriginhojr•15m ago•0 comments

Micro Center requires photo ID and signed no-export pledge to buy gaming GPU

https://www.tomshardware.com/pc-components/gpus/micro-center-requires-photo-id-and-signed-no-expo...
2•aillia•15m ago•1 comments

What does it take to make an independent local newsroom work?

https://www.poynter.org/business-work/2026/independent-local-newsrooms-sustainability-business-mo...
2•thm•16m ago•0 comments

Writing Evals for Agentic Systems as a 4 Step Loop

https://sgaud.com/texts/ai-evals
1•SarthakGaud•16m ago•0 comments

Run Claude Code, Codex and Cursor side by side with your team

https://www.tryfridaywork.com
1•arundass•17m ago•0 comments

Paid to peer review: firms are paying researchers to assess manuscripts

https://www.nature.com/articles/d41586-026-02277-y
1•jruohonen•19m ago•0 comments

Software Engineering Is Dead. Long Live Product Engineering

https://newsletter.chainofthought.show/p/software-engineering-is-dead-long
2•cliffclimber•19m ago•0 comments

The Love Letters of Robert Browning and Elizabeth Barrett Browning

https://lithub.com/youve-got-mail-poring-over-the-love-letters-of-robert-browning-and-elizabeth-b...
1•ohjeez•20m ago•0 comments

Will A.I. Still Take Our Jobs?

https://www.newyorker.com/culture/open-questions/will-ai-still-take-our-jobs
1•paulpauper•22m ago•0 comments

The Möbius Strip of Reality and Dream

https://www.amsterdamreview.org/the-moumlbius-strip-of-reality-and-dream.html
1•paulpauper•22m ago•0 comments

Rewarding Failure

https://academic.oup.com/jleo/advance-article/doi/10.1093/jleo/ewag025/8825349?login=false
1•paulpauper•23m ago•0 comments

Mosquitoes Are a Choice

https://worksinprogress.co/issue/mosquitoes-are-a-choice/
1•benbreen•26m ago•0 comments

Claude's Constitution

https://www.anthropic.com/constitution
2•baxtr•27m ago•0 comments

Unruly Folded Sheets

https://literaryreview.co.uk/unruly-folded-sheets
1•Thevet•27m ago•0 comments

Is Russia using AI for disinformation in CAR?

https://www.dw.com/en/anthropic-report-is-russia-using-ai-for-disinformation-in-the-central-afric...
6•devonnull•28m ago•0 comments

Looking Glass Universe: The Real Story Behind What Happened at OpenAI [video]

https://www.youtube.com/watch?v=GUX122i7saE
2•ck2•31m ago•1 comments

Computer software bugs led to F1's Malaysia farce: 'unacceptable'

https://www.nytimes.com/2024/08/03/us/kamala-harris-race-trump.html
2•ericfr4•33m ago•0 comments

Gallery of Processor Cache Effects

https://igoro.com/archive/gallery-of-processor-cache-effects/
2•porridgeraisin•33m ago•0 comments

Observatory Analysis of Close Approaches Helps Public Understanding

https://www.astrophyzix.com/2026/10/04-scout-cad-report.html
3•AsteroidAnalysi•35m ago•0 comments

We Won't Know the Answers to AI's Most Important Questions Until It's Too Late

https://time.com/article/2026/10/03/we-won-t-know-the-answers-to-ai-s-most-important-questions-un...
2•sciurus•37m 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).