frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Agentic trading on Solana without exposing private keys

https://docs.beluga.financial/guides/agent-advisor/
1•trezm•1m ago•0 comments

Please add the agents tree to Linux-next – Sasha Levin

https://lore.kernel.org/lkml/20261126150925.2347325-2-sashal@kernel.org/
1•doener•1m ago•0 comments

Vera20k – Red Alert 2: Yuri's Revenge Rebuilt in Rust

https://vera20k.org/
1•lnyan•1m ago•0 comments

Immutability – A CI/CD Anthem [video]

https://www.youtube.com/watch?v=I-o5OU0oIeI
1•bartimus•2m ago•1 comments

Customer Experience Pain Points in SaaS (and How to Fix Each)

https://justonecx.substack.com/p/12-customer-experience-pain-points
1•justonecx•2m ago•0 comments

CMake 4.5.1 rewritten in Rust. Beats CMake across all 40 benchmarks

https://github.com/rcmake/rcmake
1•deyvium•2m ago•0 comments

Nah-core: Zero-dependency Python Bitcoin Taproot channel and <10MB verifier

https://github.com/geminibrc9999/nah-core
1•dendehomie•3m ago•0 comments

Rehired by the Machine That Fired You: How AI Boomerangs Work

https://smarterarticles.co.uk/rehired-by-the-machine-that-fired-you-how-ai-boomerangs-work
1•dxs•5m ago•0 comments

Paprika Powers This Village in Serbia

https://www.nytimes.com/interactive/2026/11/28/dining/paprika-pepper-serbia.html
1•mooreds•5m ago•0 comments

Nearly 2B credentials exposed in a publicly accessible database

https://www.expressvpn.com/research/2billion-credentials-exposed
2•basilgohar•5m ago•0 comments

Laserweb: Decoding and Playing 4K UHD Blu-ray Discs in the browser

https://jayd.ml/2026/11/29/laserweb-playing-4k-uhd-in-browser.html
1•jaydenmilne•6m ago•0 comments

TV Detector Van

https://en.wikipedia.org/wiki/TV_detector_van
2•alamortsubite•7m ago•0 comments

Building an Unpopular World

https://www.writingruxandrabio.com/p/building-an-unpopular-world
2•Luc•12m ago•0 comments

Rethinking Neural Thickets Without Weight Perturbations

https://kyutai.org/logit-psv/
2•mooreds•17m ago•0 comments

How 6.2 vs. 6.1 vs. 6 Sol behaves on tasks from my repo

https://www.stet.sh/blog/gpt-6-2-sol-vs-gpt-6-1-sol
1•bisonbear•19m ago•0 comments

Claude can directly insert backdoors in VLMs using weight-space programming

https://arxiv.org/abs/2611.27425
20•hvp1621•19m ago•0 comments

Justin Sun accuses World Liberty Financial of investor fraud calls for delisting

https://cryptobriefing.com/justin-sun-accuses-world-liberty-financial-fraud/
3•ourmandave•20m ago•0 comments

So, I rewrote my game in C3

https://www.madrigalgames.com/blog/so-i-rewrote-my-game-in-c3/
1•birdculture•21m ago•0 comments

Teaching an M4 CPU to Tell Stories with XOR, Popcount and SDOT

https://dnhkng.github.io/posts/m4-tinystories/
2•unitedfirmware•23m ago•0 comments

The Blue Goo Causing Flight School Planes to Lose Power in Midair

https://www.wsj.com/business/airlines/blue-goo-flight-school-plane-crash-c458f272
3•bookofjoe•27m ago•3 comments

If Amateur Radio Was a Neo Geo Video Game

https://ei3lh.eu/2026/11/29/if-amateur-radio-was-a-neo-geo-video-game/
1•austinallegro•27m ago•0 comments

If you want failover to work well, use it often

https://bencane.com/posts/2026-11-25-failover-often/
4•madflojo•28m ago•0 comments

Lausd blocks Google AI features

https://abc7.com/post/lausd-blocks-google-ai-features-tech-giant-threatens-cut-schools-search-acc...
1•lxm•29m ago•0 comments

How Can Rural Clinics Provide Medical Interpreters Without On-Site Interpreters?

https://www.helloglobo.com/blog/how-can-rural-clinics-provide-medical-interpreters-without-on-sit...
1•mooreds•31m ago•0 comments

Show HN: Aegis, a local-first checker for invented citations in manuscripts

https://github.com/sunilgentyala/aegis-integrity
2•sunilgentyala•33m ago•0 comments

Signalkin

1•signalkin•34m ago•0 comments

Tesla sued its ex-Optimus lead. He kept building robot hands [video]

https://www.youtube.com/watch?v=oHVWdP_qSEE
2•nsiradze•35m ago•1 comments

Practical Lessons from Building SEO

2•meenurahul•35m ago•0 comments

Would you reconsider your Tufte CSS sidenotes?

https://kyo.iroiro.party/en/posts/why-not-tufte-css/
2•hn-aarvin•35m ago•0 comments

Coding Agent Token Economics Standard

https://github.com/microsoft/cates
2•gfortaine•35m 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).