frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Who defends Siri? I profiled 121 Reddit accounts that blamed my English

https://vania-novikau.me/siri-1940-report/
1•vanadiuz•1m ago•0 comments

640tok/s on Gemma 4 with a megakernel

https://withhopper.com/blog/gemma-tpu-megakernel
1•jashwanthp12•1m ago•0 comments

Fine-tuning Qwen3.5-4B to replace Gemini Flash-Lite in a RAG pipeline

https://duane.sh/a/fine-tuning-qwen-local-minutes
1•duanemb•4m ago•0 comments

The Book Your Tech Boss Doesn't Want You to Read

https://bayareacurrent.com/against-tech-oligarchy/
1•counteroptimize•4m ago•0 comments

GLM-5.3 and the spread of advanced cyber capabilities

https://www.anthropic.com/research/glm-5-3-and-the-spread-of-advanced-cyber-capabilities
4•Philpax•5m ago•0 comments

Codex Cloud VM

https://learn.chatgpt.com/docs/cloud
1•prodigycorp•6m ago•0 comments

We build safety, security, and privacy into dots

https://openai.com/index/how-we-build-safety-security-and-privacy-into-dots/
1•acossta•6m ago•1 comments

Tango: Simple AI's Conversational Awareness Model

https://www.usesimple.ai/blog/tango-voice-ai-end-of-turn-detection
2•catherynl•7m ago•0 comments

A Closed-Loop Architecture for Pan-Cancer Suppression and Rejuvenation Safety

https://substack.com/@jonatangronhaugmoen
1•JonatanMoen•7m ago•0 comments

WSL containers is now generally available

https://blogs.windows.com/windowsdeveloper/2026/09/29/wsl-containers-now-generally-available/
1•fratellobigio•7m ago•0 comments

True Agency Requires Operating Without External Cues

https://civicpivot.blogspot.com/2026/09/the-dokkodo-protocol-musashis-21-rules.html
1•civicpivot•7m ago•0 comments

U.S. Media Freedom: Perceptions Hit New Low

https://news.gallup.com/poll/715025/media-freedom-perceptions-hit-new-low.aspx
1•giuliomagnifico•8m ago•0 comments

Learning How to Forget: Fine-Tuning for Long-Context Sparse Attention

https://arxiv.org/abs/2608.19920
1•theanonymousone•9m ago•0 comments

OpenAI Answers TypeSafe's Jev with a Decision API Built on Luna

https://thenewstack.io/openai-decision-api-luna/
2•yawnxyz•10m ago•0 comments

ChatGPT Pro 500

https://help.openai.com/en/articles/9793128-about-chatgpt-pro-tiers
28•prodigycorp•10m ago•6 comments

Performance Improvements in JDK 27

https://inside.java/2026/09/28/performance-update-jdk27/
1•theanonymousone•10m ago•0 comments

Show HN: Greek and Cypriot Greek TTS that runs faster than real time on CPU

https://huggingface.co/myned-ai/pocket-tts-greek
1•antonios_makro•12m ago•0 comments

The worst problem with Claude and ChatGPT is how we communicate with them

https://caseorganic.substack.com/p/the-worst-problem-with-claude-and
1•SLHamlet•12m ago•0 comments

Infinite Jungle

https://mo.town/jungle/index.html
2•zeroxfe•13m ago•0 comments

GPT-6 UltraFast

https://developers.openai.com/api/docs/guides/ultrafast-mode
3•prodigycorp•13m ago•0 comments

AI Models Fail at Physics: Coding Harnesses Are to Blame

https://juliahub.com/blog/why-the-best-ai-models-fail-at-physics
1•abhimanyuaryan•15m ago•0 comments

Isotropic Superconductivity in Room-Temperature Superconductor LaSc2H24

https://arxiv.org/abs/2601.01398
1•PaulHoule•19m ago•0 comments

New Features. Insight Frequency and Run the Numbers

https://ichingportal.com/blog/run-the-numbers-insight-frequencies
1•richcostello68•20m ago•0 comments

The Next 3x in Inference Won't Come from Faster Kernels

https://twitter.com/usemuna/status/2104978659069264047
1•floathub•21m ago•1 comments

Show HN: A working 3D model of an Enigma machine

https://enigma.design
1•primitivesuave•21m ago•0 comments

Is there a lanscaping tool which can take photos of my garden and make 3D model?

3•Fh_•22m ago•0 comments

What Was Hidden Under Double D Hat?

https://noxluneworld.com/double-d-hat-mystery/
1•makic•22m ago•0 comments

WebMCP: Stop scraping the Web, start calling it [video]

https://www.youtube.com/watch?v=3NDly38DWIE
1•ulrischa•22m ago•0 comments

Show HN: Orderbook – a matching engine in Go, tested against a second one

https://github.com/intrepidkarthi/orderbook
1•intrepidkarthi•23m ago•0 comments

Tcl/Tk 9.1 Released

https://www.tcl-lang.org/software/tcltk/9.1.html
14•dmux•23m 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).