frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Make small local LLMs reliable agents by moving planning into code

https://github.com/ikaushik817-art/local-ai-tool-engine
1•ikaushik817•25s ago•0 comments

AI Data Centres in Space: A Physicist's Reality Check [video]

https://zurich.techdrive.tv/episodes/ai-data-centres-in-space-a-physicist-s-reality-check-bilge-d...
1•jmiseikis•3m ago•0 comments

Crow.rs – Desktop native Linux server management

https://crow.rs/
1•pelagicAustral•6m ago•0 comments

Comparing Somewhat Homomorphic Encryption Algorithms: BGN, Freeman, BV and GHV

https://sefiks.com/2026/11/22/comparing-somewhat-homomorphic-encryption-algorithms-bgn-freeman-bv...
1•marjancek•7m ago•0 comments

The Tragedy of the Oxide Root of Trust

https://danielmangum.com/posts/tragedy-oxide-rot/
2•hasheddan•7m ago•0 comments

An Electric Screwdriver That Identifies Which Bit You Need

https://www.core77.com/posts/145760/An-Electric-Screwdriver-That-Identifies-Which-Bit-You-Need
1•surprisetalk•12m ago•0 comments

Show HN: BlackArch in Docker with a browser-based desktop for CTFs

https://github.com/ismd/blackarch-docker
1•ismd•13m ago•0 comments

Show HN: Loopback HTTP-to-Stdio MCP Bridge for Computer Use in Gemini for Mac

https://github.com/the-waste-land/gemini-mac-computer-use-bridge
1•liweixin•16m ago•0 comments

Prep for Advent of Code with This

https://systemscheck.dev
1•careyi3•16m ago•0 comments

2D Vortex Dynamics

https://lee-phillips.org/vortex/
1•leephillips•17m ago•0 comments

Show HN: Apex verify – an independent model writes the checks your AI skipped

https://github.com/apex-engine-dev/apex-verify
1•amitspitzer•17m ago•0 comments

CrowdStrike to Acquire Zscaler

https://www.zscaler.com/press/crowdstrike-acquire-zscaler-bringing-network-security-and-zero-trus...
1•ramimac•18m ago•0 comments

Show HN: First Trillion $ per month Startup is here (parody)

https://tusharsrivastava.github.io/infiverse/
1•razieldecarte•18m ago•0 comments

Pop Goes the Bubble – Krugman

https://paulkrugman.substack.com/p/pop-goes-the-bubble
2•jleyank•22m ago•1 comments

Gostudio.ai – AI photo and video studio with 38 one-click tools

https://www.gostudio.ai/
1•gostudio_ai•23m ago•0 comments

AI Riemann Hypothesis proof is true, independent mathematicians confirm

https://www.scientificamerican.com/article/the-ai-riemann-hypothesis-proof-is-almost-certainly-tr...
2•DonAtimator•24m ago•0 comments

Spectral Graph Theory on Attack Graphs

https://presheaf.blogspot.com/2026/11/spectral-graph-theory-on-attack-graphs.html
2•unprovable•25m ago•0 comments

Rules for Staying Productive Long-Term

https://www.scotthyoung.com/blog/2020/04/27/productivity-rules/
1•L0in•25m ago•0 comments

A Tour of Barkdown

https://pratik.deoghare.com/barkdown/posts/tour/
1•pratikdeoghare•27m ago•0 comments

Show HN: Tea Brewing Timer – brew Chinese tea at the right temp and time

https://timer.calmsteep.com/
1•wangjiayun110•27m ago•0 comments

South Korean minister says he is too old to tackle AI exam cheating

https://www.ft.com/content/d97f37d0-588e-488c-b10e-035900367aa4
1•michaelhillaert•27m ago•0 comments

The catch in IBM's offer to relocate its U.S.-based immigrant workers

https://restofworld.org/2026/ibm-consulting-ends-us-visa-green-card-sponsorship/
1•rdmuser•28m ago•0 comments

Azure APIM Compromised

https://anderskristiansen.com/post/2026/apim-legacy-access/
3•kuizu•31m ago•1 comments

Show HN: Markdown reader / editor and PDF annotations, EBooks, Agent Integration

https://blog.etherpk.com/etherpk-can-now-work-as-a-general-purpose-markdown-editor
1•gb2d_hn•32m ago•0 comments

Binding of Isaac developer removes AI music from Repentance Plus

https://www.theverge.com/games/1039770/binding-of-isaac-ai-music
1•Yiyli•32m ago•0 comments

What Makes Incidents Different to Routine Work?

https://www.uptimelabs.io/articles/incidents-vs-routine-work
2•zufallsheld•34m ago•0 comments

Show HN: I built a free XML sitemap checker that finds indexing issues

https://floxolab.com/sitemap-checker
1•floxolab•36m ago•0 comments

Goodbye, World: The End of Programmers

https://www.wired.com/story/goodbye-world-the-end-of-programmers/
2•milali•37m ago•0 comments

Show HN: Pysh – Python shell and REPL in one

https://github.com/float64co/pysh
1•LukeB42•37m ago•0 comments

Furilabs Linux Phone

https://furilabs.com/
2•hochmartinez•37m 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).