frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Om Malik – Silicon Valley Has an Empathy Vacuum (Nov 2016)

https://www.newyorker.com/business/currency/silicon-valley-has-an-empathy-vacuum
1•rmason•2m ago•0 comments

Van Halen test

https://en.wikipedia.org/wiki/Van_Halen_test
2•teleforce•4m ago•0 comments

Show HN: FastPlay, a fast minimal Windows video player built in Rust

https://github.com/CalvinSturm/FastPlay
1•CalvinSturm•6m ago•0 comments

Investors bet on AI again after Micron reports 346% sales jump

https://www.cnn.com/2026/06/25/business/micron-results-ai-stocks-volatility
1•dabinat•8m ago•0 comments

Steve Jobs felt certain Apple would never have existed without making blue boxes

https://macdailynews.com/2024/06/19/steve-jobs-felt-certain-apple-would-never-have-existed-withou...
1•SockThief•10m ago•0 comments

Popular Adblock for YouTube extension contains remote code execution

https://www.island.io/blog/badblocker-11-million-users-one-server-call-away-from-compromise
2•fastest963•17m ago•0 comments

Claude AI's link handling and fix

https://www.FoolQuest.com/
2•Aaron_Agassi•18m ago•0 comments

Show HN: A field recording of the underground. The engineers and producers

https://2inch.fm/
2•shawnzam•19m ago•1 comments

Wall Street Embraces the Dollar as Warsh's Fed Activates Bulls

https://www.bloomberg.com/news/articles/2026-06-25/wall-street-embraces-the-dollar-as-warsh-s-fed...
3•petethomas•20m ago•0 comments

Tropius: Detect AI Tropes in Prose

https://tangled.org/desertthunder.dev/tropius
2•birdculture•23m ago•0 comments

Ask HN: Anyone Here Work for Google? Specifically on the Google SMB Newsletter?

2•VladVladikoff•26m ago•0 comments

Trump administration asks to hold OpenAI's next model

https://www.axios.com/2026/06/25/trump-administration-openai-gpt-model-release
5•dramebaaz•28m ago•0 comments

Show HN: Replyt – Track which Reddit discussions become customers

https://replyt.co
4•hectorguedea•28m ago•0 comments

Ask HN: Norway bans AI in elementary schools

3•mellosty•31m ago•3 comments

This isn't a PPT. Repo speaks

2•hblqzj•35m ago•0 comments

Show HN: Pw-whip, a bridge between PipeWire and WHIP

https://github.com/jech/pw-whip/
2•jech•38m ago•0 comments

Poll

5•krapp•38m ago•2 comments

Deep Dive into IBM's new NanoStack 0.7nm Process Node for Chips – 666 MTr/mm2

https://morethanmoore.substack.com/p/ibms-announces-07nm-process-node
4•IanCutress•39m ago•0 comments

Hollywood-backed nonprofit launches machine-readable AI consent registry

https://rslmedia.org/
2•navs•41m ago•0 comments

The Garbage Collection Handbook: The Art of Automatic Memory Management (2nd Ed)

https://gchandbook.org/
6•teleforce•45m ago•1 comments

AI doesn't take jobs. It takes tasks

https://www.nextgig.rocks/dash/how-ai-changes-jobs
3•poseidon_sg•47m ago•1 comments

How do you tackle a backlog of deferred maintenance you didn't create?

3•zeelex•48m ago•0 comments

Elasto Mania Ported to WebAssembly

https://joshumax.github.io/elma-web/
2•joshumax•51m ago•0 comments

Show HN: HoprLabs – a Python lab for prototyping AI math ideas

https://github.com/TangibleResearch/HoprLabs
3•reboy•53m ago•0 comments

Oracle workforce shrinks by about 21,000 employees amid AI adoption

https://finance.yahoo.com/technology/ai/articles/oracle-workforce-shrinks-13-204431510.html
3•akyuu•57m ago•0 comments

Ford could bring F1-inspired 'skunkworks' EVs to Europe

https://www.autocar.co.uk/car-news/electric-cars/ford-could-bring-f1-inspired-skunkworks-evs-europe
3•breve•57m ago•0 comments

Show HN: DeepSeek Flash inverted the economics of agent products

https://www.rtrvr.ai/blog/code-as-plan-deepseek-flash-text-only-browser-agent
8•arjunchint•59m ago•0 comments

Om Malik

https://en.wikipedia.org/wiki/Om_Malik
2•emot•1h ago•0 comments

California AI Unemployment Tracker

https://capolicylab.org/california-ai-unemployment-tracker/
2•toomuchtodo•1h ago•0 comments

Liveness Proofs in Veil, Part I: The First Step

https://proofsandintuitions.net/2026/06/24/liveness-proofs-in-veil-part-1/
2•matt_d•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).