frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

A New Engineering Metric for the AI-Transformation Age

https://www.webwire.com/ViewPressRel.asp?aId=354394
1•alienll•1m ago•0 comments

Show HN: A lie detector game that reads your pulse through your phone camera

https://kouh.me/tells
1•mrkn1•2m ago•0 comments

Show HN: Agent-isolated remote envs with full Docker Compose support

https://github.com/qosha1/remote-compose
1•quinnosha•2m ago•0 comments

I've Banned Query Strings

https://chrismorgan.info/no-query-strings
1•speckx•3m ago•0 comments

Trump releases previously classified UFO files

https://www.reuters.com/world/trump-releases-previously-classified-ufo-files-2026-05-08/
1•afshinmeh•3m ago•0 comments

We've only gone and done it: Changed what you're used to

https://www.theregister.com/site-news/2026/05/06/weve-only-gone-and-done-it-changed-what-youre-us...
1•dijksterhuis•4m ago•0 comments

Teaching Claude Why

https://www.anthropic.com/research/teaching-claude-why
1•pretext•5m ago•0 comments

I've been using Empirical as my memory layer across AI tools

https://empirical.gauzza.com/blog/codex-session-tone-voice-how-i-used-codex-empirical-to-lock-in-...
1•stevendeluth•6m ago•1 comments

Novel macro signals for AI-related job loss?

1•sfmz•6m ago•0 comments

As drought worsens, Western states brace for wildfires, water shortages

https://stateline.org/2026/05/08/as-drought-worsens-western-states-brace-for-wildfires-water-shor...
2•chmaynard•9m ago•0 comments

AI Is Breaking Two Vulnerability Cultures

https://www.jefftk.com/p/ai-is-breaking-two-vulnerability-cultures
1•speckx•9m ago•0 comments

Show HN: Prism – Self-hosted notification gateway (Signal, Telegram, WebPush)

https://github.com/lone-cloud/prism
1•lone-cloud•14m ago•0 comments

New Generation Tri-Digit Character Encoding Table

https://drive.google.com/drive/folders/1H1fs8MckSBomk0s37KN-2atUoUKSoSXY?usp=sharing
3•jackhua18112001•18m ago•1 comments

Meta Is Dying. It's About Time

https://www.nytimes.com/2026/05/08/opinion/meta-facebook-zuckerberg.html
5•flowerlad•18m ago•1 comments

The "Digital Complexity" of Nations

https://github.blog/news-insights/policy-news-and-insights/how-researchers-are-using-github-innov...
1•mlinksva•20m ago•0 comments

Why age assurance laws matter for developers

https://github.blog/news-insights/policy-news-and-insights/why-age-assurance-laws-matter-for-deve...
1•mlinksva•21m ago•0 comments

Rare Look Inside California's Last Nuclear Power Plant

https://www.kqed.org/science/2000835/the-view-inside-californias-last-nuclear-power-plant
1•pseudolus•22m ago•0 comments

Kerncap: Automated Kernel Extraction and Isolation for AMD GPUs

https://arxiv.org/abs/2605.03208
1•matt_d•23m ago•0 comments

Increasing State of Surveillance from All Sides Around the World

https://community.qbix.com/t/increasing-state-of-surveillance-from-all-sides-around-the-world/804
1•EGreg•26m ago•0 comments

Bleeding Llama: Critical Unauthenticated Memory Leak in Ollama

https://www.cyera.com/research/bleeding-llama-critical-unauthenticated-memory-leak-in-ollama
3•nateb2022•26m ago•0 comments

Floppy Days 162 – Interview with Apple Legend, Steve Wozniak

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

One keypress is all it takes to compromise four AI coding tools

https://www.helpnetsecurity.com/2026/05/07/trustfall-ai-coding-cli-vulnerability-research/
3•kgolubic•29m ago•0 comments

The Rise of Emotional Surveillance

https://www.theatlantic.com/culture/2026/05/worker-surveillance-emotion-ai/687029/
1•bookofjoe•29m ago•1 comments

It isn't a happy picture, is it?

https://doomsdaymachines.net/p/it-isnt-a-happy-picture-is-it
1•greedo•30m ago•1 comments

Why data center company IREN bought cloud-native power Mirantis

https://opensourcewatch.beehiiv.com/p/here-s-why-data-center-company-iren-bought-cloud-native-pow...
1•CrankyBear•31m ago•0 comments

Vega

https://github.com/vega/vega
2•tosh•33m ago•0 comments

Reading Is the Closest Thing We Have to Telepathy

https://devz.cl/posts/reading-is-the-closest-thing-we-have-to-telepathy/
2•DanielVZ•35m ago•1 comments

How to learn to code in the age of AI

https://devz.cl/posts/how-to-learn-to-code-in-the-age-of-ai/
1•DanielVZ•36m ago•0 comments

JupyterLab

https://github.com/jupyterlab/jupyterlab
2•tosh•36m ago•0 comments

There Is No 'Hard Problem of Consciousness'

https://www.noemamag.com/there-is-no-hard-problem-of-consciousness/
2•Hooke•37m ago•0 comments
Open in hackernews

Ask HN: Help with doing statistics over machine code

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