frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Would SpaceXAI Acquire Vercel?

https://twitter.com/jessethanley/status/2093298774949146796
1•eyehurtsme•52s ago•0 comments

Pdfboss – fast rust-based pdf library, with Python bindings

https://pdfboss.dev
1•ransomware•2m ago•0 comments

TwitterWebViewer has been permanently discontinued

4•avidruntime•2m ago•0 comments

Claude Max for OSS developer plan of Matz (Ruby) is running out

https://twitter.com/yukihiro_matz/status/2093347403101589618
1•tosh•3m ago•0 comments

Archil Persistent Sandboxes

https://archil.com/post/introducing-persistent-sandboxes
1•dhorthy•5m ago•0 comments

Ask HN: How do we get our US Cellular (T-Mobile?) phone number back? (complex)

1•CoryMO•5m ago•0 comments

Reflexio: Reduce task failure by 36% while saving token by more than 50%

https://www.reflexio.ai
1•yilu331•5m ago•1 comments

Dimethylmercury Poison MIT

https://whdh.com/news/first-on-7-patient-brought-to-mgh-for-exposure-to-chemical-substance-prompt...
2•dukefishron•8m ago•0 comments

What Hanging from a Bar for 30 Seconds Can Do for Your Body

https://time.com/article/2026/08/25/hanging-from-bar-benefits/
2•mooreds•8m ago•0 comments

Build with Muse Image: generate, edit, and compose images on Meta Model API

https://developer.meta.com/ai/resources/blog/build-with-muse-Image/
2•mfiguiere•8m ago•0 comments

Show HN: SplatIt. Self-hosted game servers for Splatoon on Wii U

https://github.com/oxixes/splatit
1•oxixes•8m ago•0 comments

Spotify Backstage Meet LiteLLM for Corporate AI Governance

https://github.com/acarmisc/backstage-plugin-litellm-govai
1•acarmisc•10m ago•0 comments

Sonic Pi

https://sonic-pi.net/
1•Bluestein•11m ago•0 comments

Claude: Free Plan for Scientists

https://claude.com/programs/team-plan-for-scientists
1•tosh•11m ago•0 comments

Accel-SIM 2.0: Validated GPU Simulation with Full Hopper Support

https://github.com/accel-sim/accel-sim-framework
1•matt_d•11m ago•0 comments

France opens door to fighter jet cooperation with Sweden

https://www.politico.eu/article/france-doesnt-rule-out-fighter-jet-cooperation-with-sweden-dassau...
1•madspindel•14m ago•0 comments

A Little Less Software Clutter

https://aradar.top/posts/targz-manager/
2•aradar46•18m ago•0 comments

Vertical Tornado/Waterspout [video]

https://www.youtube.com/watch?v=r9IH8ohS-X4
2•Eridanus2•20m ago•0 comments

CSVLint helps you to check that your CSV file is readable

https://csvlint.io/
2•amai•20m ago•0 comments

Ask HN: AI writes better code than me. How to keep my identity?

4•jdw64•21m ago•2 comments

Show HN: Blast – Open-source sandbox-as-a-service

https://github.com/stanford-mast/blast
2•calebhwin•22m ago•0 comments

Researchers Put Spinach into Bread and Saw the Body's Insulin Response Change

https://www.sciencealert.com/researchers-put-spinach-directly-into-bread-and-saw-the-bodys-insuli...
2•downbad_•22m ago•0 comments

U.K. Supreme Court Opens Door for Spyware Victims to Sue Foreign States

https://www.lawfaremedia.org/article/u.k.-supreme-court-opens-door-for-spyware-victims-to-sue-for...
6•hn_acker•23m ago•0 comments

WAL and S3: Lakebase storage for the era of agents

https://neon.com/blog/wal-s3-lakebase-storage-for-the-era-of-agents
2•kunalsin9h•23m ago•0 comments

PJ Harvey Tuesday #5

https://therumpus.net/2013/11/26/pj-harvey-tuesday-5-this-mess-were-in/
2•jruohonen•24m ago•0 comments

Artwork-TUI – spreadsheet-driven generative art tool in the terminal

https://github.com/andri-berger/artwork-tui
2•barney100•25m ago•0 comments

Brain Doesn't Think in Words

https://news.mit.edu/2026/separating-logic-and-language-0708
3•myelinscience•25m ago•1 comments

Firekeep

https://github.com/kapella-hub/FirekeepHQ
2•kapella•27m ago•0 comments

Origami Projector: a Glitch-like app for site editing

https://jan.miksovsky.com/posts/2026/08-28-origami-projector.html
2•Tomte•27m ago•0 comments

Disturbed loners probably pose an exponentially increasing threat to society

https://stefankelly.substack.com/p/disturbed-loners-probably-pose-an
3•pressentiment•27m 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).