frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Get rid of Siri AI's aggressive writing controls in Mail

https://sixcolors.com/post/2026/11/get-rid-of-siri-ais-aggressive-writing-controls-in-mail/
1•CharlesW•32s ago•0 comments

Bending Spoons buys Mailchimp for $3.68B

https://techcrunch.com/2026/11/20/bending-spoons-buys-mailchimp-for-3-68-billion/
1•jpalomaki•42s ago•0 comments

Anthropic shares tank after IPO as the Nasdaq erases 2026 gains

https://www.nbcnews.com/business/markets/anthropic-shares-markets-selloff-nasdaq-rcna610394
1•lelanthran•1m ago•0 comments

Jim Simons on what he'd trade to solve the Riemann hypothesis (2015) [video]

https://www.youtube.com/watch?v=QNznD9hMEh0
1•philipfweiss•1m ago•0 comments

Chinese attackers used AI agents to find and exploit a university zero-day

https://www.theregister.com/security/2026/11/20/china-attackers-deployed-ai-agents-that-autonomou...
1•waximabbax•2m ago•0 comments

Dutch police says they foiled attempted violence linked to Revolut data leak

https://www.reuters.com/business/finance/dutch-police-says-they-foiled-attempted-violence-linked-...
1•croes•2m ago•0 comments

Can you launch a solo business with AI?

https://blog.bytester.net/posts/launch-solo-business-with-ai/
1•russellendicott•2m ago•1 comments

Show HN: Out of Policy – Break an AI agent's spending guard for $75 USDC

https://play.outbid.sh
1•WZRDOFZO•2m ago•0 comments

Suspicious Minds: Unmonitorable AI Undermines Accountability

https://www.lawfaremedia.org/article/suspicious-minds--unmonitorable-ai-undermines-accountability
1•hn_acker•4m ago•0 comments

The College Kids Who Drove a Duck Across the Americas

https://daily.jstor.org/the-college-kids-who-drove-a-duck-across-the-americas/
1•speckx•4m ago•0 comments

Bigfoot believers get a boost from an unlikely ally: The U.S. Forest Service

https://www.washingtonpost.com/nation/2026/11/20/bigfoot-believers-get-boost-an-unlikely-ally-us-...
1•reaperducer•7m ago•0 comments

Five.sh Archive (64 GB)

https://five.sh/files/
2•o_-_o•9m ago•0 comments

Plazzle – daily pathfinding puzzle game

https://plazzlegame.com
1•argentumsurfer•9m ago•0 comments

The progress and strategies I'm considering for working on NuxiPro

https://center.nuxipro.com/en/blog/design-and-server/
1•sbabas•10m ago•0 comments

Bexos – Lightweight Flask/SQLite retro board for side-project ideas

https://bexos.pythonanywhere.com
1•MirasBeksultan•11m ago•0 comments

How many Phrack 73 articles used AI?

https://dustri.org/b/how-many-phrack-73-articles-used-ai.html
1•speckx•11m ago•0 comments

Building a Software Factory

https://runway.com/news/engineering/building-a-software-factory
1•aurbano•12m ago•0 comments

Starwright – a browser orbital flight game written by AI agents

https://github.com/jsmith0475/Starwright
1•jsmith0475•12m ago•0 comments

Humans Age Faster at 2 Sharp Peaks, Study of the Immune System Shows

https://www.sciencealert.com/humans-age-faster-at-2-sharp-peaks-study-of-the-immune-system-shows
2•randycupertino•14m ago•0 comments

Agentic Ads: How Advertising Changes When AI Agents Do the Shopping

https://alok929699.substack.com/p/agentic-ads-how-advertising-changes
1•gotraven•15m ago•0 comments

First Principles Thinking and a Skill to Use It

https://medium.com/towards-artificial-intelligence/first-principles-thinking-and-a-skill-to-use-i...
1•cadeos•16m ago•0 comments

Open-source harness that makes Claude better for game dev

https://wasdengine.com/
3•j_zhao•16m ago•1 comments

Show HN: AIVory Code – One screen for all your coding agents

https://github.com/aivorynet/aivory-code
2•ppiper•16m ago•0 comments

Toxic Dust Plume Concerns for Army Plans of Iowa Lead Azide Detonation on Monday

https://www.army.mil/article/296926/postponed_lead_azide_detonation
1•Jimmc414•17m ago•2 comments

Zero-dependency local Python utilities for B2B, FinOps and AI

https://www.sideprojectors.com/user/profile/288750
1•kesslerservices•18m ago•0 comments

Ruby2Shell

https://www.aikido.dev/blog/ruby2shell
2•spatten•21m ago•2 comments

Unforced Navier-Stokes Singularity and the Generalized Riemann Hypothesis

https://terrytao.wordpress.com/2026/11/20/unforced-euler-singularity-unforced-navier-stokes-singu...
3•archon1410•23m ago•0 comments

Data Hoarding

https://datahoarding.org/
1•o_-_o•24m ago•0 comments

Show HN: Straum – a Postgres materialized view that is never stale

https://github.com/janbjorge/straum
1•jeeybee•25m ago•0 comments

Visited Links Are Purple

https://dbushell.com/2026/11/16/visited-links/
5•birdculture•28m 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).