frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The State of Enterprise AI

https://openai.com/index/the-state-of-enterprise-ai-2025-report/
1•mfiguiere•3m ago•0 comments

Eylenburg's Tech Website

https://eylenburg.github.io/
1•thunderbong•6m ago•0 comments

ICLR 2026 Response to Security Incident

https://blog.iclr.cc/2025/12/03/iclr-2026-response-to-security-incident/
2•nsoonhui•11m ago•0 comments

Ask HN: How does one build personal network?

2•piratesAndSons•16m ago•1 comments

Architecting Security for Agentic Capabilities in Chrome

https://security.googleblog.com/2025/12/architecting-security-for-agentic.html
1•ShinyNewFeature•17m ago•0 comments

'Circularity' is a flashing warning for the AI boom

https://www.washingtonpost.com/opinions/2025/12/08/ai-boom-investment-circular-dot-com-bubble/
2•richardatlarge•20m ago•1 comments

Blockchain, Stablecoins and Smart Contracts: A Guide for Modern Enterprises

https://lightrains.com/blogs/blockchain-stablecoins-smart-contracts/
1•niksmac•21m ago•0 comments

Resh v0.7 – AI-Native Automation Shell (25/30 Handles Complete)

https://github.com/millertechnologygroup/resh
1•smille69•22m ago•1 comments

Amorce – Universal Trust Protocol for AI Agents

1•trebortgolin•23m ago•0 comments

Open Sourcing the Remix Store

https://remix.run/blog/oss-remix-store
1•doppp•24m ago•0 comments

Linux Foundation Leader: We're Not in an AI Bubble

https://thenewstack.io/linux-foundation-leader-were-not-in-an-ai-bubble/
2•CrankyBear•24m ago•0 comments

San Francisco Sues Ultraprocessed Food Companies

https://www.nytimes.com/2025/12/02/us/san-francisco-ultraprocessed-food-lawsuit.html
2•raybb•25m ago•0 comments

Spectrum ISP SSL/TLS Interception Bug

https://andrewgazelka.notion.site/SSL-Issue-2c46ce90d17f80a9bc30ff3402f7f865
2•sleepingreset•26m ago•0 comments

Techmeme: The news site SV CEOs like

https://techmeme.com/
1•sleepingreset•28m ago•0 comments

How to Use N8n to Sync Google Calendar Automatically

https://www.indiehackers.com/post/how-to-use-n8n-to-sync-google-calendar-automatically-a6BYizPK8i...
1•plakhlani2•29m ago•0 comments

Foundations of Metrology (1981) [pdf]

https://nvlpubs.nist.gov/nistpubs/jres/086/jresv86n3p281_A1b.pdf
1•nill0•30m ago•0 comments

The Future of Fleet – The Fleet Blog

https://blog.jetbrains.com/fleet/2025/12/the-future-of-fleet/
3•ossusermivami•30m ago•0 comments

Prisma ORM Without Rust

https://www.prisma.io/blog/prisma-orm-without-rust-latest-performance-benchmarks
1•justinhj•32m ago•0 comments

The Day We Realized Who Colonizes the Galaxy

2•EGreg•36m ago•0 comments

Show HN: Edit JSON files with comments, read them as clean JSON

https://github.com/skorotkiewicz/jsonc
2•modinfo•38m ago•0 comments

Major N.L. healthcare report contains errors likely generated by AI

https://theindependent.ca/news/lji/major-n-l-healthcare-report-contains-errors-likely-generated-b...
1•toomuchtodo•41m ago•1 comments

RGE-256:A New ARX-Based PRNG with Structured Entropy and Empirical Validation

1•sreid90•42m ago•0 comments

The power of proximity to coworkers [pdf]

https://pallais.scholars.harvard.edu/sites/g/files/omnuum5926/files/2025-11/Power%20of%20Proximit...
7•yodon•50m ago•3 comments

Satellite boom is a 'growing threat' to space telescopes

https://abcnews.go.com/Technology/satellite-boom-growing-threat-space-telescopes-nasa-study/story...
3•gmays•52m ago•0 comments

Australia's teen social media ban has unofficially begun

https://www.abc.net.au/news/2025-12-04/when-is-the-teen-social-media-ban-what-apps-are-banned/106...
4•jacobedawson•54m ago•3 comments

Cooperation and rapport promote interpersonal synchrony

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0333709
1•PaulHoule•1h ago•0 comments

British Transport Police to Trial Live Facial Recognition at Railway Stations

https://www.btp.police.uk/news/btp/news/england/british-transport-police-to-trial-use-of-live-fac...
2•a2fz•1h ago•0 comments

Operation Bluebird Inc files petition to cancel the Twitter trademarks

https://ttabvue.uspto.gov/ttabvue/v?pno=92090266&pty=CAN&eno=1
3•davideg•1h ago•1 comments

Gall's Law: Working complex systems invariably evolve from simple systems

https://principles-wiki.net/principles:gall_s_law
2•kaonwarb•1h ago•0 comments

BRICS Gold-Backed Digital Currency: Reshaping Global Trade in 2025

https://discoveryalert.com.au/brics-gold-backed-digital-currency-initiative-2025/
1•rguiscard•1h ago•0 comments
Open in hackernews

Ask HN: Help with doing statistics over machine code

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