frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Organ – Autonomous AI executives that build and operate businesses

https://organ.app/start
1•morbido•40s ago•0 comments

Do you see departments at your company building small apps?

1•patricknegri•6m ago•0 comments

Valve Steam Frame CAD and Electrical Reference

https://gitlab.steamos.cloud/SteamHardware/SteamFrame
1•HelloUsername•7m ago•0 comments

The Moon Mission That's a High-Tech Cave Hunt

https://www.universetoday.com/articles/nasa-selects-gimli-to-search-the-marius-lunar-pit-for-a-po...
1•rbanffy•9m ago•0 comments

AMD EPYC 8005 SKU List and Value Analysis: Mainstream Sorano's Big Stride

https://www.servethehome.com/amd-epyc-8005-sku-list-and-value-analysis-mainstream-soranos-big-str...
2•rbanffy•9m ago•0 comments

(Linus Torvalds) I did what I preach: use LLMs to help make sense of the code

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tag/?h=assoc-array-fixes
4•theanonymousone•10m ago•0 comments

How to Prepare Your Agentic AI System for an EU AI Act Audit with ZizkaDB

https://medium.com/@MirArshadTalpur/how-to-prepare-your-agentic-ai-system-for-an-eu-ai-act-audit-...
1•Arshad-Talpur•12m ago•0 comments

Problems in 22 science fields had solutions hiding in plain sight. AI found them

https://www.science.org/content/article/problems-22-scientific-fields-had-solutions-hiding-plain-...
1•theanonymousone•12m ago•0 comments

RISC-V Bulk Normalization Algorithm

https://fprox.substack.com/p/risc-v-bulk-normalization-algorithm
1•hasheddan•14m ago•0 comments

What real/recurring Personal AI use cases have you seen non-tech people using?

https://discourse.cosign.co/story/what-real-recurring-personal-ai-use-cases-have-you-seen-non-tec...
1•sdrth•16m ago•0 comments

Segor Electronics to close after 48 years [German]

https://www.segor.de/
2•cowlevel•27m ago•1 comments

Coding lessons taught by Boston University students

https://docs.google.com/forms/d/e/1FAIpQLScVOirAamJUMKbtoxD76CMzytoKhCKjkiNnxDymvelrh9GCmA/viewform
1•birdculture•27m ago•0 comments

Earn My Keep: an AI with a month to prove its worth

https://earnmykeep.rendilab.com/
2•cs1996•29m ago•1 comments

Russia behind Britain's Brexit vote, UK prime minister admits for first time

https://kyivindependent.com/russia-behind-britains-brexit-vote-uk-prime-minister-admits-for-first...
5•vrganj•29m ago•0 comments

TypeScript Compiler ported to Haxe(node, cpp, JVM, C# & Python)

https://github.com/dazKind/tsc-haxe
1•dazKind•29m ago•0 comments

QGIS bans AI assisted contributions

https://github.com/qgis/QGIS-Enhancement-Proposals/pull/387
48•bwnkl•29m ago•36 comments

D-Bus Hell

https://dbushell.com/2026/10/11/d-bus-hell/
2•signa11•31m ago•1 comments

Show HN: Tote – Homebrew Without the Beer

https://github.com/tote-dev/tote
1•AbuAssar•33m ago•0 comments

Gearslip – Android Auto replacement without Google

https://github.com/Seb3thehacker/gearslip
2•71bw•34m ago•2 comments

Britain's Burnout Crisis Grows as 55% of Professionals Say They Feel Burnt Out

https://www.ibtimes.co.uk/uk-professionals-workplace-burnout-understaffing-research-1824460
1•robtherobber•34m ago•0 comments

The Pitchforks Are Coming for Us Plutocrats (2014)

https://www.politico.com/magazine/story/2014/06/the-pitchforks-are-coming-for-us-plutocrats-108014/
1•chinathrow•34m ago•0 comments

Git Tips and Git Commit Best Practices

https://gist.github.com/luismts/495d982e8c5b1a0ced4a57cf3d93cf60
1•liberian•35m ago•0 comments

The Vikings who reached the Americas 500 years before Columbus

https://www.bbc.com/culture/article/20261009-how-vikings-beat-columbus-to-america-by-500-years
2•geox•37m ago•0 comments

My All Souls Exam Experience

https://www.reddit.com/r/oxforduni/comments/q0giir/my_all_souls_exam_experience/
1•Anon84•39m ago•0 comments

Intelligence Is Not Sentience

https://aditya.rs/blog/2026/10/12/on-intelligence-and-sentience/
2•aditya_rs•39m ago•1 comments

China's Race Towards 'Infinite' Energy [video]

https://www.youtube.com/watch?v=qcGtWW8uERI
1•thelastgallon•40m ago•0 comments

What's on That Access Port?

https://danielmangum.com/posts/whats-on-that-access-port/
1•hasheddan•40m ago•0 comments

Show HN: I built Airlock, to sandbox your AI agent and know what it's doing

https://airlock.sorrel.systems
2•simonmaddox•42m ago•1 comments

Should You Put Your Books in the Freezer?

https://www.nytimes.com/2026/10/10/books/book-preservation-silverfish.html
1•mitchbob•43m ago•1 comments

Show HN: HTTP server for tool-less front end development

https://github.com/alshdavid/http-server-rs
1•apatheticonion•44m 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).