frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Selfish AI Model

https://ateliti99.substack.com/p/the-selfish-ai-model
1•olirex99•14s ago•0 comments

GPT 6 is way behind Anthropic on Artifici Alanalysis

https://artificialanalysis.ai/models/gpt-6-astra
1•pranshuchittora•33s ago•0 comments

Jsonquery_GUI – A native Rust/egui desktop tool for streaming jq queries

https://github.com/nujufas/jsonquery_gui
1•nujufas•52s ago•0 comments

AWS STS

1•fotta•3m ago•0 comments

Four major AI models suffer rare overlapping downtime

https://arstechnica.com/ai/2026/09/four-major-ai-models-suffer-rare-overlapping-downtime/
2•SockThief•4m ago•0 comments

New weight loss and diabetes treatment helps burn fat while keeping muscle

https://news.berkeley.edu/2026/08/21/a-promising-new-weight-loss-and-diabetes-treatment-helps-bur...
2•gmays•6m ago•0 comments

Parity Problem

https://en.wikipedia.org/wiki/Parity_problem
1•binyu•7m ago•0 comments

Show HN: We replaced the pelican benchmark with a hippo

https://hippo.ryansailab.com
2•codemax98•7m ago•2 comments

Have we finally found dark matter?

https://www.scientificamerican.com/article/have-we-finally-found-dark-matter/
2•bookofjoe•7m ago•1 comments

Show HN: DrawDB Pro – design database schemas for your team and agents

https://www.drawdb.app/
2•1ilit•8m ago•0 comments

Ask HN: Is there a test for measuring cognitive affects from LLM usage?

1•niwrad•8m ago•0 comments

CERN moves accelerator control computers to Debian

https://www.theregister.com/os-platforms/2026/09/03/cern-moves-thousands-of-accelerator-control-c...
1•joebuckwilliams•9m ago•0 comments

Mullvad migrating to Q9 for encrypted DNS

https://mullvad.net/en/blog/shutting-down-our-public-encrypted-dns-servers-and-sponsoring-quad9-i...
2•matrix8967•10m ago•1 comments

Court Rules Against Citizen Journalists in DMCA Takedown Case–EFF Will Appeal

https://www.eff.org/deeplinks/2026/09/court-rules-against-citizen-journalists-dmca-takedown-case-...
2•hn_acker•11m ago•0 comments

I built an AI development environment that runs and builds software on Android

https://github.com/sedds89/StitchLabtools
1•sedds89•13m ago•0 comments

I used AI to connect with 30 people at a conference

https://galvered.com/blog/ai4-conference/
1•Bootstrapper909•14m ago•0 comments

Both recent GCP outages caused by fiber optic maintenance

2•fastest963•18m ago•0 comments

GitHub dipped 7%, while both AI labs were down

https://claude.ai/public/artifacts/2368658e-60f2-4f51-8883-8d72738ba7ce
4•Topfi•19m ago•1 comments

Watermarks Track AI Generated Content [video]

https://www.youtube.com/watch?v=kVXp6UNVPTo
2•moebrowne•20m ago•0 comments

The $1 Trump Coin

https://www.theguardian.com/us-news/2026/sep/02/trump-one-dollar-coin
2•flyaway123•21m ago•0 comments

GPT-6 Astra: an automated AI Engineer you can hire for <$6 an hour

https://www.latent.space/p/astra
3•swyx•22m ago•0 comments

WebMCP DJ – BananaLabs

https://devpost.com/software/bananalabs-webmcp-dj
1•kushagra525•23m ago•1 comments

Daybreak for Frontline Defenders: $1B to protect essential services

https://openai.com/index/daybreak-for-frontline-defenders
1•kuberwastaken•26m ago•0 comments

A paradigm shift in text selection

https://ishmael.textualize.io/blog/shift-select/
2•willm•28m ago•1 comments

Show HN: Building AI agents client-side JavaScript

1•stephenblum•30m ago•1 comments

Www.whitehouse.gov/Arcade/

https://www.whitehouse.gov/arcade/
4•typeofhuman•35m ago•1 comments

Your CTO Job Description Is a Confession

https://jasmor.substack.com/p/your-cto-job-description-is-a-confession
4•mooreds•35m ago•0 comments

AI Automation for Government Contracting

1•ranveergill•37m ago•0 comments

A new way to store thermal energy (2017)

https://news.mit.edu/2017/new-way-store-thermal-energy-1117
2•Retro_Dev•37m ago•0 comments

Microsoft slashes Xbox Cloud Gaming to just 15h/month for Ultimate subscribers

https://www.theverge.com/news/989166/microsoft-xbox-cloud-gaming-hourly-limits-changes
1•realsarm•38m ago•1 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).