frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The great digital fatigue: How digital burnout is changing social media use

https://blog.incogni.com/digital-fatigue-and-burnout/
1•derbOac•1m ago•0 comments

Content Defined Chunking for Go

https://www.plakar.io/posts/2026-06-14/go-cdc-chunkers-v1.1.0-faster-leaner-and-provably-correct/
1•vcoisne•1m ago•0 comments

Patients reportedly beating cancer with just one tablet a day (2022) [video]

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

The End of Effort: why no one is trying anymore [video]

https://www.youtube.com/watch?v=XZyE1sSNw8E
1•ilreb•4m ago•0 comments

AsyncAPI Supply Chain Compromise via GitHub Actions

https://www.wiz.io/blog/m-red-team-asyncapi-supply-chain-compromise-via-github-actions
1•ramimac•6m ago•0 comments

Tweak self-hosted SearXNG with Kagi domains (2025)

https://old.reddit.com/r/selfhosted/comments/1hs1oxg/appreciation_post_for_searxng/
1•patrickk•7m ago•1 comments

Show HN: Pg-jason-validator fastest JSON schema validation via C Macros

https://github.com/furstenheim/pg-jason-validator
1•furstenheim•7m ago•0 comments

The Marketplace of Ideals (2023)

https://www.dgtlgrove.com/p/the-marketplace-of-ideals
1•kugurerdem•8m ago•0 comments

The disk that never woke up: The Elasticsearch and Qdrant saga

https://www.elastic.co/search-labs/blog/vector-search-benchmark-elasticsearch-qdrant
1•talboren•9m ago•0 comments

Exch: Atomically exchanges paths between two files

https://man7.org/linux/man-pages/man1/exch.1.html
1•BoingBoomTschak•9m ago•0 comments

3D Campus Map

https://rtnf.substack.com/p/missionmap
1•altilunium•9m ago•0 comments

C3 0.8.2 a Modest Improvement

https://c3-lang.org/blog/0_8_2_a_modest_improvement/
1•lerno•11m ago•1 comments

PowerBrowsing

http://davide.eynard.it/malawiki/PowerBrowsing.html
1•navigaid•12m ago•0 comments

Replicant.space: An API-first space exploration game

https://replicant.space/
1•progval•13m ago•0 comments

Enhancing GNU-Pth for m:n threading using Claude and Codex

https://medium.com/@dibyendumajumdar/adding-m-n-threading-to-gnu-pth-using-claude-and-codex-92d57...
1•dibyendu•13m ago•0 comments

"Is AI Making Faculty More Likely to Retire?"

https://karenkelsky.substack.com/p/is-ai-making-faculty-more-likely
1•Michelangelo11•15m ago•0 comments

You only need the frontier model for one single edit

https://stencil.so/blog/prewalk
1•himata4113•17m ago•0 comments

Building an open source chain of trust: new research uncovers key blockers

https://canonical.com/blog/open-source-security-research
1•crashpn•17m ago•0 comments

Why can't you commit a .env file?

1•devmtk•17m ago•0 comments

Bryan Johnson: The world wants me to die

https://xcancel.com/bryan_johnson/status/2076365226354909522
1•fittingopposite•18m ago•0 comments

Thoughts on starting new projects with LLM agents

https://eli.thegreenplace.net/2026/thoughts-on-starting-new-projects-with-llm-agents/
1•signa11•23m ago•0 comments

New EU report details age verification plans and ID requirements

https://commission.europa.eu/document/download/d833504d-5ec3-4fac-945f-38e7d0bd5326_en
3•_____k•24m ago•0 comments

ODT Files Are Structured

https://opensource.com/article/22/8/odt-files
1•ankitg12•25m ago•0 comments

The Scramblepad Hardware and Protocol

https://bikerglen.com/blog/the-scramblepad-hardware-and-protocol/
1•jackwilsdon•26m ago•0 comments

Embracing the suboptimal organization of the human brain

https://www.sciencedirect.com/science/article/pii/S1364661326000926?via%3Dihub
1•paraschopra•28m ago•0 comments

Step by step guide to becoming a Cyber Security Expert in 2026

1•sidharth121•29m ago•0 comments

Traumatic Memories Hide in the Brain, and How to Retrieve Them (2015)

https://news.feinberg.northwestern.edu/2015/08/17/how-traumatic-memories-hide-in-the-brain/
2•nephihaha•32m ago•0 comments

Starship – Critical Path [video]

https://www.youtube.com/watch?v=-a0ecQMq-rM
1•Klaster_1•32m ago•0 comments

Show HN: Because Google health has not desktop mode Fable made my own

https://github.com/not-a-feature/GHealth_Dashboard/
1•not_a_feature•34m ago•0 comments

Tuyaai

https://tuya.ai/
2•elinaaaaaa•39m 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).