frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

A Social Filesystem

https://overreacted.io/a-social-filesystem/
1•icy•4m ago•0 comments

Show HN: WebTerm – Browser-based terminal emulator

https://www.webterm.app/en
1•DaiAoki•5m ago•0 comments

Built a Skills Database from Lenny's Podcast Episodes

https://sidbharath.com/blog/building-lenny-skills-database/
1•mikasisiki•11m ago•0 comments

Oilwell: Wellness app to help you embrace climate chaos

https://oilwell.app/
1•47282847•14m ago•0 comments

Cutting LLM token Usage by ~80% using REPL driven document analysis

https://yogthos.net/posts/2026-01-16-lattice-mcp.html
2•birdculture•17m ago•0 comments

Indirection

https://en.wikipedia.org/wiki/Indirection
2•tosh•21m ago•0 comments

Therac-25 Providing radiation therapy to cancer patients, Therac-25 malfunctiond

https://ethicsunwrapped.utexas.edu/case-study/therac-25
2•ncb9094•21m ago•0 comments

Hypnosis with Aphantasia

https://aphantasia.com/article/stories/hypnosis-with-aphantasia
2•danhite•23m ago•1 comments

You may just be renting your car even if you have a loan

https://www.washingtonpost.com/business/2026/01/17/7-year-car-loan-affordability-underwater/
2•_tk_•24m ago•0 comments

The Layers of the Web [video]

https://www.youtube.com/watch?v=ll1e8cYx3do
1•DavidPiper•28m ago•0 comments

Demystifying Evals for AI Agents

https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents
1•handfuloflight•28m ago•0 comments

Tribute to Roko's basilisk: How to write gen AI systems

https://lorentz.app/blog-item.html?id=writing-ai-systems-2026
1•baalimago•36m ago•0 comments

Holographik: Typography Inspiration – December 2025

https://medium.com/holographik/typography-inspiration-december-2025-da800922b4c5
2•handfuloflight•37m ago•0 comments

Bigocheck: Empirical complexity analysis for Python (Zero Ops)

https://github.com/adwantg/bigocheck
1•gadwant•38m ago•1 comments

Best approach for generating SVG graphics with LLMs?

2•huly11•44m ago•0 comments

From Code Foundation Models to Agents and Applications

https://arxiv.org/abs/2511.18538
1•tamnd•45m ago•0 comments

The Web's Grain (2015)

https://frankchimero.com/blog/2015/the-webs-grain/
1•tosh•48m ago•0 comments

The Discourse Is a Distributed Denial-of-Service Attack

https://www.joanwestenberg.com/the-discourse-is-a-distributed-denial-of-service-attack/
1•tardibear•50m ago•0 comments

Show HN: Qrystal Uplink – External watchdog for IoT fleets, setup in <5 mins

https://uplink.qrystal.partners/api/auth/polar/webhooks
1•mikayelgr•51m ago•0 comments

Beyond the Machine

https://frankchimero.com/blog/2025/beyond-the-machine/
1•tosh•51m ago•0 comments

New York City is being recreated at 1:1 scale inside Minecraft

https://www.tomshardware.com/video-games/pc-gaming/new-york-city-recreated-at-1-1-scale-inside-mi...
4•NewCzech•53m ago•0 comments

Image-to-text working out of the box

https://github.com/rene-ajm-veerman/nicerApp-WebOS-5.10.z/blob/main/NicerAppWebOS/scripts.mainten...
1•rene-veerman•53m ago•0 comments

Friend's Guide to Agentic Engineering

https://abrown.blog/posts/a-friends-guide-to-agentic-engineering/
2•AWebOfBrown•55m ago•0 comments

Intelsat 708 02-15-1996 [video]

https://www.youtube.com/watch?v=DZTFgZ9zl74
1•schmuckonwheels•56m ago•0 comments

Show HN: LinxMemo – Local-first personal CRM for parents

https://testflight.apple.com/join/9UVTzxtP
2•breezefox•57m ago•1 comments

Work Is No Longer Linear

https://elliotbonneville.com/work-is-not-linear/
1•elliotbnvl•1h ago•0 comments

Implementing Dependent Data and Codata Types with Implicit Arguments (2025)

https://programming-journal.org/2025/10/19/
1•mpweiher•1h ago•0 comments

Trump Says He Won't Be Running for President (2011)

https://www.npr.org/sections/thetwo-way/2011/05/16/136361894/trump-says-he-wont-be-running-for-wh...
2•vednig•1h ago•1 comments

Air traffic control: the IBM 9020

https://computer.rip/2026-01-17-air-traffic-control-9020.html
2•todsacerdoti•1h ago•0 comments

Typesetter – a minimalist, local-first Typst editor

https://codeberg.org/haydn/typesetter
2•Curiositry•1h ago•0 comments
Open in hackernews

Ask HN: Help with doing statistics over machine code

2•phafu•8mo 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•8mo 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•8mo 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).