frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Hello muy name Is art

https://blog.cloudflare.com/es-es/welcome-to-connectivity-cloud/
1•the-art•3m ago•0 comments

OOBdump: Relocation Oriented Programming: Arbitrary code execution in objdump -g

https://blog.calif.io/p/oobdump-relocation-oriented-programming
1•matt_d•4m ago•0 comments

Flat Datacenter Networks at Scale

https://perspectives.mvdirona.com/2026/06/flat-datacenter-networks-at-scale/
1•tanelpoder•5m ago•0 comments

Show HN: Ollama Dash – autoupdating dashboard for Ollama Models

https://ollamadash.up.railway.app/
1•rcanand2025•9m ago•0 comments

Show HN: fontliberator: Automatic font clean-room reimplementor

https://github.com/robinpie/fontliberator/
2•robinpie•19m ago•0 comments

Show HN: CodexL – All-in-one launcher for Codex

https://github.com/musistudio/CodexL
1•musistudio•23m ago•0 comments

Job: Head of Stonehenge

https://www.english-heritage.org.uk/about/our-people/careers-with-us/job-search/default-job-page/...
5•mooreds•23m ago•0 comments

The hottest job this summer is European ambassador for ranch dressing

https://www.msn.com/en-us/money/companies/the-hottest-job-this-summer-is-european-ambassador-for-...
1•mooreds•24m ago•0 comments

Insider-signal – open-source CLI STOCKS,Congress

https://github.com/karanhumber007-ctrl/insider-signal
1•karansidhu007•24m ago•0 comments

How Costco sells such cheap gas

https://www.cnn.com/2026/05/31/business/costco-cheap-gas
1•mooreds•24m ago•0 comments

An industry is being propped up by math that is insane

https://garymarcus.substack.com/p/an-entire-industry-is-being-propped
3•swolpers•25m ago•1 comments

US Military Personnel in Israel Found Secret Spyware on Their Phones

https://www.ibtimes.co.uk/us-raises-espionage-threat-level-israel-surveillance-allegations-1801334
1•Teever•25m ago•0 comments

StumbleTV: Omegle/ChatRoulette but for accidentally exposed webcams

https://stumbletv.alec.is/c/943df1a2342b6bd5
1•jumploops•27m ago•1 comments

Ask HN: I see AI valuation coming down as soon as next year. What do you think?

1•akmittal•29m ago•0 comments

Crowdsourced AI and= Knostic

https://blog.virustotal.com/2026/06/crowdsourced-ai-knostic.html
1•jruohonen•31m ago•0 comments

Microsoft says it will not pursue security researchers after zero-day backlash

https://therecord.media/microsoft-says-it-will-not-pursue-security-researchers-disclosure
3•nryoo•35m ago•0 comments

Russell Vought is going to destroy American Science

https://elizabethginexi.substack.com/p/summary-of-key-changes-in-ombs-proposed
4•ZunarJ5•36m ago•0 comments

Lego Batman's Commodore 64 BASIC easter egg

https://bsky.app/profile/cabel.panic.com/post/3mnpxqsbwok2i
4•CharlesW•37m ago•0 comments

Community LLM reference – VRAM tables, GPU tier filter, tool-call ratings

https://bmt-llm-reference.vercel.app
1•Grynder•37m ago•0 comments

Trace analysis directly on service dependency graph

https://www.youtube.com/watch?v=PL0TAKTN4Ik
1•vaduga•37m ago•0 comments

Feedback loops for organizing hardware development

https://mechanomy.com/posts/260608_valueLoops/
1•bcon•37m ago•0 comments

How Will Humans Generate Value in a Post-AI Society?

https://demonstrandom.com/essays/posts/human_value_post_ai/
1•demonstrandom•38m ago•0 comments

Ask HN: Where do you like to consume content anymore?

1•selectedambient•41m ago•0 comments

Show HN: Built software to orchestrate AI and human loops

https://github.com/sparckix/cognitive-firm
1•Sparckix•49m ago•0 comments

Show HN: Lead Qualifier – research agent turning a LinkedIn URL into a dossier

https://lead.robowrite.ai/
1•mehdizare•52m ago•0 comments

Trophic memory, deer, and a unique scientific object

https://thoughtforms.life/trophic-memory-deer-and-a-truly-unique-scientific-object/
1•thunderbong•54m ago•0 comments

Tech Influence Watch

https://influence.citationneeded.news
1•archagon•58m ago•0 comments

Malware Insights – Miasma Campaign

https://cookie.engineer/weblog/articles/malware-insights-miasma-campaign.html
1•cookiengineer•1h ago•0 comments

Why Are Birthrates Down? Two New Studies Point to Phones

https://www.nytimes.com/2026/06/08/us/iphone-birthrate-decline-studies.html
2•1vuio0pswjnm7•1h ago•0 comments

Just The Recipe – paste any recipe URL, get just the food

1•jonwardsfull•1h 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).