frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

How do you evaluate a person's ability to use AI?

1•imwoody•48s ago•0 comments

Secure-Massively-Multiplayer-Snake

https://eieio.games/blog/secure-massively-multiplayer-snake/
1•colinprince•1m ago•0 comments

Claude-search – grep, resume your Claude Code session history from the CLI

https://github.com/pi-netizen/claude-search
1•pi-netizen•1m ago•1 comments

Under Secretary of Defense Emil Michael Response to Dario Amodei

https://xcancel.com/uswremichael/status/2027211708201058578?s=12
1•grej•3m ago•1 comments

Green Eggs and HAM (Hierarchical Agent Memory)

https://github.com/kromahlusenii-ops/ham
2•Luseniik•4m ago•1 comments

Energym: Move the World

https://www.aicandy.be/giorgio-1
1•zdw•6m ago•0 comments

Tonka beans are illegal in the US

https://www.bbc.com/future/article/20170620-the-delicious-flavour-with-a-toxic-secret
2•valzevul•7m ago•0 comments

OpenClaw Hype: Analysis of Chatter from the Dark Web (BleepingComputer)

https://www.bleepingcomputer.com/news/security/the-openclaw-hype-analysis-of-chatter-from-open-so...
1•ildar•10m ago•0 comments

Any Website Can Take Full Control of Your OpenClaw Agent (Oasis)

https://www.oasis.security/blog/openclaw-vulnerability
1•ildar•11m ago•0 comments

Show HN: Cecil – open-source memory and identity protocol for AI

https://github.com/johnkf5-ops/cecil-protocol
1•JohnKnopf•14m ago•1 comments

New AirSnitch attack breaks Wi-Fi encryption in homes, offices, and enterprises

https://arstechnica.com/security/2026/02/new-airsnitch-attack-breaks-wi-fi-encryption-in-homes-of...
1•brie22•16m ago•0 comments

Show HN: HeadshotAI – Professional AI headshots in 30 seconds for £4.99

https://headshotai-mvp-jb.netlify.app
1•jackbventures•24m ago•2 comments

China piles pressure on Japan after Takaichi Sanae's triumph

https://www.economist.com/asia/2026/02/26/china-piles-pressure-on-japan-after-takaichi-sanaes-tri...
2•petethomas•29m ago•0 comments

The Cron King

http://thecronking.com/
1•thebuilderjr•34m ago•0 comments

Can LLMs reason about math? The Subtraction Trick Test

https://haversine.substack.com/p/can-llms-reason-about-math-the-subtraction
3•MakeAJiraTicket•35m ago•0 comments

Show HN: Toggl lock‑screen widget for real‑time time tracking

https://apps.apple.com/ca/app/toggl-lockscreen-widget/id6756894639
1•dakoder36•39m ago•0 comments

How Anthropic Teams use Claude Code [pdf]

https://www-cdn.anthropic.com/58284b19e702b49db9302d5b6f135ad8871e7658.pdf
2•carlsborg•40m ago•0 comments

User Interview #3

https://twitter.com/AviSchiffmann/status/2026798365489725742
1•d_silin•40m ago•0 comments

Show HN: CodeLeash: framework for quality agent development, NOT an orchestrator

https://codeleash.dev/
2•cadamsdotcom•42m ago•0 comments

Principia Mathematica, Vol. 1

https://www.gutenberg.org/cache/epub/78050/pg78050-images.html
2•petethomas•42m ago•0 comments

Show HN: VeryBot – Self-hosted AI assistant for work

https://github.com/charlie0077/verybot
1•verybot•43m ago•0 comments

The Hunt for Dark Breakfast – Can we derive breakfasts we have never observed?

https://moultano.wordpress.com/2026/02/22/the-hunt-for-dark-breakfast/
42•moultano•46m ago•15 comments

Hong Kong jailed my dad to stop me speaking out, says activist

https://www.bbc.com/news/articles/cly897pv4j9o
3•tartoran•46m ago•0 comments

Parakeet.cpp – Parakeet ASR inference in pure C++ with Metal GPU acceleration

https://github.com/Frikallo/parakeet.cpp
8•noahkay13•48m ago•1 comments

Preserving the Web Is Not the Problem. Losing It Is

https://www.techdirt.com/2026/02/17/preserving-the-web-is-not-the-problem-losing-it-is/
5•the-mitr•52m ago•0 comments

Frankensqlite a Rust reimplementation of SQLite with concurrent writers

https://frankensqlite.com/
1•rahimnathwani•52m ago•0 comments

Show HN: Selling my painting to fund a Steam Cleaning startup in Libya

https://juicebox.money/v5/base:139
1•Ali_ll•53m ago•1 comments

Flexport Atlas: Browse the world's container shipping network

https://atlas.flexport.com
2•thedogeye•55m ago•0 comments

How Predator iPhone Spyware Can Defeat iOS Orange and Green Recording Indicators

https://www.jamf.com/blog/predator-spyware-ios-recording-indicator-bypass-analysis/
4•transpute•56m ago•0 comments

A Nationwide Book Ban Bill Has Been Introduced in the House of Representatives

https://bookriot.com/hr7661-book-ban-legislation/
32•LostMyLogin•1h ago•3 comments
Open in hackernews

Ask HN: Help with doing statistics over machine code

2•phafu•9mo 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•9mo 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•9mo 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).