frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Jailbroken Fable 5

https://unfiltered.chat/
1•Loyae•2m ago•0 comments

Secretive Wall Street Powerhouse Jane Street Seizes AI Spotlight

https://www.wsj.com/tech/ai/jane-street-ai-wall-street-bdfcc81a
2•bookofjoe•3m ago•1 comments

Forget the World Cup. Culture is becoming more fragmented

https://www.economist.com/briefing/2026/06/11/forget-the-world-cup-culture-is-becoming-more-fragm...
1•paulpauper•4m ago•0 comments

Labor Market Effects of the Tax Cuts and Jobs Act

https://www.sciencedirect.com/science/article/abs/pii/S0927537126000643
2•paulpauper•4m ago•0 comments

AI has won another literary prize

https://twitter.com/nabeelqu/status/2068317401960026219
1•paulpauper•5m ago•0 comments

GreyFox – Free self-hosted AI proxy, token quotas, and local cache

https://github.com/skillful-fox-studio/grey-fox-community
1•SkilfulFox•5m ago•0 comments

Adventures of the Gummi Bears

https://en.wikipedia.org/wiki/Adventures_of_the_Gummi_Bears
1•tosh•7m ago•0 comments

Show HN: CleverCrow: give tokens to your favorite projects

https://clevercrow.io
1•zhubert•9m ago•0 comments

5 Monitors on a Commodore 128 [video]

https://www.youtube.com/watch?v=ul5hC3PY1Yg
2•amichail•10m ago•0 comments

Ask HN: Anyone notice World Cup video feeds look like AI?

1•TZubiri•11m ago•0 comments

Be Realistic. Demand the Impossible

https://syndekit.substack.com/p/be-realistic-demand-the-impossible
1•Tomte•11m ago•0 comments

Show HN: MdFried, the Ultimate Markdown Viewer

https://github.com/benjajaja/mdfried
2•the_gipsy•15m ago•0 comments

Someone Build a OS for Claude Code

https://github.com/mateolafalce/claudios/blob/main/README.md
1•lafalce•16m ago•1 comments

Cross-LIB – WORA for vintage devices

https://www.igdb.com/game_engines/cross-lib
1•goldenxp•16m ago•0 comments

Show HN: A 'boggle-like' daily word game

https://www.categori.app
1•lumpycustard•16m ago•0 comments

Portfolio Covariance Optimization and Market Impact Capacity Engine

https://github.com/dy9gzbph7m-cpu/quant-frontier-capacity-solver
2•cjb6s•20m ago•0 comments

JSON-LD Explained for Personal Websites

https://hawksley.dev/blog/json-ld-explained-for-personal-websites/
3•ethanhawksley•23m ago•0 comments

Peakload Benchmarks for Operating Systems

https://linuxcommunity.io/t/peakload-benchmarks-for-operating-systems/9459
3•ashitlerferad•26m ago•0 comments

Show HN: Gaming is YouTube bigges category and the least criticised we scored it

https://ctrl-watch.xyz/
2•deimos459•32m ago•0 comments

A cheaper and safer agentic AI workflow

https://danuker.go.ro/a-cheaper-and-safer-agentic-ai-workflow.html
2•danuker•35m ago•0 comments

I make good money. Why do I still feel like this?

https://yourbrainonmoney.substack.com/p/i-make-good-money-why-do-i-still
3•momentmaker•36m ago•0 comments

Oasis Ambient – Wi-Fi LED Light Teardown

https://www.ifixit.com/Teardown/Oasis+Ambient+Teardown/221776
2•z3ugma•38m ago•0 comments

Tech pundit Cringely cofounds startup '2Brains Inc' to solve LLM hallucinations

https://slashdot.org/story/26/06/20/0556251/tech-pundit-cringely-co-founds-startup-2brains-inc-to...
2•MilnerRoute•39m ago•0 comments

List of Unusual Deaths

https://www.orangecrumbs.com/l/unusual-deaths
2•octopus143•41m ago•1 comments

Open-source Vulkan driver NVK gains experimental DLSS support

https://www.tomshardware.com/pc-components/gpu-drivers/open-source-nvidia-vulkan-driver-nvk-gains...
2•rndsignals•42m ago•0 comments

How Old Are You in Space?

https://ethanwillingham.com/space-age.html
3•Willingham•43m ago•0 comments

Flic Mic for AI – The Wireless Voice Button

https://mic.flic.io/
3•jamie4224•44m ago•0 comments

The GLP-1 boom is the biggest climate story no one is pricing in

https://fortune.com/2026/06/21/glp1-drugs-climate-food-system-emissions-investment/
4•jtbayly•51m ago•1 comments

Tech Company Finder

https://tech.bingo/
3•thisismytest•52m ago•0 comments

MicroVM sandbox solves one problem well, but not the agent security problem

https://decodebytes.substack.com/p/why-your-microvm-sandbox-solves-a
2•decodebytes•53m 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).