frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Pacific's Busy Storm Season

https://science.nasa.gov/earth/earth-observatory/the-pacifics-busy-storm-season/
1•titusblair•58s ago•0 comments

European orbiter detects hints of volcanic activity on Mars

https://www.esa.int/articles/news-media/news/european-orbiter-detects-hints-of-volcanic-activity-...
1•titusblair•1m ago•0 comments

I made a film in Excel [video]

https://vimeo.com/1241981102
1•xnx•1m ago•0 comments

Can you instruct the robot to make a PB&J sandwich?

https://www.sudosandwich.lol/
1•jamesjyu•1m ago•0 comments

TB 26-10 Printed Circuit Board Assembly Chip Resistor Body Cracking

https://www.nasa.gov/centers-and-facilities/nesc/tb-26-10-printed-circuit-board-assembly-chip-res...
1•titusblair•1m ago•0 comments

AI SRE Teammate

https://www.xurrent.com/incident-management-response/ai-sre
1•rohgpt•2m ago•0 comments

Nikke PC game launcher hacked to spread remote access, data-stealing malware

https://www.bleepingcomputer.com/news/security/nikke-pc-game-launcher-hacked-to-spread-remote-acc...
1•nazgulsenpai•2m ago•0 comments

Show HN: Agentshield Zero-leak kernel sandbox and secret defense for AI coding

https://ritualdev.in/agentshield/
1•RitualDev•3m ago•0 comments

Show HN: I made a retro game remix in under 5 minutes, 1 prompt

https://bring-your-own-brain.itch.io/turtz
1•pathmap•3m ago•0 comments

Chip stocks get slaughtered as Wall Street in worst post-midterm day since 1896

https://finance.yahoo.com/markets/article/chip-stocks-get-slaughtered-as-wall-street-heads-for-it...
1•novaRom•4m ago•0 comments

Building the Judgment Layer for Hardware

https://opuslabs.substack.com/p/building-the-judgment-layer-for-hardware
1•opuslabs•5m ago•0 comments

Render Anything Engine

https://github.com/shinyobjectz/raea
1•handfuloflight•6m ago•0 comments

Show HN: Hand Your Markdown Tasks to Claude Code from a Kanban Board

https://blog.etherpk.com/hand-your-markdown-tasks-to-claude-code-from-a-kanban-board
1•gb2d_hn•7m ago•0 comments

Copilot Chat's usage cap and Microsoft would rather u found them by hitting them

https://www.theregister.com/ai-and-ml/2026/11/05/copilot-chat-has-usage-caps-and-microsoft-would-...
1•nephihaha•12m ago•0 comments

A small, fast container runtime for Mac, Windows and Linux. Written in Rust

https://runkiri.com/
1•rmoriz•14m ago•0 comments

Could AI give NFTs a second chance?

https://www.dw.com/en/could-ai-give-nfts-a-second-chance/a-79840593
3•billybuckwheat•14m ago•0 comments

What Do the Next 4k Emoji Look Like?

https://jenniferdaniel.substack.com/p/what-do-the-next-4000-emoji-look
1•lacieargyle•17m ago•0 comments

OpenAI CEO's Codex keyboard gift to Samsung presidents draws attention

https://www.koreatimes.co.kr/business/tech-science/20261101/openai-ceos-codex-keyboard-gift-to-sa...
2•Liuser•17m ago•0 comments

MS Paint Remote Code Execution Vulnerability

https://www.cve.org/CVERecord?id=CVE-2026-83844
4•kuberwastaken•19m ago•1 comments

The Web Is More Than Enough

https://ftrain.com/aboard-the-web-is-more-than-enough
2•speckx•21m ago•0 comments

Porting a "Crappy" Flash Game to the IBM 5150 and Beyond

https://hackaday.com/2026/11/05/porting-a-crappy-flash-game-to-the-ibm-5150-and-beyond/
1•andrewstuart•26m ago•0 comments

Ask HN: Does Anthropic have live people doing model guardrail checks?

2•enjoyyourlife•28m ago•0 comments

California Gov Newsom commutes death sentences for all 548 people on death row

https://www.bbc.com/news/articles/cqrkyyd2j8mvo
14•tosh•28m ago•2 comments

Met Norway Service Disruptions, Revised Terms of Service

https://lists.met.no/pipermail/api-users/2026-November/000081.html
3•franch•28m ago•0 comments

Watchdeck: See what every Claude Code session was stopped from doing

https://github.com/Panda-Taps-LLC/watchdeck
1•pandataps•29m ago•1 comments

Wallet screening your AI agent can call over MCP

https://prax-labs.com/wallet-screening
2•samfayssal•29m ago•0 comments

Z.ai says GLM 5.5 built on 1T web pages

https://twitter.com/bebuu_ai/status/2118052769856888892
2•f1yingbanana•31m ago•0 comments

Feeling Guilty for Over-Sleeping

https://drpedia.pages.dev/feeling-guilty-for-over-sleeping/
11•vish0607•31m ago•0 comments

Web Grounding for the Decisions API

https://www.perplexity.ai/hub/blog/web-grounding-for-the-decisions-api
1•gmays•31m ago•0 comments

A breach casebook: 20 incidents from 2025–26 and the checks that catch them

https://bewithkhan.github.io/bansat/casebook/
1•bewithkhan•31m 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).