frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: AcruxCore – version and trace the prompts and tools your agents use

https://github.com/AcruxCore/AcruxCore
1•aidotguru•2m ago•0 comments

There are 25% more psychotherapy sessions at 53 minutes than at 52

https://www.trytwofold.com/insights/53-minute-billing-threshold
1•ragswag•2m ago•0 comments

Vampires Biology and Evolution [video]

https://www.youtube.com/watch?v=wEOUaJW05bU
1•adamgordonbell•2m ago•0 comments

Norway to propose temporary ban on AI glasses in some public places

https://www.reuters.com/technology/norway-propose-temporary-ban-ai-glasses-some-public-places-202...
1•jmsflknr•4m ago•0 comments

Intel Xeon 6 SKU List and Value Analysis: Clearwater Forest Runs Wide

https://www.servethehome.com/intel-xeon-6-sku-list-and-value-analysis-clearwater-forest-runs-wide/
1•rbanffy•8m ago•0 comments

Planned Pooling for Knitters

https://yarnsub.com/articles/tools/color-pooling-simulator
1•ardoise•9m ago•0 comments

Memory Snapshots for CPython (Python Language Summit 2026) – Python Insider

https://blog.python.org/2026/09/language-summit-2026-memory-snapshots/
1•rbanffy•10m ago•0 comments

Creation of the Humanoids (1962)

https://www.moviestvnetwork.com/movies/2060
1•fuzzfactor•11m ago•1 comments

Show HN: Reright.it – Human approval for agent-written text

https://reright.it/
1•paulofilip3•11m ago•0 comments

FBI arrests 'Chinese foreign agent' for spying on Taiwan president's son

https://www.aljazeera.com/news/2026/10/5/fbi-arrests-chinese-foreign-agent-for-spying-on-taiwan-p...
1•snarky-comments•13m ago•0 comments

Binance Founder Changpeng Zhao's Life After Prison

https://www.nytimes.com/2026/10/01/business/changpeng-zhao-binance.html
2•7777777phil•13m ago•0 comments

Distributed DataFusion: A library for building distributed query engines in Rust

https://www.datadoghq.com/blog/engineering/distributed-datafusion/
1•gabimtme•13m ago•0 comments

What it took to make sovereign AI self-serve

https://www.union.ai/blog-post/its-now-super-easy-to-start-using-union-ai
1•samhita-alla•15m ago•0 comments

I copied Muse's memory setup for Hermes and experienced significant improvement

https://reddit.com/comments/1wxu98g/
2•thunderbong•17m ago•0 comments

Show HN: Montray – a tray icon for systemd service health

https://github.com/dimonomid/montray
2•dimonomid•17m ago•0 comments

Agent should lose access when the task ends

https://www.drjoshcsimmons.com/writing/your-agent-should-lose-access-when-the-task-ends
1•joshcsimmons•18m ago•0 comments

Automating eval design and hillclimbing with Claude

https://claude.dev/blog/automating-eval-design-and-hillclimbing/
1•codelion•18m ago•0 comments

Internet Watch Foundation reports rise in AI child sexual abuse material

https://www.theguardian.com/technology/2026/oct/05/internet-watch-foundation-huge-rise-ai-child-s...
1•ilreb•19m ago•1 comments

A rebuttal to "What makes Lisp difficult to read?"

http://digikar.online/microblog/p/lisp-syntax-rebuttal/
1•Thom2503•21m ago•0 comments

All hail electrification. But let's talk about the hard part

https://insideclimatenews.org/news/01102026/inside-clean-energy-global-electrification-obstacles/
1•rbanffy•23m ago•0 comments

Apple and a Hacker's Future

https://stratechery.com/2026/apple-and-a-hackers-future/
3•maguay•25m ago•0 comments

Integrating an Orcon ventilation system into Home Assistant

https://elvinhome.io/blog/articles-3/hacking-my-rental-apartment-s-ventilation-to-be-smart-orcon-...
1•Eelviny•25m ago•1 comments

IBM Bob expands to self-hosted environments

https://www.ibm.com/new/announcements/ibm-bob-expands-to-self-hosted-environments-for-sensitive-a...
1•noiv•26m ago•0 comments

How AI-Native Companies Are Rebuilding the Management Function

https://growthwiseteams.substack.com/p/how-ai-native-companies-are-rebuilding
1•Vameyer•27m ago•0 comments

Staying on the path to high performing teams

https://lethain.com/durably-excellent-teams/
1•fagnerbrack•29m ago•0 comments

The Impossible Problem and the Perils of Writing a Physics Engine

https://lotusspring.substack.com/p/the-impossible-problem-and-the-perils
2•tahatorabpour•30m ago•0 comments

Azure showed $21k in startup credits. Claude in Foundry billed our card $17k

https://vegalabs.no/azure-claude-billing.html
3•knutsolini•33m ago•0 comments

Tickler: Reminders that Claude Code writes and resumes

https://github.com/PixiBixi/tickler
1•PixiBixi•36m ago•0 comments

Rust for CPython (Python Language Summit 2026) – Python Insider

https://blog.python.org/2026/09/language-summit-2026-rust-for-cpython/
2•rbanffy•37m ago•0 comments

Quad9 Rejects French Piracy Blocks, Weighs Exit as BeIN Seeks Up to €580K a Day

https://torrentfreak.com/dns-resolver-quad9-rejects-french-piracy-blocks-weighs-exit-as-bein-seek...
2•rzk•38m 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).